]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Do not unlock upon error in i915_gem_idle()
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 Sep 2013 22:57:04 +0000 (23:57 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:03 +0000 (07:45 +0200)
commit3b66e6d6d2b6562a3e3d9166b8e41c1e7648c55a
tree585e4038881f7b85f3d8304808db6b5bfcbacaac
parent75bbdf73563e7319fedb3174502e4c621a7b4747
drm/i915: Do not unlock upon error in i915_gem_idle()

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 8f6b5cb733a7dc6fdd9262bf620fbf6303bcb488
Author: Daniel Vetter <daniel.vetter@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@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c