sunxi: display: Implement fallback to ddc probe when hpd fails
authorPriit Laes <priit.laes@paf.com>
Wed, 19 Dec 2018 13:06:09 +0000 (15:06 +0200)
committerAnatolij Gustschin <agust@denx.de>
Fri, 15 Feb 2019 15:30:44 +0000 (16:30 +0100)
commit0220f8c223f088cc722b81fc1db23734de87a13d
tree48314b981e9dd965086c0c80e9fa31d98e42bfe4
parent361604d658695966ba985f544800ecc7563caf41
sunxi: display: Implement fallback to ddc probe when hpd fails

There are HDMI displays where hpd pin is not connected, thus
we cannot get it to work unless we specifically set the resolution.

Rework the display probing, so hotplug detect failure causes
fallback to probing ddc for EDID data.

Signed-off-by: Priit Laes <priit.laes@paf.com>
drivers/video/sunxi/sunxi_display.c