diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-05-05 10:17:38 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-05-21 17:23:40 -0400 |
commit | 5a74f70a733fc79a37ee8462ae59de6897d17eed (patch) | |
tree | 219eed66561001cff77d215845ce9c29bc255ec2 | |
parent | 1ea56e269e136544c0a76dc831c5edc27c47cb3c (diff) |
drm/i915: Disable FDI RX/TX before the ports
Bspec says we should disable the FDI RX/TX before disabling the PCH
ports. Do so.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 52de4110c8e9..db665922edc2 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -5111,13 +5111,14 @@ static void ironlake_crtc_disable(struct drm_crtc *crtc) | |||
5111 | 5111 | ||
5112 | ironlake_pfit_disable(intel_crtc); | 5112 | ironlake_pfit_disable(intel_crtc); |
5113 | 5113 | ||
5114 | if (intel_crtc->config->has_pch_encoder) | ||
5115 | ironlake_fdi_disable(crtc); | ||
5116 | |||
5114 | for_each_encoder_on_crtc(dev, crtc, encoder) | 5117 | for_each_encoder_on_crtc(dev, crtc, encoder) |
5115 | if (encoder->post_disable) | 5118 | if (encoder->post_disable) |
5116 | encoder->post_disable(encoder); | 5119 | encoder->post_disable(encoder); |
5117 | 5120 | ||
5118 | if (intel_crtc->config->has_pch_encoder) { | 5121 | if (intel_crtc->config->has_pch_encoder) { |
5119 | ironlake_fdi_disable(crtc); | ||
5120 | |||
5121 | ironlake_disable_pch_transcoder(dev_priv, pipe); | 5122 | ironlake_disable_pch_transcoder(dev_priv, pipe); |
5122 | 5123 | ||
5123 | if (HAS_PCH_CPT(dev)) { | 5124 | if (HAS_PCH_CPT(dev)) { |