[PATCH v2 0/3] drm/mediatek: Don't support hdmi connector creation

From: Dafna Hirschfeld
Date: Mon Mar 29 2021 - 11:37:55 EST


commit f01195148967 ("drm/mediatek: mtk_dpi: Create connector for bridges")
broke the display support for elm device since mtk_dpi calls
drm_bridge_attach with the flag DRM_BRIDGE_ATTACH_NO_CONNECTOR
while mtk_hdmi does not yet support this flag.

These three patches fix that by adding support for DRM_BRIDGE_ATTACH_NO_CONNECTOR
in mtk_hdmi bridge attachment.

changes since v1:
1. split the first patch - now the first patch only moves the bridge ops to the atomic API
while the replacement of the field 'conn' with the field '*curr_conn' is done in a new third patch.
2. in the function 'get_eld' use the current conn only if 'enabled = true'.

Dafna Hirschfeld (3):
drm/mediatek: Switch the hdmi bridge ops to the atomic versions
drm/mediatek: Don't support hdmi connector creation
drm/mediatek: in struct mtk_hdmi, replace conn field with curr_conn
ptr

drivers/gpu/drm/mediatek/mtk_hdmi.c | 171 ++++++++++++----------------
1 file changed, 73 insertions(+), 98 deletions(-)

--
2.17.1