OSDN Git Service

drm/i915/selftests: Check recovery from corrupted LRC
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 27 Feb 2020 08:57:16 +0000 (08:57 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 28 Feb 2020 13:04:14 +0000 (13:04 +0000)
commit24eba7a9981d8ae5321d250a939eac2b0cdf614d
treeda69dd56a6d52b9044753f692774e232c407e378
parentefb69b9832b5f0753aba31201a997d05f77696b6
drm/i915/selftests: Check recovery from corrupted LRC

Check that we can recover if the LRC is totally corrupted. Based on a
very simple theory that anything that can be adjusted via the context
(i.e. on behalf of the user), should be under the purview of the
per-engine-reset.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200227085723.1961649-13-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/selftest_lrc.c