]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
drm/i915/dsi: Configure DSI after enabling DSI pll
authorRamalingam C <ramalingam.c@intel.com>
Wed, 3 Feb 2016 12:50:46 +0000 (18:20 +0530)
committerJani Nikula <jani.nikula@intel.com>
Thu, 4 Feb 2016 09:07:35 +0000 (11:07 +0200)
We need to enable DSI PLL before configuring the DSI registers.

This has worked before on BYT/CHV, but BXT is more fussy.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Tested-by: Mika Kahola <mika.kahola@intel.com> # BXT
Tested-by: Jani Nikula <jani.nikula@intel.com> # BYT
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1454503846-12103-1-git-send-email-ramalingam.c@intel.com
drivers/gpu/drm/i915/intel_dsi.c

index 91cef3525c93b899382b7d8891dcb4d1d2199bf5..378f879f40153439eba54569f7c66866240fd421 100644 (file)
@@ -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)