]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commitb4892e44043235368dfc714f4a6530f6793802b0
tree3506a23d3eb9358dba593fd0b3b479fb8c32e2c0
parentf1cc6acf22dd7b2a3548fa5dd9537b90a44668b5
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