From: Alexander Shishkin Date: Fri, 31 Aug 2012 12:50:55 +0000 (+0300) Subject: drm/i915: initialize dpio_lock spin lock X-Git-Tag: v3.6-rc6~14^2~5^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99d0b1db6ccd0c0e554398e8a579ff3dd4d119ee;p=profile%2Fcommon%2Fkernel-common.git drm/i915: initialize dpio_lock spin lock This thing is killing lockdep. Signed-off-by: Alexander Shishkin [Jani: move the init next to the other spin lock inits] Signed-off-by: Jani Nikula Acked-by: Ben Widawsky Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 9cf7dfe..914c0df 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c @@ -1587,6 +1587,7 @@ int i915_driver_load(struct drm_device *dev, unsigned long flags) spin_lock_init(&dev_priv->irq_lock); spin_lock_init(&dev_priv->error_lock); spin_lock_init(&dev_priv->rps_lock); + spin_lock_init(&dev_priv->dpio_lock); if (IS_IVYBRIDGE(dev) || IS_HASWELL(dev)) dev_priv->num_pipe = 3;