drm/i915: Tighten DRRS capability reporting
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 3 Oct 2022 11:32:48 +0000 (14:32 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 4 Oct 2022 14:47:46 +0000 (17:47 +0300)
commitd1af925ba062d78580a98ed8b1a013c0ac2b54ae
tree3540f95225e115ac742d166d9f68775e89a5c427
parent9519c86523ea136e981ceff30489cdb7b2ecae08
drm/i915: Tighten DRRS capability reporting

Only report DRRS capability for the connector if its fixed_modes
list contains at least two modes capable of seamless DRRS switch
between them.

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