[Intel-gfx] [PATCH v2 17/29] drm/i915: Make the high dword offset more explicit in i915_reg_read_ioctl
Chris Wilson
chris at chris-wilson.co.uk
Wed Nov 18 04:30:55 PST 2015
On Fri, Nov 06, 2015 at 09:43:41PM +0200, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Store the upper dword of the register offset in the whitelist as well.
> This would allow it to read register where the two halves aren't sitting
> right next to each other, and it'll make it easier to make register
> access type safe.
>
> While at it change the register offsets to u32 from u64. Our register
> space isn't quite that big, yet :)
>
> v2: Use ldw/udw as the suffixes, and add a note about
> 64bit wide split regs (Chris)
>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list