]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Teach hang-self to target only itself
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 7 Jun 2020 22:20:43 +0000 (23:20 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 10 Jun 2020 14:53:52 +0000 (15:53 +0100)
commit2307114218778731f861f4cee7b43051b30ae4e7
tree36e31f3a2c44fdeacf75a5b235245124a519dc54
parent2b1a5a3a1b0d710c77690780af93074fd1041c79
drm/i915/selftests: Teach hang-self to target only itself

We have a test case to exercise resetting an engine while the other
engines are busy, all the TEST_SELF adds on top is that the target
engine also has background activity. In this case it is useful to first
test resetting the engine while there is background activity, as a
separate flag from exercising all others.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200607222108.14401-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_hangcheck.c