[PATCH v14 21/28] drm/connector: hdmi: Add Infoframes generation
Dmitry Baryshkov
dmitry.baryshkov at linaro.org
Thu May 23 04:46:31 PDT 2024
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 at linux.intel.com>
> Signed-off-by: Maxime Ripard <mripard at kernel.org>
> ---
> 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 at linaro.org>
--
With best wishes
Dmitry
More information about the Linux-rockchip
mailing list