Skip to content

Commit 06e2d1d

Browse files
AngeloGioacchino Del RegnoChun-Kuang Hu
authored andcommitted
drm/mediatek: mtk_hdmi_common: Assign DDC adapter pointer to bridge
In preparation for adding the new HDMI TX v2 IP driver, assign the pointer to the DDC adapter to struct drm_bridge during probe. This commit brings no functional changes. Reviewed-by: CK Hu <ck.hu@mediatek.com> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com> Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20251023-mediatek-drm-hdmi-v2-v11-6-7873ec4a1edf@collabora.com/ Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
1 parent a71afdc commit 06e2d1d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/mediatek/mtk_hdmi_common.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,9 @@ struct mtk_hdmi *mtk_hdmi_common_probe(struct platform_device *pdev)
428428
hdmi->bridge.of_node = pdev->dev.of_node;
429429
hdmi->bridge.ops = DRM_BRIDGE_OP_DETECT | DRM_BRIDGE_OP_EDID
430430
| DRM_BRIDGE_OP_HPD;
431+
431432
hdmi->bridge.type = DRM_MODE_CONNECTOR_HDMIA;
433+
hdmi->bridge.ddc = hdmi->ddc_adpt;
432434
hdmi->bridge.vendor = "MediaTek";
433435
hdmi->bridge.product = "On-Chip HDMI";
434436

0 commit comments

Comments
 (0)