diff options
author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2012-08-31 12:50:55 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-09-08 17:04:04 (GMT) |
commit | 99d0b1db6ccd0c0e554398e8a579ff3dd4d119ee (patch) | |
tree | 4ca779aa9f1647f8b43697c9dde1d7c2ae1facbc /drivers/gpu/drm/i915 | |
parent | 28dcc2d60cb570d9f549c329b2f51400553412a1 (diff) | |
download | linux-fsl-qoriq-99d0b1db6ccd0c0e554398e8a579ff3dd4d119ee.tar.xz |
drm/i915: initialize dpio_lock spin lock
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>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |