Skip to content

Commit 8525a23

Browse files
Shobhit Kumarjnikula
authored andcommitted
drm/i915: vlv_prepare_pll is only needed in case of non DSI interfaces
For MIPI, DSI PLL is configured separately in vlv_configure_dsi_pll during the DSI enable sequence Causing WARN dump otherwise in dpio_reads v2: Add IS_CHERRYVIEW check as suggested by Ville Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
1 parent 5b5ffff commit 8525a23

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

drivers/gpu/drm/i915/intel_display.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4564,7 +4564,10 @@ static void valleyview_crtc_enable(struct drm_crtc *crtc)
45644564
if (intel_crtc->active)
45654565
return;
45664566

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);
45684571

45694572
/* Set up the display plane register */
45704573
dspcntr = DISPPLANE_GAMMA_ENABLE;
@@ -4598,8 +4601,6 @@ static void valleyview_crtc_enable(struct drm_crtc *crtc)
45984601
if (encoder->pre_pll_enable)
45994602
encoder->pre_pll_enable(encoder);
46004603

4601-
is_dsi = intel_pipe_has_type(crtc, INTEL_OUTPUT_DSI);
4602-
46034604
if (!is_dsi) {
46044605
if (IS_CHERRYVIEW(dev))
46054606
chv_enable_pll(intel_crtc);

0 commit comments

Comments
 (0)