dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] drm/mediatek: Don't support hdmi connector creation
@ 2021-03-30 11:09 Dafna Hirschfeld
  2021-03-30 11:09 ` [PATCH v3 1/2] drm/mediatek: Switch the hdmi bridge ops to the atomic versions Dafna Hirschfeld
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dafna Hirschfeld @ 2021-03-30 11:09 UTC (permalink / raw)
  To: dri-devel, linux-mediatek, linux-kernel
  Cc: chunkuang.hu, dafna.hirschfeld, airlied, dafna3,
	laurent.pinchart, enric.balletbo, kernel

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 v2:
1. squash patch 3 with patch 2 to not break bisection
2. remove the funtion mtk_hdmi_get_edid and inline its code in mtk_hdmi_bridge_get_edid
3. small aligment

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 (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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-04-01 14:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 11:09 [PATCH v3 0/2] drm/mediatek: Don't support hdmi connector creation Dafna Hirschfeld
2021-03-30 11:09 ` [PATCH v3 1/2] drm/mediatek: Switch the hdmi bridge ops to the atomic versions Dafna Hirschfeld
2021-03-30 11:09 ` [PATCH v3 2/2] drm/mediatek: Don't support hdmi connector creation Dafna Hirschfeld
2021-04-01 14:15 ` [PATCH v3 0/2] " Chun-Kuang Hu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).