drm/i915: Allow alternate fixed modes always for eDP
authorjsg <jsg@openbsd.org>
Thu, 2 Feb 2023 04:02:33 +0000 (04:02 +0000)
committerjsg <jsg@openbsd.org>
Thu, 2 Feb 2023 04:02:33 +0000 (04:02 +0000)
From Ville Syrjala
2c8fb41ed0e64fd58b9381843106fb9ae8e0dc27 in linux-6.1.y/6.1.9
55cfeecc2197de68e9cc30f77c711dcbcdf27510 in mainline linux

sys/dev/pci/drm/i915/display/intel_dp.c

index 8483e6a..9e91071 100644 (file)
@@ -5218,9 +5218,7 @@ static bool intel_edp_init_connector(struct intel_dp *intel_dp,
        intel_bios_init_panel(dev_priv, &intel_connector->panel,
                              encoder->devdata, IS_ERR(edid) ? NULL : edid);
 
-       intel_panel_add_edid_fixed_modes(intel_connector,
-                                        intel_connector->panel.vbt.drrs_type != DRRS_TYPE_NONE ||
-                                        intel_vrr_is_capable(intel_connector));
+       intel_panel_add_edid_fixed_modes(intel_connector, true);
 
        /* MSO requires information from the EDID */
        intel_edp_mso_init(intel_dp);