drm/i915: Also use new comparative stuff for more ICP+ stuff
I just noticed that initial PCH comparative patch left some >= PCH_ICP cases behind. Let's also cover these cases and leave only the pin map behind now. No functional change. Hence no fixes tag. Cc: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190313214307.26573-1-rodrigo.vivi@intel.com
This commit is contained in:
@@ -2668,7 +2668,7 @@ static int cnp_rawclk(struct drm_i915_private *dev_priv)
|
||||
|
||||
rawclk |= CNP_RAWCLK_DEN(DIV_ROUND_CLOSEST(numerator * 1000,
|
||||
fraction) - 1);
|
||||
if (HAS_PCH_ICP(dev_priv))
|
||||
if (INTEL_PCH_TYPE(dev_priv) >= PCH_ICP)
|
||||
rawclk |= ICP_RAWCLK_NUM(numerator);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user