]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitd315d4faf82092df6fe82f456fd26dc8b247b627
treedb1cc08caadd7c9ce1df7191f4e8ded5215608b1
parent1284ec985572232ace4817476baeb2d82b60be7a
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