]> 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)
commite993faf32b46d89cc61cfd571a4b73601ed41e80
treea0994719fb14ac9aa592b2a736dee0ff2cd1b27d
parentf879ea8f26832a305d713596df9a4b912cb25134
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