drm/i915: Allow more varied alternate fixed modes for panels
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 30 Aug 2022 21:24:36 +0000 (00:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 31 Aug 2022 17:01:32 +0000 (20:01 +0300)
commita5810f551d0a8c83b4817b53a446bd115e7182ce
tree2bc3c055cc5978ca084ecab8ebc74e6753d836d4
parenta06289f3f72431f3777af95ea1226b5b0abdc426
drm/i915: Allow more varied alternate fixed modes for panels

On some systems the panel reports alternate modes with
different blanking periods. If the EDID reports them and VBT
doesn't tell us otherwise then I can't really see why they
should be rejected. So allow their use for the purposes of
static DRRS.

For seamless DRRS we still require a much more exact match
of course. But that logic only kicks in when selecting the
downclock mode (or in the future when determining whether
we can do a seamless refresh rate change due to a user
modeset).

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/6374
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220830212436.2021-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_panel.c