]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make the cmd parser 64bit regs explicit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 6 Nov 2015 19:44:40 +0000 (21:44 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 18 Nov 2015 12:35:20 +0000 (14:35 +0200)
commit495226903e01e720ec82dd8a307cafbc12f30a74
tree771be6dbb4d079013aa9319f5ad734756e00c277
parent52460d1bbf076293f193922888bd531f2ae460c6
drm/i915: Make the cmd parser 64bit regs explicit

Add defines for the upper halves of the registers used by the cmd
parser. Getting rid of the arithmetic with the register offset
will help in making registers type safe.

v2: s/_HI/_UDW/ (Chris)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1446839080-18732-1-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_cmd_parser.c
drivers/gpu/drm/i915/i915_reg.h