Commit ae9ec62b authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Fix CHV DSI PLL refclk during state readout

Use the proper refclock frequency (100MHz) when reading out the
current DSI clock on CHV.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458052809-23426-13-git-send-email-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent f00b5689
...@@ -258,7 +258,7 @@ static u32 vlv_dsi_get_pclk(struct intel_encoder *encoder, int pipe_bpp) ...@@ -258,7 +258,7 @@ static u32 vlv_dsi_get_pclk(struct intel_encoder *encoder, int pipe_bpp)
u32 dsi_clock, pclk; u32 dsi_clock, pclk;
u32 pll_ctl, pll_div; u32 pll_ctl, pll_div;
u32 m = 0, p = 0, n; u32 m = 0, p = 0, n;
int refclk = 25000; int refclk = IS_CHERRYVIEW(dev_priv) ? 100000 : 25000;
int i; int i;
DRM_DEBUG_KMS("\n"); DRM_DEBUG_KMS("\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment