[Intel-gfx] [PATCH] drm/i915: rc6 residency (fix the fix)
chris at chris-wilson.co.uk
Fri Apr 20 21:24:04 CEST 2012
On Fri, 20 Apr 2012 11:50:01 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> Chris' fix for my 32b breakage was incorrect. do_div returns a
> remainder. Go back to a divide macro which is more 32b friendly.
> Tested on x86-64.
> This has only been compile tested on 32b systems.
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48756
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
Sincere-apologies: Chris Wilson <chris at chris-wilson.co.uk>
Had I looked for the equivalent 64bit DIV_ROUND_UP, I could have saved
myself some embarrassment.
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx