From: Ben Widawsky <ben@bwidawsk.net>
To: Egbert Eich <eich@freedesktop.org>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: i915 fails to build on 32bit Systems
Date: Wed, 13 Mar 2013 11:42:49 -0700 [thread overview]
Message-ID: <20130313184248.GB21987@bwidawsk.net> (raw)
In-Reply-To: <20130313183342.GA7484@debian>
On Wed, Mar 13, 2013 at 07:33:42PM +0100, Egbert Eich wrote:
> i915.ko does not build due to the following function in i915_debugfs.c:
>
> i915_min_freq_set(void *data, u64 val)
> {
> ...
> dev_priv->rps.min_delay = val / GT_FREQUENCY_MULTIPLIER;
> ...
> }
>
> Doing a 64bit integer division on 32bit requires a
> compiler run time library to be linked in, otherwise
> the symbol __udivdi3 will be missing.
>
> This was introduced with
>
> commit 2389cc5006861a8e024a23cb73605f2ab6a5afe8
> Author: Kees Cook <keescook@chromium.org>
> Date: Sun Mar 10 14:10:06 2013 -0700
>
> drm/i915: use simple attribute in debugfs routines
>
> before this val was a simple int.
>
> Cheers,
> Egbert.
We (Daniel) knows about this already... My question is, isn't this
already doable in sysfs. Can't we just kill the debugfs version now?
--
Ben Widawsky, Intel Open Source Technology Center
prev parent reply other threads:[~2013-03-13 18:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-13 18:33 i915 fails to build on 32bit Systems Egbert Eich
2013-03-13 18:42 ` Ben Widawsky [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130313184248.GB21987@bwidawsk.net \
--to=ben@bwidawsk.net \
--cc=eich@freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.