Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/bridge: dw-hdmi: Add API dw_hdmi_to_plat_data() to get plat_data

Add API dw_hdmi_to_plat_data() to fetch plat_data because audio device
driver needs it to enable(disable)_audio().

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Acked-by: Liu Ying <victor.liu@nxp.com>
Tested-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Link: https://lore.kernel.org/r/20250923053001.2678596-4-shengjiu.wang@nxp.com

authored by

Shengjiu Wang and committed by
Liu Ying
21d4c95e be0bd958

+8
+6
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
··· 198 198 enum drm_connector_status last_connector_result; 199 199 }; 200 200 201 + const struct dw_hdmi_plat_data *dw_hdmi_to_plat_data(struct dw_hdmi *hdmi) 202 + { 203 + return hdmi->plat_data; 204 + } 205 + EXPORT_SYMBOL_GPL(dw_hdmi_to_plat_data); 206 + 201 207 #define HDMI_IH_PHY_STAT0_RX_SENSE \ 202 208 (HDMI_IH_PHY_STAT0_RX_SENSE0 | HDMI_IH_PHY_STAT0_RX_SENSE1 | \ 203 209 HDMI_IH_PHY_STAT0_RX_SENSE2 | HDMI_IH_PHY_STAT0_RX_SENSE3)
+2
include/drm/bridge/dw_hdmi.h
··· 208 208 209 209 bool dw_hdmi_bus_fmt_is_420(struct dw_hdmi *hdmi); 210 210 211 + const struct dw_hdmi_plat_data *dw_hdmi_to_plat_data(struct dw_hdmi *hdmi); 212 + 211 213 #endif /* __IMX_HDMI_H__ */