[Intel-gfx] [PATCH] drm/i915: Do not unlock upon error in i915_gem_idle()

Daniel Vetter daniel at ffwll.ch
Sat Sep 21 00:40:19 CEST 2013


On Fri, Sep 13, 2013 at 11:57:04PM +0100, Chris Wilson wrote:
> We never took the lock ourselves and all callers expect the struct_mutex
> to be locked upon return (be it success or error), thereore dropping the
> lock along the error paths looks to be a vestigial error from
> 
> commit db1b76ca6a79c774074ae87bee7afc0825a478f5
> Author: Daniel Vetter <daniel.vetter at ffwll.ch>
> Date:   Tue Jul 9 16:51:37 2013 +0200
> 
>     drm/i915: don't frob mm.suspended when not using ums
> 
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list