diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ddi.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ddi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index e2665e09d5df..070bf2e78d61 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c | |||
@@ -1340,6 +1340,7 @@ static void intel_ddi_post_disable(struct intel_encoder *intel_encoder) | |||
1340 | if (type == INTEL_OUTPUT_DISPLAYPORT || type == INTEL_OUTPUT_EDP) { | 1340 | if (type == INTEL_OUTPUT_DISPLAYPORT || type == INTEL_OUTPUT_EDP) { |
1341 | struct intel_dp *intel_dp = enc_to_intel_dp(encoder); | 1341 | struct intel_dp *intel_dp = enc_to_intel_dp(encoder); |
1342 | intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_OFF); | 1342 | intel_dp_sink_dpms(intel_dp, DRM_MODE_DPMS_OFF); |
1343 | intel_edp_panel_vdd_on(intel_dp); | ||
1343 | intel_edp_panel_off(intel_dp); | 1344 | intel_edp_panel_off(intel_dp); |
1344 | } | 1345 | } |
1345 | 1346 | ||
@@ -1717,7 +1718,7 @@ void intel_ddi_init(struct drm_device *dev, enum port port) | |||
1717 | 1718 | ||
1718 | intel_encoder->type = INTEL_OUTPUT_UNKNOWN; | 1719 | intel_encoder->type = INTEL_OUTPUT_UNKNOWN; |
1719 | intel_encoder->crtc_mask = (1 << 0) | (1 << 1) | (1 << 2); | 1720 | intel_encoder->crtc_mask = (1 << 0) | (1 << 1) | (1 << 2); |
1720 | intel_encoder->cloneable = false; | 1721 | intel_encoder->cloneable = 0; |
1721 | intel_encoder->hot_plug = intel_ddi_hot_plug; | 1722 | intel_encoder->hot_plug = intel_ddi_hot_plug; |
1722 | 1723 | ||
1723 | if (init_dp) | 1724 | if (init_dp) |