video: meson: vpu: Add fallback to default display timings from DT
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 25 Nov 2020 19:13:55 +0000 (20:13 +0100)
committerSylwester Nawrocki <s.nawrocki@samsung.com>
Tue, 1 Dec 2020 09:10:44 +0000 (10:10 +0100)
commit43c42d1cb4569d2c2bbe13bf08ee53eba26cbb2f
treee8adf328c5889d99833339e2c79bff2e41740383
parent440aaa92b3954854f0735f36135e6d04a659b42f
video: meson: vpu: Add fallback to default display timings from DT

The HDMI transmitter supports only up to 1920x1080 resolutions and 4K
monitors might not specify detailed timings in EDID other than for their
maximum resolution, even though they work with lower resolutions like
full HD. In such case display_read_timings() will fail breaking
the video output driver initialization. To prevent this add a fallback
to default timing as specified in DT in the vpu node.

This patch allows to use 4K monitors with VIM3(L) boards.

Change-Id: I84f4b33c8408d01d3463a89e5e88c91fc95742f5
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
drivers/video/meson/meson_vpu.c