HDMI standards define a recommended set of values to be used for Audio Clock Regeneration. Nevertheless, each HDMI driver dealing with audio implements its own way to determine those values. Implement a common helper and use it for MSM HDMI (tested), VC4 and DW-HDMI (compile-tested only) drivers. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> --- Dmitry Baryshkov (4): drm/display: hdmi: provide central data authority for ACR params drm/msm/hdmi: use new helper for ACR tables drm/vc4: use new helper to get ACR values drm: bridge: dw-hdmi: use new helper to get ACR values drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 90 ++-------------- drivers/gpu/drm/display/drm_hdmi_helper.c | 164 ++++++++++++++++++++++++++++++ drivers/gpu/drm/msm/hdmi/hdmi_audio.c | 107 ++----------------- drivers/gpu/drm/vc4/vc4_hdmi.c | 10 +- drivers/gpu/drm/vc4/vc4_hdmi.h | 7 ++ include/drm/display/drm_hdmi_helper.h | 6 ++ 6 files changed, 197 insertions(+), 187 deletions(-) --- base-commit: 0a2f889128969dab41861b6e40111aa03dc57014 change-id: 20250308-drm-hdmi-acr-7ad1f0d012df Best regards, -- Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>