Re: [PATCH v11 15/28] drm/connector: hdmi: Compute bpc and format automatically

2024-04-19 Thread Maxime Ripard
On Tue, Apr 16, 2024 at 04:50:58PM +0300, Ville Syrjälä wrote: > On Tue, Mar 26, 2024 at 04:40:19PM +0100, Maxime Ripard wrote: > > Now that we have all the infrastructure needed, we can add some code > > that will, for a given connector state and mode, compute the best output > > format and bpc. >

Re: [PATCH v11 15/28] drm/connector: hdmi: Compute bpc and format automatically

2024-04-16 Thread Ville Syrjälä
On Tue, Mar 26, 2024 at 04:40:19PM +0100, Maxime Ripard wrote: > Now that we have all the infrastructure needed, we can add some code > that will, for a given connector state and mode, compute the best output > format and bpc. > > The algorithm is equivalent to the one already found in i915 and vc

[PATCH v11 15/28] drm/connector: hdmi: Compute bpc and format automatically

2024-03-26 Thread Maxime Ripard
Now that we have all the infrastructure needed, we can add some code that will, for a given connector state and mode, compute the best output format and bpc. The algorithm is equivalent to the one already found in i915 and vc4. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/display/drm_hdmi_s