drm/i915: fix intel_ddi_get_cdclk_freq for ULT machines
For now, this code is just used by the eDP AUX channel frequency. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:

committed by
Daniel Vetter

parent
54075a7d75
commit
d567b07fce
@@ -1309,6 +1309,8 @@ int intel_ddi_get_cdclk_freq(struct drm_i915_private *dev_priv)
|
||||
else if ((I915_READ(LCPLL_CTL) & LCPLL_CLK_FREQ_MASK) ==
|
||||
LCPLL_CLK_FREQ_450)
|
||||
return 450;
|
||||
else if (IS_ULT(dev_priv->dev))
|
||||
return 338;
|
||||
else
|
||||
return 540;
|
||||
}
|
||||
|
Reference in New Issue
Block a user