drm/i915/selftests: Check that registers are preserved between virtual engines
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Oct 2019 11:02:52 +0000 (12:02 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 10 Oct 2019 12:53:58 +0000 (13:53 +0100)
commit86027e312c36dfe6b614e32f7550d5fe20a6d9e0
tree1578ff461065abe806acc3826320d0a810d105b2
parentbd9bec5b6a09a3a7656f096e3ff0ca6709f89770
drm/i915/selftests: Check that registers are preserved between virtual engines

Make sure that we copy across the registers from one engine to the next,
as we hop around a virtual engine.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191010110252.17289-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c