OSDN Git Service

drm/i915/selftests: Provide a mock GPU reset routine
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Sep 2019 21:17:49 +0000 (22:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Sep 2019 22:25:46 +0000 (23:25 +0100)
commit4abc6e7c917b1929d8fad2c2364b270cae5ed4ca
tree4b198ddd8d00fd19fca7e6754f0d8d8e0a84716b
parent4e18ca703f2167d8bcb7f736271744131e3c390b
drm/i915/selftests: Provide a mock GPU reset routine

For those mock tests that may wish to pretend triggering a GPU reset and
processing the cleanup.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190927211749.2181-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_reset.c