drm/i915: initialize dpio_lock spin lock
Subsystems (2)
PATCH 1/1 drm/i915: initialize dpio_lock spin lock
From: Alexander Shishkin <[email protected]>
This thing is killing lockdep.
Signed-off-by Alexander Shishkin <[email protected]>
[Jani: move the init next to the other spin lock inits]
Signed-off-by Jani Nikula <[email protected]>
--- drivers/gpu/drm/i915/i915_dma.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/i915/i915_dma.c +1 -0
@@ -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
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.
Signed-off-by Alexander Shishkin <[email protected]>[Jani: move the init next to the other spin lock inits]Signed-off-by Jani Nikula <[email protected]>
Acked-by Ben Widawsky <[email protected]>
Signature · 1 line
Ben Widawsky, Intel Open Source Technology Center
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.
Signed-off-by Alexander Shishkin <[email protected]>[Jani: move the init next to the other spin lock inits]Signed-off-by Jani Nikula <[email protected]>Acked-by Ben Widawsky <[email protected]>
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