]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Trim struct_mutex duration for set-wedged selftest
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Jan 2019 13:22:29 +0000 (13:22 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 Jan 2019 14:27:29 +0000 (14:27 +0000)
commitd6d2bb6b3a5a226fd1ba301a00de8ebf8b2966c5
treea0994719fb14ac9aa592b2a736dee0ff2cd1b27d
parent7fe69b86c5d0f2dba8faac36effba5abf95c4291
drm/i915/selftests: Trim struct_mutex duration for set-wedged selftest

Trim the struct_mutex hold and exclude the call to i915_gem_set_wedged()
as a reminder that it must be callable without struct_mutex held.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190125132230.22221-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/intel_hangcheck.c