It's not uncommon for the particular device to support only a subset of HDMI InfoFrames. It's not a big problem for the kernel, since we adopted a model of ignoring the unsupported Infoframes, but it's a bigger problem for the userspace: we end up having files in debugfs which do mot match what is being sent on the wire.
Sort that out, making sure that all interfaces are consistent. Signed-off-by: Dmitry Baryshkov <[email protected]> --- Dmitry Baryshkov (7): drm/connector: let drivers declare infoframes as unsupported drm/bridge: adv7511: declare supported infoframes drm/bridge: ite-it6232: declare supported infoframes drm/bridge: lontium-lt9611: declare supported infoframes drm/bridge: synopsys/dw-hdmi-qp: declare supported infoframes drm/msm: hdmi: declare supported infoframes drm/rockchip: rk3066: declare supported infoframes drivers/gpu/drm/bridge/adv7511/adv7511_drv.c | 1 + drivers/gpu/drm/bridge/ite-it6263.c | 1 + drivers/gpu/drm/bridge/lontium-lt9611.c | 4 ++ drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c | 3 ++ drivers/gpu/drm/display/drm_bridge_connector.c | 6 +++ drivers/gpu/drm/display/drm_hdmi_state_helper.c | 43 +++++++++++++++++++++- drivers/gpu/drm/drm_connector.c | 4 ++ drivers/gpu/drm/drm_debugfs.c | 16 +++++--- drivers/gpu/drm/msm/hdmi/hdmi_bridge.c | 4 ++ drivers/gpu/drm/rockchip/inno_hdmi.c | 1 + drivers/gpu/drm/rockchip/rk3066_hdmi.c | 1 + drivers/gpu/drm/sun4i/sun4i_hdmi_enc.c | 1 + drivers/gpu/drm/tests/drm_connector_test.c | 28 ++++++++++++++ drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c | 8 ++++ drivers/gpu/drm/vc4/vc4_hdmi.c | 4 ++ include/drm/drm_bridge.h | 7 ++++ include/drm/drm_connector.h | 23 ++++++++++++ 17 files changed, 148 insertions(+), 7 deletions(-) --- base-commit: cb640b2ca54617f4a9d4d6efd5ff2afd6be11f19 change-id: 20250815-drm-limit-infoframes-e782fa7f3360 Best regards, -- With best wishes Dmitry
