Message ID | 1346417455-23856-1-git-send-email-jani.nikula@intel.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
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>
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
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;