]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Take the sink maximum TMDS clock into account
authorMaxime Ripard <maxime@cerno.tech>
Tue, 22 Feb 2022 16:40:39 +0000 (17:40 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 24 Mar 2022 12:44:00 +0000 (13:44 +0100)
commit228b1717e7a0eab2c3b5e25cb5bfa3000916c7a0
treebc79d09e62c44870bd830c9d3617ec1078ab217a
parentd60a90914cf8effd0b070783f260b0931d970298
drm/vc4: hdmi: Take the sink maximum TMDS clock into account

In the function that validates that the clock isn't too high, we've only
taken our controller limitations into account so far.

However, the sink can have a limit on the maximum TMDS clock it can deal
with too which is exposed through the EDID and the drm_display_info.

Make sure we check it.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220222164042.403112-5-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c