drm/i915/selftests: Verify LRC isolation
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 27 Feb 2020 08:57:15 +0000 (08:57 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Feb 2020 13:01:14 +0000 (13:01 +0000)
commitefb69b9832b5f0753aba31201a997d05f77696b6
treeb6129061a28bbf728cd673f5843bfa70c0fca12a
parentad2f9bc9bc810d10b2e9f49edf4a0e2472be7255
drm/i915/selftests: Verify LRC isolation

Record the LRC registers before/after a preemption event to ensure that
the first context sees nothing from the second client; at least in the
normal per-context register state.

References: https://gitlab.freedesktop.org/drm/intel/issues/1233
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200227085723.1961649-12-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c