提交 67c96400 编写于 作者: D Daniel Vetter 提交者: Dave Airlie

drm/i915: fixup per-crtc locking in intel_release_load_detect_pipe

One of the early return cases missed the mutex unlocking. Hilarity
ensued.

This regression has been introduced in

commit 7b24056b
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Dec 12 00:35:33 2012 +0100

    drm: don't hold crtc mutexes for connector ->detect callbacks

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59750Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: NCancan Feng <cancan.feng@intel.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 735dc0d1
...@@ -6513,6 +6513,7 @@ void intel_release_load_detect_pipe(struct drm_connector *connector, ...@@ -6513,6 +6513,7 @@ void intel_release_load_detect_pipe(struct drm_connector *connector,
drm_framebuffer_unreference(old->release_fb); drm_framebuffer_unreference(old->release_fb);
} }
mutex_unlock(&crtc->mutex);
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册