Re: [PATCH v14 21/28] drm/connector: hdmi: Add Infoframes generation
From: Dmitry Baryshkov
Date: Thu May 23 2024 - 07:46:47 EST
On Tue, May 21, 2024 at 12:13:54PM +0200, Maxime Ripard wrote:
> Infoframes in KMS is usually handled by a bunch of low-level helpers
> that require quite some boilerplate for drivers. This leads to
> discrepancies with how drivers generate them, and which are actually
> sent.
>
> Now that we have everything needed to generate them in the HDMI
> connector state, we can generate them in our common logic so that
> drivers can simply reuse what we precomputed.
>
> Cc: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
> Signed-off-by: Maxime Ripard <mripard@xxxxxxxxxx>
> ---
> drivers/gpu/drm/display/drm_hdmi_state_helper.c | 336 +++++++++++++++++++++
> drivers/gpu/drm/drm_connector.c | 14 +
> drivers/gpu/drm/tests/drm_connector_test.c | 12 +
> drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c | 1 +
> include/drm/display/drm_hdmi_state_helper.h | 7 +
> include/drm/drm_connector.h | 111 ++++++-
> 6 files changed, 480 insertions(+), 1 deletion(-)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
--
With best wishes
Dmitry