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

2024-05-23 Thread Dmitry Baryshkov
On Tue, May 21, 2024 at 12:13:48PM +0200, 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 v14 15/28] drm/connector: hdmi: Compute bpc and format automatically

2024-05-21 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. Cc: Ville Syrjälä Signed-off-by: Maxime Ripard --- drivers/gpu/drm