]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/i915: Apply the combo PLL frac w/a on DG1
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 1 Apr 2025 16:37:49 +0000 (19:37 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 10 Apr 2025 17:15:04 +0000 (20:15 +0300)
DG1 apparently needs the combo PLL fractional divider w/a
with 38.4 MHz refclk as well. This isn't listed in bspec, but
looking at the hsd it looks like it was possibly just missed
due to no one having a DG1 around at the time.

This gives us slightly more accurate clocks on DG1.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250401163752.6412-2-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/display/intel_dpll_mgr.c

index ec7feef1ef59bb6a926840f8e17f4411b5cdc573..76ab55ee4b80a28a11e8e426effc430797092038 100644 (file)
@@ -2604,6 +2604,7 @@ ehl_combo_pll_div_frac_wa_needed(struct intel_display *display)
 {
        return ((display->platform.elkhartlake &&
                 IS_DISPLAY_STEP(display, STEP_B0, STEP_FOREVER)) ||
+                display->platform.dg1 ||
                 display->platform.tigerlake ||
                 display->platform.alderlake_s ||
                 display->platform.alderlake_p) &&