]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dp: Extract intel_dp_tmds_clock_valid()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 22 Mar 2022 12:00:04 +0000 (14:00 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 5 Apr 2022 08:11:02 +0000 (11:11 +0300)
commitf2fa6eacad449752763113712c81e5e830de3d4d
treeab663707fd32108be4c14586a30ff2d0765bcffe
parentf0c088991ac630dac50818fa2e78fa9750e070a2
drm/i915/dp: Extract intel_dp_tmds_clock_valid()

We're currently duplicating the DFP min/max TMDS clock checks
in .mode_valid() and .compute_config(). Extract a helper suitable
for both use cases.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220322120015.28074-2-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shankar@intel.com>
drivers/gpu/drm/i915/display/intel_dp.c