mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
drm/i915: Use IS_HSW_ULT() in HSW CDCLK clock read-out
hsw_get_cdclk_freq() is really just HSW, so we can use IS_HSW_ULT() instead of IS_ULT() there. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
cf404ce4b1
commit
95626e7caa
1 changed files with 1 additions and 1 deletions
|
@ -1291,7 +1291,7 @@ static int hsw_get_cdclk_freq(struct drm_i915_private *dev_priv)
|
|||
return 450000;
|
||||
else if (freq == LCPLL_CLK_FREQ_450)
|
||||
return 450000;
|
||||
else if (IS_ULT(dev))
|
||||
else if (IS_HSW_ULT(dev))
|
||||
return 337500;
|
||||
else
|
||||
return 540000;
|
||||
|
|
Loading…
Add table
Reference in a new issue