OSDN Git Service

drm/sun4i: DW HDMI: Expand algorithm for possible crtcs
authorJernej Skrabec <jernej.skrabec@siol.net>
Mon, 25 Jun 2018 12:03:02 +0000 (14:03 +0200)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 27 Jun 2018 19:44:05 +0000 (21:44 +0200)
commit57e23de02f4878061818fd118129a6b0e1516b11
tree50dddb5c320435ba2e4c1f8ebad231ea5c75a3c4
parent8b5f7a62464a24cb83d6290c01d6cf9c8871774a
drm/sun4i: DW HDMI: Expand algorithm for possible crtcs

drm_of_find_possible_crtcs() doesn't work when DW HDMI encoder is
connected to TCON (crtc) through mux in TCON TOP.

In that case TCON TOP HDMI mux input port has to be manually traversed
and checked if it matches any known crtc.

Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180625120304.7543-23-jernej.skrabec@siol.net
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c