]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Check known register values within the context
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Oct 2019 09:07:48 +0000 (10:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Oct 2019 10:10:18 +0000 (11:10 +0100)
commit19c84d90fd0e3a61212daa91f4b3091fff39c034
treeede788324ec201794a79da4d12326db56fa2c65a
parent2228e2dd8d80ed1878722a9128c24eebe1befed2
drm/i915/selftests: Check known register values within the context

Check the logical ring context by asserting that the registers hold
expected start during execution. (It's a bit chicken-and-egg for how
could we manage to execute our request if the registers were not being
updated. Still, it's nice to verify that the HW is working as expected.)

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