mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.6.34, patch] i915: fix lock imbalance on error path...
@ 2010-05-17 13:23 Daniel J Blueman
  2010-05-26 20:50 ` Eric Anholt
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Blueman @ 2010-05-17 13:23 UTC (permalink / raw)
  To: dri-devel, linux-kernel, intel-gfx; +Cc: Dave Airlie

While investigating Intel i5 Arrandale GPU lockups with -rc4, I
noticed a lock imbalance.

Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>

diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index cc03537..f5fee1b 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -341,6 +341,7 @@ int i965_reset(struct drm_device *dev, u8 flags)
 		}
 	} else {
 		DRM_ERROR("Error occurred. Don't know how to reset this chip.\n");
+		mutex_unlock(&dev->struct_mutex);
 		return -ENODEV;
 	}

-- 
Daniel J Blueman

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-26 20:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-17 13:23 [2.6.34, patch] i915: fix lock imbalance on error path Daniel J Blueman
2010-05-26 20:50 ` Eric Anholt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®