From: Ville Syrjälä Date: Tue, 27 Sep 2022 18:06:15 +0000 (+0300) Subject: drm/i915: Allow alternate fixed modes always for LVDS X-Git-Tag: v6.2-rc1~124^2~24^2~85 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3dbf20e483cf3f31e287ad3152ffadd15a482e4f;p=thirdparty%2Fkernel%2Flinux.git drm/i915: Allow alternate fixed modes always for LVDS 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ä Link: https://patchwork.freedesktop.org/patch/msgid/20220927180615.25476-4-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula --- diff --git a/drivers/gpu/drm/i915/display/intel_lvds.c b/drivers/gpu/drm/i915/display/intel_lvds.c index e6600d2f369b7..e97e24f690a9f 100644 --- a/drivers/gpu/drm/i915/display/intel_lvds.c +++ b/drivers/gpu/drm/i915/display/intel_lvds.c @@ -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))