]> 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)
commiteff456bf0d57f7d8f35f1a2170c8d17899045a8a
treeae4ed884ed4238bc674349019e75e2f1445bf71f
parentd4276abd1865df0a2d2dfc1267df316d1b063864
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