drm/i915/perf: reuse intel_lrc ctx regs macro
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 13 Aug 2018 08:02:18 +0000 (09:02 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 31 Aug 2018 15:18:43 +0000 (16:18 +0100)
commit35ab4fd2b98b8ad11d67606dd209e0947e448074
tree39c737a51bd86d0febc9da1f4338707ad71a5578
parent1c71bc565cdbd592f9bca4fbf60111f664899a76
drm/i915/perf: reuse intel_lrc ctx regs macro

Abstract the context image access a bit.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180813080218.28994-3-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_perf.c