aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/i915_drv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index d9e06e751523..c83c83b74bf4 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -532,8 +532,11 @@ static int i915_drm_freeze(struct drm_device *dev)
532 * for _thaw. 532 * for _thaw.
533 */ 533 */
534 mutex_lock(&dev->mode_config.mutex); 534 mutex_lock(&dev->mode_config.mutex);
535 for_each_crtc(dev, crtc) 535 for_each_crtc(dev, crtc) {
536 mutex_lock(&crtc->mutex);
536 dev_priv->display.crtc_disable(crtc); 537 dev_priv->display.crtc_disable(crtc);
538 mutex_unlock(&crtc->mutex);
539 }
537 mutex_unlock(&dev->mode_config.mutex); 540 mutex_unlock(&dev->mode_config.mutex);
538 541
539 intel_modeset_suspend_hw(dev); 542 intel_modeset_suspend_hw(dev);