]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerStefan Bader <stefan.bader@canonical.com>
Thu, 24 Nov 2022 13:24:58 +0000 (14:24 +0100)
commitc4d704c4cc1e5859ee6367413870200b0529a19d
tree247c3c0fcf5014c6f25509fe126e6c92b4455736
parent7d401543bfc95d18beb99e0f29e86db873ff4e7e
drm/vc4: vec: Fix timings for VEC modes

BugLink: https://bugs.launchpad.net/bugs/1996825
[ Upstream commit 30d7565be96b3946c18a1ce3fd538f7946839092 ]

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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/gpu/drm/vc4/vc4_vec.c