]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1dec816adf6982905786ce1ba432b27455751199
tree2bc3c055cc5978ca084ecab8ebc74e6753d836d4
parentd796ea0673315651fc87fe06f01e542899899267
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