video: meson: dw-hdmi: add EDID mode filtering to only select supported modes
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 4 Jul 2019 13:52:08 +0000 (15:52 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sun, 28 Jul 2019 22:22:02 +0000 (00:22 +0200)
commit233358c46a753438d9f0c26dc67dad3ddecca1e9
treeb3853d8cd2afc2600b6d41bcd5701a884390cfe5
parenteb4ee4e436287a69de7a87ea3070fa52bd327602
video: meson: dw-hdmi: add EDID mode filtering to only select supported modes

Add support for the new mode_valid() display op to filter out unsupported
display DMT timings.

This is useful when connected to 4k displays, since we only support DMT
monitors up to 1920x1080, the 4k native timings are discarded to select
supported timings.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/video/meson/meson_dw_hdmi.c