]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/tgl: Adjust the location of RING_MI_MODE in the context image
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 26 Oct 2019 08:22:20 +0000 (09:22 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 26 Oct 2019 08:48:34 +0000 (09:48 +0100)
commitac88fbaa55a31970e5985db517a598fcb8bde789
treeae4ed884ed4238bc674349019e75e2f1445bf71f
parent70a0b428eacac74214ba65f01d18e4344caf2b94
drm/i915/tgl: Adjust the location of RING_MI_MODE in the context image

The location of RING_MI_MODE (used to stop the ring across resets) moved
for Tigerlake. Fixup the new location and include a selftest to verify
the location in the default context image.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191026082220.32632-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/selftest_lrc.c