]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Provide stub reset functions
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Mar 2019 21:42:33 +0000 (21:42 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 20 Mar 2019 09:01:12 +0000 (09:01 +0000)
commite61c7492167a035dcfa32f06075eabebab2fc2b8
treedb1cc08caadd7c9ce1df7191f4e8ded5215608b1
parentc88cea9e03cb3eeec7f4ff50b7cf9b70abe75a20
drm/i915/selftests: Provide stub reset functions

If a test fails, we quite often mark the device as wedged. Provide the
stub functions so that we can wedge the mock device, and avoid exploding
on test failures.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109981
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190319214233.25498-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/mock_engine.c