diff options
author | Matthew Auld <[email protected]> | 2016-11-28 10:36:48 +0000 |
---|---|---|
committer | Jani Nikula <[email protected]> | 2016-12-20 16:27:20 +0200 |
commit | 35f6c2336b1a5007ec837623f771d2d56dfba5c2 (patch) | |
tree | d2d9e1a557d628aa1dbdb1ec504b3c1d860a36d5 /tools/perf/util/trace-event-scripting.c | |
parent | 7a9e10253e9e52451bbe80ddb2874368dbd240a3 (diff) |
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: 7f1847ebf48b ("drm/i915: Simplify checking of GPU reset_counter in display pageflips")
Cc: Chris Wilson <[email protected]>
Signed-off-by: Matthew Auld <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Joonas Lahtinen <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Cc: <[email protected]> # v4.7+
(cherry picked from commit ddbb271aea87fc6004d3c8bcdb0710e980c7ec85)
Signed-off-by: Jani Nikula <[email protected]>
(cherry picked from commit e411072d5740a49cdc9d0713798c30440757e451)
Signed-off-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions