The p0 divider (aka PDIV) doesn't support the div-by-5 configuration, so in case the effective divider (p0*p1*p2) value is 5, either p1 (QDIV) or p2 (KDIV) must be used. p1 can't be used either since it must match p0 if p0 is 1, so using p2 is the only possibility. This didn't cause an actual problem, since the HDMI port clock is limited to 300MHz on SKL, which means the minimum effective divider is 6 there, but let's still fix the logic (instead of removing dividers smaller than 6 from the effective divider list). Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx> --- drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c index 2a411dd46769..eabe63716eb3 100644 --- a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c +++ b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c @@ -1367,8 +1367,12 @@ static void skl_wrpll_get_multipliers(unsigned int p, *p0 = 3; *p1 = 1; *p2 = p / 3; - } else if (p == 5 || p == 7) { - *p0 = p; + } else if (p == 5) { + *p0 = 1; + *p1 = 1; + *p2 = 5; + } else if (p == 7) { + *p0 = 7; *p1 = 1; *p2 = 1; } else if (p == 15) { -- 2.25.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx