OSDN Git Service

drm/i915: Allow alternate fixed modes always for LVDS
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 27 Sep 2022 18:06:15 +0000 (21:06 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 28 Sep 2022 20:29:11 +0000 (23:29 +0300)
As with eDP let's stop considering the VBTs DRRS knobs and
just always accept all otherwise suitable EDID modes. This
appears to be how Windows does it.

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

index e6600d2..e97e24f 100644 (file)
@@ -968,8 +968,7 @@ void intel_lvds_init(struct drm_i915_private *dev_priv)
                              IS_ERR(edid) ? NULL : edid);
 
        /* Try EDID first */
-       intel_panel_add_edid_fixed_modes(intel_connector,
-                                        intel_connector->panel.vbt.drrs_type != DRRS_TYPE_NONE);
+       intel_panel_add_edid_fixed_modes(intel_connector, true);
 
        /* Failed to get EDID, what about VBT? */
        if (!intel_panel_preferred_fixed_mode(intel_connector))