diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dsi.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dsi.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/gpu/drm/i915/intel_dsi.c b/drivers/gpu/drm/i915/intel_dsi.c index f0c11aec5ea5..7442891762be 100644 --- a/drivers/gpu/drm/i915/intel_dsi.c +++ b/drivers/gpu/drm/i915/intel_dsi.c | |||
@@ -892,8 +892,6 @@ static void intel_dsi_disable(struct intel_encoder *encoder, | |||
892 | struct intel_crtc_state *old_crtc_state, | 892 | struct intel_crtc_state *old_crtc_state, |
893 | struct drm_connector_state *old_conn_state) | 893 | struct drm_connector_state *old_conn_state) |
894 | { | 894 | { |
895 | struct drm_device *dev = encoder->base.dev; | ||
896 | struct drm_i915_private *dev_priv = dev->dev_private; | ||
897 | struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); | 895 | struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base); |
898 | enum port port; | 896 | enum port port; |
899 | 897 | ||
@@ -903,15 +901,6 @@ static void intel_dsi_disable(struct intel_encoder *encoder, | |||
903 | intel_panel_disable_backlight(old_conn_state); | 901 | intel_panel_disable_backlight(old_conn_state); |
904 | 902 | ||
905 | /* | 903 | /* |
906 | * Disable Device ready before the port shutdown in order | ||
907 | * to avoid split screen | ||
908 | */ | ||
909 | if (IS_BROXTON(dev_priv)) { | ||
910 | for_each_dsi_port(port, intel_dsi->ports) | ||
911 | I915_WRITE(MIPI_DEVICE_READY(port), 0); | ||
912 | } | ||
913 | |||
914 | /* | ||
915 | * According to the spec we should send SHUTDOWN before | 904 | * According to the spec we should send SHUTDOWN before |
916 | * MIPI_SEQ_DISPLAY_OFF only for v3+ VBTs, but field testing | 905 | * MIPI_SEQ_DISPLAY_OFF only for v3+ VBTs, but field testing |
917 | * has shown that the v3 sequence works for v2 VBTs too | 906 | * has shown that the v3 sequence works for v2 VBTs too |