]> 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)
commitb91329379e54812e11a28d02fb3ace0eee0ca891
tree36e31f3a2c44fdeacf75a5b235245124a519dc54
parentd847a0de46bb0185782cd26a01c4125cb3ff8b8f
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