diff options
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/i915_dma.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c index 7bfded5e90bb..281faca3e37c 100644 --- a/drivers/gpu/drm/i915/i915_dma.c +++ b/drivers/gpu/drm/i915/i915_dma.c | |||
@@ -1405,7 +1405,9 @@ static int i915_load_modeset_init(struct drm_device *dev, | |||
1405 | return 0; | 1405 | return 0; |
1406 | 1406 | ||
1407 | destroy_ringbuffer: | 1407 | destroy_ringbuffer: |
1408 | mutex_lock(&dev->struct_mutex); | ||
1408 | i915_gem_cleanup_ringbuffer(dev); | 1409 | i915_gem_cleanup_ringbuffer(dev); |
1410 | mutex_unlock(&dev->struct_mutex); | ||
1409 | out: | 1411 | out: |
1410 | return ret; | 1412 | return ret; |
1411 | } | 1413 | } |