[Bug 78114] WARNING: CPU: 1 PID: 1961 at drivers/gpu/drm/i915/intel_sprite.c:58 intel_pipe_update_start

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 30 06:25:49 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78114

--- Comment #2 from Chris Wilson <chris at chris-wilson.co.uk> ---
Could it be as simple as

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 36bdbdfbedb0..160b4b5eb125 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -476,8 +476,11 @@ static int i915_drm_freeze(struct drm_device *dev)
                 * for _thaw.
                 */
                mutex_lock(&dev->mode_config.mutex);
-               list_for_each_entry(crtc, &dev->mode_config.crtc_list, head)
+               list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
+                       mutex_lock(&crtc->mutex);
                        dev_priv->display.crtc_disable(crtc);
+                       mutex_unlock(&crtc->mutex);
+               }
                mutex_unlock(&dev->mode_config.mutex);

                intel_modeset_suspend_hw(dev);

?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140430/be8f3b69/attachment-0001.html>


More information about the intel-gfx-bugs mailing list