OSDN Git Service

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)
commit174b976d56a8b57983bad43b798a56e7883c276f
tree36e31f3a2c44fdeacf75a5b235245124a519dc54
parente36ba817fa966f81fb1c8d16f3721b5a644b2fa9
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