diff options
| -rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 9188fede99ef..5f285fba4e41 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
| @@ -4564,7 +4564,10 @@ static void valleyview_crtc_enable(struct drm_crtc *crtc) | |||
| 4564 | if (intel_crtc->active) | 4564 | if (intel_crtc->active) |
| 4565 | return; | 4565 | return; |
| 4566 | 4566 | ||
| 4567 | vlv_prepare_pll(intel_crtc); | 4567 | is_dsi = intel_pipe_has_type(crtc, INTEL_OUTPUT_DSI); |
| 4568 | |||
| 4569 | if (!is_dsi && !IS_CHERRYVIEW(dev)) | ||
| 4570 | vlv_prepare_pll(intel_crtc); | ||
| 4568 | 4571 | ||
| 4569 | /* Set up the display plane register */ | 4572 | /* Set up the display plane register */ |
| 4570 | dspcntr = DISPPLANE_GAMMA_ENABLE; | 4573 | dspcntr = DISPPLANE_GAMMA_ENABLE; |
| @@ -4598,8 +4601,6 @@ static void valleyview_crtc_enable(struct drm_crtc *crtc) | |||
| 4598 | if (encoder->pre_pll_enable) | 4601 | if (encoder->pre_pll_enable) |
| 4599 | encoder->pre_pll_enable(encoder); | 4602 | encoder->pre_pll_enable(encoder); |
| 4600 | 4603 | ||
| 4601 | is_dsi = intel_pipe_has_type(crtc, INTEL_OUTPUT_DSI); | ||
| 4602 | |||
| 4603 | if (!is_dsi) { | 4604 | if (!is_dsi) { |
| 4604 | if (IS_CHERRYVIEW(dev)) | 4605 | if (IS_CHERRYVIEW(dev)) |
| 4605 | chv_enable_pll(intel_crtc); | 4606 | chv_enable_pll(intel_crtc); |
