]> 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)
commita7b0dbfaf1702c1584822503b533d740fb93d356
tree1d0f298da88e6343277ef4ab2ded68ca2005356f
parent0c7d2639ccad82326c33f8b66d404292e22f006a
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