drm/i915: don't leak struct_mutex lock on ppgtt init failures
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 2 Apr 2012 21:33:03 +0000 (23:33 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Apr 2012 08:25:33 +0000 (10:25 +0200)
commite02f14cd48a5da0ebaecf88c93dbd54a81e0dead
tree9a5af6d70c2a8e9c499f73f42ca3b6e548715190
parent650dc07ec3b0eba8ff21da706d2b1876ada59fc3
drm/i915: don't leak struct_mutex lock on ppgtt init failures

Reported-by: Konstantin Belousov <kostikbel@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c