Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/vc4
Mateusz Kwiatkowski 36f797a10f drm/vc4: hdmi: Fix timings for interlaced modes
[ Upstream commit 0ee5a40152b15f200ed3a0d51e8aa782ea979c6a ]

Increase the number of post-sync blanking lines on odd fields instead of
decreasing it on even fields. This makes the total number of lines
properly match the modelines.

Additionally fix the value of PV_VCONTROL_ODD_DELAY, which did not take
pixels_per_clock into account, causing some displays to invert the
fields when driven by bcm2711.

Fixes: 682e62c454 ("drm/vc4: Fix support for interlaced modes on HDMI.")
Signed-off-by: Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
Link: https://lore.kernel.org/r/20220613144800.326124-31-maxime@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-08-21 15:15:43 +02:00
..
2019-11-25 10:04:41 +01:00
2020-04-02 14:16:45 +02:00
2020-11-03 10:11:05 +01:00
2020-11-02 12:14:50 +01:00
2020-11-02 12:14:50 +01:00
2020-04-02 14:16:45 +02:00