On Mon, May 27, 2024 at 03:57:58PM +0200, Maxime Ripard wrote: > A lot of HDMI drivers have some variation of the formula to calculate > the TMDS character rate from a mode, but few of them actually take all > parameters into account. > > Let's create a helper to provide that rate taking all parameters into > account. > > Reviewed-by: Dave Stevenson <dave.steven...@raspberrypi.com> > Signed-off-by: Maxime Ripard <mrip...@kernel.org> > --- > drivers/gpu/drm/display/drm_hdmi_helper.c | 61 > +++++++++++++++++++++++++++++++ > include/drm/display/drm_hdmi_helper.h | 4 ++ > 2 files changed, 65 insertions(+) >
Reviewed-by: Dmitry Baryshkov <dmitry.barysh...@linaro.org> -- With best wishes Dmitry