Commit e411072
drm/i915: drop the struct_mutex when wedged or trying to reset
We grab the struct_mutex in intel_crtc_page_flip, but if we are wedged
or a reset is in progress we bail early but never seem to actually
release the lock.
Fixes: 7f1847e ("drm/i915: Simplify checking of GPU reset_counter in display pageflips")
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20161128103648.9235-1-matthew.auld@intel.com
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: <stable@vger.kernel.org> # v4.7+
(cherry picked from commit ddbb271)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>1 parent 2420489 commit e411072
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12260 | 12260 | | |
12261 | 12261 | | |
12262 | 12262 | | |
12263 | | - | |
| 12263 | + | |
12264 | 12264 | | |
12265 | 12265 | | |
12266 | 12266 | | |
| |||
12352 | 12352 | | |
12353 | 12353 | | |
12354 | 12354 | | |
| 12355 | + | |
12355 | 12356 | | |
12356 | 12357 | | |
12357 | 12358 | | |
| |||
0 commit comments