Hi, Dafna:
Dafna Hirschfeld dafna.hirschfeld@collabora.com 於 2021年3月30日 週二 下午7:09寫道:
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.
For this series, applied to mediatek-drm-next [1], thanks.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?...
Regards, Chun-Kuang.
These three patches fix that by adding support for DRM_BRIDGE_ATTACH_NO_CONNECTOR in mtk_hdmi bridge attachment.
changes since v2:
- squash patch 3 with patch 2 to not break bisection
- remove the funtion mtk_hdmi_get_edid and inline its code in mtk_hdmi_bridge_get_edid
- small aligment
changes since v1:
- 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 (2): drm/mediatek: Switch the hdmi bridge ops to the atomic versions drm/mediatek: Don't support hdmi connector creation
drivers/gpu/drm/mediatek/mtk_hdmi.c | 174 ++++++++++++---------------- 1 file changed, 71 insertions(+), 103 deletions(-)
-- 2.17.1