drm/i915/edp: always add fixed mode to probed modes in ->get_modes()
authorJani Nikula <jani.nikula@intel.com>
Thu, 11 Feb 2021 14:52:13 +0000 (16:52 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 22 Feb 2021 16:05:53 +0000 (18:05 +0200)
commitf886261735fca91e3bdec0e56c86a5e71e4eea67
tree9b65ac91d89ffa7bf228c64485e43e9a2c70c363
parent8733932a72d73e2ae31e38ca995fb538aa2149e3
drm/i915/edp: always add fixed mode to probed modes in ->get_modes()

Unconditionally add fixed mode to probed modes even if EDID is present
and has modes. Prepare for cases where the fixed mode is not present in
EDID (such as eDP MSO).

Cc: Nischal Varide <nischal.varide@intel.com>
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/6979f123f3e4ed948333f1b181202bbced3c3e85.1613054234.git.jani.nikula@intel.com
drivers/gpu/drm/i915/display/intel_dp.c