]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/connector: hdmi: allow disabling Audio Infoframe
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 7 Jun 2024 13:22:58 +0000 (16:22 +0300)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 12 Jun 2024 07:55:54 +0000 (10:55 +0300)
commit000d1940c90984a9a2af9c02bc17e3ca0d87f71d
treee644fcc6af69ebe6c634cfa2c0de3bdbc53f9c9c
parent8e11b23c96c694d4cb0fb6595b38d77ee5edb296
drm/connector: hdmi: allow disabling Audio Infoframe

Add drm_atomic_helper_connector_hdmi_disable_audio_infoframe(), an API
to allow the driver disable sending the Audio Infoframe. This is to be
used by the drivers if setup of the infoframes is not tightly coupled
with the audio functionality and just disabling the audio playback
doesn't stop the HDMI hardware from sending the Infoframe.

Acked-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240607-bridge-hdmi-connector-v5-1-ab384e6021af@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
drivers/gpu/drm/display/drm_hdmi_state_helper.c
include/drm/display/drm_hdmi_state_helper.h