Re: [PATCH v11 09/28] drm/display: hdmi: Add HDMI compute clock helper

2024-04-18 Thread Maxime Ripard
On Tue, Apr 16, 2024 at 04:44:14PM +0300, Ville Syrjälä wrote: > On Tue, Mar 26, 2024 at 04:40:13PM +0100, 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 ac

Re: [PATCH v11 09/28] drm/display: hdmi: Add HDMI compute clock helper

2024-04-16 Thread Ville Syrjälä
On Tue, Mar 26, 2024 at 04:40:13PM +0100, 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 param

[PATCH v11 09/28] drm/display: hdmi: Add HDMI compute clock helper

2024-03-26 Thread Maxime Ripard
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 Signed-off-by: Maxime R