Skip to contentSkip to conversation

drm/i915: initialize dpio_lock spin lock

PATCH In review Jani Nikula 3 participants 3 messages Aug 31, 2012 – Sep 8, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: initialize dpio_lock spin lock

From: Alexander Shishkin <[email protected]>

This thing is killing lockdep.

[Jani: move the init next to the other spin lock inits]
---
 drivers/gpu/drm/i915/i915_dma.c |    1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/i915_dma.c +1 -0
index 2c09900..8bd7c9a 100644
@@ -1607,6 +1607,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;
Signature · 1 line
1.7.9.5
#2 lore raw
Quoted 11 lines · Ben Widawsky
Quoted 7 lines · On Fri, 31 Aug 2012 15:50:55 +0300 Jani Nikula <[email protected]> wrote:

From: Alexander Shishkin <[email protected]>

This thing is killing lockdep.

[Jani: move the init next to the other spin lock inits]

Oops, I've missed this patch here. Now applied to -fixes, thanks. -Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch