]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite631860d6f0a9874d90b8b57fb84e9b5b2061f56
tree50dddb5c320435ba2e4c1f8ebad231ea5c75a3c4
parentf23d5f3c65086b4f4fb5cd3ca5324fb2cc6c8f0c
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