]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Check that GPR are cleared for new contexts
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Oct 2019 09:07:49 +0000 (10:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Oct 2019 10:10:28 +0000 (11:10 +0100)
commit0ad95cfd155aeb423acf0bfc0755d204b5a73ca0
tree1d0f298da88e6343277ef4ab2ded68ca2005356f
parent19c84d90fd0e3a61212daa91f4b3091fff39c034
drm/i915/selftests: Check that GPR are cleared for new contexts

We want the general purpose registers to be clear in all new contexts so
that we can be confident that no information is leaked from one to the
next.

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/20191014090757.32111-7-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c