]> 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)
commit9506c23dfaf5980ab1eb33e26968bcf9b2269bb5
tree1d0f298da88e6343277ef4ab2ded68ca2005356f
parent9c27462c896d4852ece6086338e52777a3cb110e
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