]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Correct interlaced timings again
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 7 Dec 2022 11:53:25 +0000 (12:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:11 +0000 (09:33 +0100)
commit0bef7e0a4b04c3f86e09bb71888edb44c5a821b4
treee39b7a11da3881f6a9c553b7287691db421806ea
parentc3c4ff8a0b92fe9940c21fa9e78097d21d1960b4
drm/vc4: hdmi: Correct interlaced timings again

[ Upstream commit 26f950d47291bbfe08d4329a501f3aa78e52448b ]

The back porch timings were correct, only the sync offset was wrong.
Correct timing is now reported for 1080i and 576i, but the h offset is
incorrect for 480i for non-obvious reasons.

Fixes: 0ea77a679416 ("drm/vc4: hdmi: Correct HDMI timing registers for interlaced modes")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://lore.kernel.org/r/20221207-rpi-hvs-crtc-misc-v1-14-1f8e0770798b@cerno.tech
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/vc4/vc4_hdmi.c