[Intel-gfx] [PATCH 1/2] drm/i915: Redefine ptr_pack_bits() and friends
Joonas Lahtinen
joonas.lahtinen at linux.intel.com
Mon Apr 3 08:49:16 UTC 2017
On pe, 2017-03-31 at 15:10 +0100, Chris Wilson wrote:
> Rebrand the current (pointer | bits) pack/unpack utility macros as
> explicit bit twiddling for PAGE_SIZE so that we can use the more
> flexible underlying macros for different bits.
>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Pass by pointer when the values get written to. Also, I'm rather unsure
how intuitive ptr_unpack_bits is, could be worth splitting to two
lines.
Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
Regards, Joonas
--
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
More information about the Intel-gfx
mailing list