]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: vec: Fix timings for VEC modes
authorMateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
Mon, 29 Aug 2022 13:11:42 +0000 (15:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Oct 2022 11:22:52 +0000 (13:22 +0200)
commit777d325430c790fbaa8f0e22dac8217ac2b9a0d2
tree288ed2f87d99fbf11f0c6fc4326633c3932124b4
parentc39725b90d5a865a3f9964846ceacab40e47fd82
drm/vc4: vec: Fix timings for VEC modes

[ Upstream commit ffba3ae0aa73fdd4a3bb7414ff646070707f14ee ]

This commit fixes vertical timings of the VEC (composite output) modes
to accurately represent the 525-line ("NTSC") and 625-line ("PAL") ITU-R
standards.

Previous timings were actually defined as 502 and 601 lines, resulting
in non-standard 62.69 Hz and 52 Hz signals being generated,
respectively.

Signed-off-by: Mateusz Kwiatkowski <kfyatek+publicgit@gmail.com>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20220728-rpi-analog-tv-properties-v2-28-459522d653a7@cerno.tech
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/vc4/vc4_vec.c