drm/i915: enumerate scratch fields
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 9 Jul 2019 12:33:43 +0000 (15:33 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 9 Jul 2019 20:26:40 +0000 (21:26 +0100)
commit46c5847e3d97f5afced32f7474e7daea819da7c9
tree6e3ae61c2a9bc5789bf22d6e756044873da48f2b
parenta5af1df716c123a09341351008fc497bea137b77
drm/i915: enumerate scratch fields

We have a bunch of offsets in the scratch buffer. As we're about to
add some more, let's group all of the offsets in a common location.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190709123351.5645-6-lionel.g.landwerlin@intel.com
drivers/gpu/drm/i915/gt/intel_gt.h
drivers/gpu/drm/i915/gt/intel_gt_types.h
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_ringbuffer.c