]> git.dujemihanovic.xyz Git - u-boot.git/commit
video: sunxi: Add mode_valid callback to sunxi_dw_hdmi
authorJernej Skrabec <jernej.skrabec@siol.net>
Thu, 22 Apr 2021 00:14:26 +0000 (01:14 +0100)
committerAnatolij Gustschin <agust@denx.de>
Sat, 24 Apr 2021 11:44:28 +0000 (13:44 +0200)
commit3b9021a545d235f6bf53f37140e173318d79f9f8
tree35302f12ca4be34ab6760900287359450ba072aa
parent84baa65dffdbce20752279101548ba888be53b3e
video: sunxi: Add mode_valid callback to sunxi_dw_hdmi

Currently driver accepts all resolution which won't work on 4k screens.
Add validation callback which limits acceptable resolutions to 297 MHz.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
drivers/video/sunxi/sunxi_dw_hdmi.c