OSDN Git Service

drm/i915: Skip FDI vs. dotclock sanity check during readout
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 3 May 2022 18:22:30 +0000 (21:22 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 14 Jun 2022 10:34:56 +0000 (13:34 +0300)
The VBIOS/GOP may not program the FDI M/n vs. dotclock entirely
consistently. Eg. on a SNB Thinkpad X220 LVDS I see dotclock of
69.286 MHz (the best the DPLL can do) vs. FDI M/N 69.3 MHz
(matches what the EDID actually declares).

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220503182242.18797-15-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_display.c

index d736364..f1d7cce 100644 (file)
@@ -10268,8 +10268,6 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)
                        crtc_state->min_voltage_level;
 
                intel_bw_crtc_update(bw_state, crtc_state);
-
-               intel_pipe_config_sanity_check(dev_priv, crtc_state);
        }
 }