drm/i915/BXT: Configure DSI after enabling DSI pll

Submitted by Ramalingam C on Feb. 3, 2016, 12:50 p.m.

Details

Message ID 1454503846-12103-1-git-send-email-ramalingam.c@intel.com
State New
Headers show
Series "drm/i915/BXT: Configure DSI after enabling DSI pll" ( rev: 2 ) in Intel GFX

Not browsing as part of any series.

Commit Message

Ramalingam C Feb. 3, 2016, 12:50 p.m.
We need to enable DSI PLL before configuring the DSI registers.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
---
 drivers/gpu/drm/i915/intel_dsi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/i915/intel_dsi.c b/drivers/gpu/drm/i915/intel_dsi.c
index 91cef35..378f879 100644
--- a/drivers/gpu/drm/i915/intel_dsi.c
+++ b/drivers/gpu/drm/i915/intel_dsi.c
@@ -478,8 +478,8 @@  static void intel_dsi_pre_enable(struct intel_encoder *encoder)
 
 	DRM_DEBUG_KMS("\n");
 
-	intel_dsi_prepare(encoder);
 	intel_enable_dsi_pll(encoder);
+	intel_dsi_prepare(encoder);
 
 	/* Panel Enable over CRC PMIC */
 	if (intel_dsi->gpio_panel)