|
@@ -892,8 +892,6 @@ static void intel_dsi_disable(struct intel_encoder *encoder,
|
|
|
struct intel_crtc_state *old_crtc_state,
|
|
|
struct drm_connector_state *old_conn_state)
|
|
|
{
|
|
|
- struct drm_device *dev = encoder->base.dev;
|
|
|
- struct drm_i915_private *dev_priv = dev->dev_private;
|
|
|
struct intel_dsi *intel_dsi = enc_to_intel_dsi(&encoder->base);
|
|
|
enum port port;
|
|
|
|
|
@@ -902,15 +900,6 @@ static void intel_dsi_disable(struct intel_encoder *encoder,
|
|
|
intel_dsi_vbt_exec_sequence(intel_dsi, MIPI_SEQ_BACKLIGHT_OFF);
|
|
|
intel_panel_disable_backlight(old_conn_state);
|
|
|
|
|
|
- /*
|
|
|
- * Disable Device ready before the port shutdown in order
|
|
|
- * to avoid split screen
|
|
|
- */
|
|
|
- if (IS_BROXTON(dev_priv)) {
|
|
|
- for_each_dsi_port(port, intel_dsi->ports)
|
|
|
- I915_WRITE(MIPI_DEVICE_READY(port), 0);
|
|
|
- }
|
|
|
-
|
|
|
/*
|
|
|
* According to the spec we should send SHUTDOWN before
|
|
|
* MIPI_SEQ_DISPLAY_OFF only for v3+ VBTs, but field testing
|