All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915: initialize dpio_lock spin lock
@ 2012-08-31 12:50 Jani Nikula
  2012-09-08  6:20 ` Ben Widawsky
  0 siblings, 1 reply; 3+ messages in thread
From: Jani Nikula @ 2012-08-31 12:50 UTC (permalink / raw)
  To: intel-gfx; +Cc: Alexander Shishkin, jani.nikula

From: Alexander Shishkin <alexander.shishkin@linux.intel.com>

This thing is killing lockdep.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
[Jani: move the init next to the other spin lock inits]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
---
 drivers/gpu/drm/i915/i915_dma.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 2c09900..8bd7c9a 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -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;
-- 
1.7.9.5

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

* Re: [PATCH] drm/i915: initialize dpio_lock spin lock
  2012-08-31 12:50 [PATCH] drm/i915: initialize dpio_lock spin lock Jani Nikula
@ 2012-09-08  6:20 ` Ben Widawsky
  2012-09-08 17:04   ` Daniel Vetter
  0 siblings, 1 reply; 3+ messages in thread
From: Ben Widawsky @ 2012-09-08  6:20 UTC (permalink / raw)
  To: Jani Nikula; +Cc: Alexander Shishkin, intel-gfx

On Fri, 31 Aug 2012 15:50:55 +0300
Jani Nikula <jani.nikula@intel.com> wrote:

> From: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> 
> This thing is killing lockdep.
> 
> Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> [Jani: move the init next to the other spin lock inits]
> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Ben Widawsky <ben@bwidawsk.net>

-- 
Ben Widawsky, Intel Open Source Technology Center

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

* Re: [PATCH] drm/i915: initialize dpio_lock spin lock
  2012-09-08  6:20 ` Ben Widawsky
@ 2012-09-08 17:04   ` Daniel Vetter
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Vetter @ 2012-09-08 17:04 UTC (permalink / raw)
  To: Ben Widawsky; +Cc: Jani Nikula, Alexander Shishkin, intel-gfx

On Fri, Sep 07, 2012 at 11:20:44PM -0700, Ben Widawsky wrote:
> On Fri, 31 Aug 2012 15:50:55 +0300
> Jani Nikula <jani.nikula@intel.com> wrote:
> 
> > From: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> > 
> > This thing is killing lockdep.
> > 
> > Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> > [Jani: move the init next to the other spin lock inits]
> > Signed-off-by: Jani Nikula <jani.nikula@intel.com>
> Acked-by: Ben Widawsky <ben@bwidawsk.net>
Oops, I've missed this patch here. Now applied to -fixes, thanks.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

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

end of thread, other threads:[~2012-09-08 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-31 12:50 [PATCH] drm/i915: initialize dpio_lock spin lock Jani Nikula
2012-09-08  6:20 ` Ben Widawsky
2012-09-08 17:04   ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.