]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make define for lrc state offset
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Thu, 23 Apr 2020 18:23:52 +0000 (21:23 +0300)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 23 Apr 2020 23:52:14 +0000 (00:52 +0100)
commit32e0d1f4dace7755cb8e41ef7ca083d697b95bbb
tree3506a23d3eb9358dba593fd0b3b479fb8c32e2c0
parente03614da52d8fc6928292b43d02af4ae77abddc1
drm/i915: Make define for lrc state offset

More often than not, we need a byte offset into lrc
register state from the start of the hw state. Make it so.

Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.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/20200423182355.21837-3-mika.kuoppala@linux.intel.com
drivers/gpu/drm/i915/gt/intel_context_sseu.c
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_lrc.h
drivers/gpu/drm/i915/gt/selftest_lrc.c
drivers/gpu/drm/i915/i915_perf.c