summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_dp.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-08-31 17:37:33 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-09-06 08:21:31 +0200
commitb980514c9adf403e3f43ead08196f5ce0e61fd05 (patch)
treee79ad30daa62b94644390c9027677b10ed1e6ed3 /drivers/gpu/drm/i915/intel_dp.c
parent8af6cf88a5ad7fa41d4eb700cc97f01d0bcd2a69 (diff)
downloadlwn-b980514c9adf403e3f43ead08196f5ce0e61fd05.tar.gz
lwn-b980514c9adf403e3f43ead08196f5ce0e61fd05.zip
drm/i915: improve modeset state checking after dpms calls
Now that we have solid modeset state tracking and checking code in place, we can do the Full Monty also after dpms calls. Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dp.c')
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 3b1c407699c7..d391e67231b7 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1362,7 +1362,7 @@ intel_dp_dpms(struct drm_connector *connector, int mode)
intel_encoder_dpms(&intel_dp->base, mode);
}
- intel_connector_check_state(to_intel_connector(connector));
+ intel_modeset_check_state(connector->dev);
}
/*