]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Move clock calculation into its own function
authorMaxime Ripard <maxime@cerno.tech>
Tue, 22 Feb 2022 16:40:38 +0000 (17:40 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 24 Mar 2022 12:44:00 +0000 (13:44 +0100)
commit2e964317ba33cddf09ca6c77063db2af238b978c
tree50a59e8bc4c2c709e325af7a31bf66daf2c14410
parentf4a7dcdd7953d061571c7abd27284537e19a2641
drm/vc4: hdmi: Move clock calculation into its own function

The code to compute our clock rate for a given setup will be called in
multiple places in the next patches, so let's create a separate function
for 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-4-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c