]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Reject unsupported TMDS rates on ICL+
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 11 Mar 2022 21:28:45 +0000 (23:28 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 16 Mar 2022 15:12:56 +0000 (17:12 +0200)
commite8b154000e46d62a77874dd67aaa43fe0e6a5c7f
tree27a89b7d955df055677835675e77a7e6d44f3c5d
parente8a714f6a2f45a08afffa7931cbb5d60188f92b2
drm/i915: Reject unsupported TMDS rates on ICL+

ICL+ PLLs can't genenerate certain frequencies. Running the PLL
algorithms through for all frequencies 25-594MHz we see a gap just
above 500 MHz. Specifically 500-522.8MHZ for TC PLLs, and 500-533.2
MHz for combo PHY PLLs. Reject those frequencies hdmi_port_clock_valid()
so that we properly filter out unsupported modes and/or color depths
for HDMI.

Cc: stable@vger.kernel.org
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/5247
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220311212845.32358-1-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
drivers/gpu/drm/i915/display/intel_hdmi.c