Skip to content

Commit 64553c7

Browse files
committed
drm/i915: Simplify combo PLL frac w/a
We are applying the combo PLL frac w/a to all TGL+ platforms, except RKL. I *think* all RKL machines use a 24 MHz refclk (certainly all machines in our CI do) and so technically never need the adjustment. But let's assume the hardware is exactly the same anyway and simplify the code by applying the w/a to all TGL+ platforms. v2: Keep the 38.4 MHz check Signed-off-by: Ville Syrjälä <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Imre Deak <[email protected]>
1 parent efaa117 commit 64553c7

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

drivers/gpu/drm/i915/display/intel_dpll_mgr.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2604,11 +2604,8 @@ ehl_combo_pll_div_frac_wa_needed(struct intel_display *display)
26042604
{
26052605
return ((display->platform.elkhartlake &&
26062606
IS_DISPLAY_STEP(display, STEP_B0, STEP_FOREVER)) ||
2607-
display->platform.dg1 ||
2608-
display->platform.tigerlake ||
2609-
display->platform.alderlake_s ||
2610-
display->platform.alderlake_p) &&
2611-
display->dpll.ref_clks.nssc == 38400;
2607+
DISPLAY_VER(display) >= 12) &&
2608+
display->dpll.ref_clks.nssc == 38400;
26122609
}
26132610

26142611
struct icl_combo_pll_params {

0 commit comments

Comments
 (0)