drm/vc4: hdmi: Move clock calculation into its own function
authorMaxime Ripard <maxime@cerno.tech>
Thu, 2 Dec 2021 16:04:18 +0000 (17:04 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:35 +0000 (16:04 +0000)
commit77bf64945cff91455132c1d4d0f1430eeda9a79e
tree4d517d87480785f4c43884b5478227c185dde5c8
parent4abb3e17be55bfc6aba9af7a92703383e0fa7cf9
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>
drivers/gpu/drm/vc4/vc4_hdmi.c