OSDN Git Service

drm/i915: Combine the EDID fixed_mode+downclock_mode lookup into one
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 31 Mar 2022 11:28:16 +0000 (14:28 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 31 Mar 2022 11:28:16 +0000 (14:28 +0300)
commit3a3c4ce92962a42d5ee9b1db435b4b3ffa5a4fc4
tree936118f56572d1c6f1c124e42558fbc9d1da817d
parent05d2d45e8736e91dfb7da28c2f51aa8e5cdc7d1f
drm/i915: Combine the EDID fixed_mode+downclock_mode lookup into one

The intel_panel_add_edid_fixed_mode() vs.
intel_panel_add_edid_downclock_mode() split is not really
helpful. Let's just roll those into a single function so
that the connector init code doesn't have to care too much
about this. All we need to know is whether DRRS should be
allowed or not.

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