]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: Redefine ptr_pack_bits() and friends
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 May 2017 12:09:59 +0000 (13:09 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 17 May 2017 12:38:04 +0000 (13:38 +0100)
commit0ce81788080570e28efb43a4036976854e0edca8
tree8d5a3959bb07ba3e6dd73dffe20d5038b34cf8f6
parent991bfc64db096cb924d5d216a9cb469590f00428
drm/i915: Redefine ptr_pack_bits() and friends

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@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170517121007.27224-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_cmd_parser.c
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_utils.h