]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/display: hdmi_state_helper: split InfoFrame functions per type
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Wed, 7 Jan 2026 18:15:03 +0000 (20:15 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Mon, 19 Jan 2026 11:11:46 +0000 (13:11 +0200)
commite802c783be94bf71541a7e2ac8b1b5486aad10db
treef2e9e228c1c9a30d0bff4db593317bcc06c16e22
parentb626b1a1c9ccadd8861870a2a450f02e0c61ab88
drm/display: hdmi_state_helper: split InfoFrame functions per type

Havign a single set of InfoFrame callbacks doesn't provide enough
information to the DRM framework about the InfoFrame types that are
actually supported. Also it's not really future-proof: it provides a way
to program only a single Vendor-Specific frame, however we might need to
support multiple VSIs at the same time (e.g. HDMI vs HDMI Forum
VSIs).

Provide separate sets of callbacks, one per the InfoFrame type.

Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patch.msgid.link/20260107-limit-infoframes-2-v4-6-213d0d3bd490@oss.qualcomm.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
drivers/gpu/drm/display/drm_bridge_connector.c
drivers/gpu/drm/display/drm_hdmi_state_helper.c
drivers/gpu/drm/drm_connector.c
drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c
drivers/gpu/drm/tests/drm_connector_test.c
drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c
drivers/gpu/drm/vc4/vc4_hdmi.c
include/drm/drm_connector.h