]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Fix live_workarounds to actually do resets
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 30 Nov 2018 09:52:11 +0000 (09:52 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 30 Nov 2018 15:09:16 +0000 (15:09 +0000)
commit82ebc7e42d29eb95ec2109c0d677e0920871ac51
treecb1b24aa3e85acf88530e6e3b6fe15f2e58f6a25
parentbd9371566fa2ff9dad74bc7fed935b26261cf92f
drm/i915/selftests: Fix live_workarounds to actually do resets

The test was missing some magic ingredients to actually trigger the
resets.

In case of the full reset we need the I915_RESET_HANDOFF flag set, and in
case of engine reset we need a busy request.

Thanks to Chris for helping with reset magic.

v2:
 * Grab RPM ref over reset.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20181130095211.23849-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/selftests/intel_workarounds.c