[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
Mon May 19 01:56:46 PDT 2014


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

Daniel Vetter <daniel at ffwll.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|daniel at ffwll.ch             |chris at chris-wilson.co.uk

--- Comment #4 from Daniel Vetter <daniel at ffwll.ch> ---
(In reply to comment #2)
> 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);
> 
> ?

Has my review, definitely. Please submit to intel-gfx.

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


More information about the intel-gfx-bugs mailing list