]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Create a custom connector state
authorMaxime Ripard <maxime@cerno.tech>
Tue, 15 Dec 2020 15:42:39 +0000 (16:42 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Wed, 16 Dec 2020 09:11:37 +0000 (10:11 +0100)
commit73f94898c0258f95d00cfc18d3fbc6a470e1bcb4
treea12d2d9484c0d8734393685f82127c123a982365
parente0532dcfb84cc86aaa67283e33764c82f9da96b3
drm/vc4: hdmi: Create a custom connector state

When run with a higher bpc than 8, the clock of the HDMI controller needs
to be adjusted. Let's create a connector state that will be used at
atomic_check and atomic_enable to compute and store the clock rate
associated to the state.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215154243.540115-6-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi.h