]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Reset HDMI MISC_CONTROL register
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 13 Jun 2022 14:47:48 +0000 (16:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:23:26 +0000 (14:23 +0200)
commit50095d8334ab50c53306035ff3b4bba6bfa0427d
tree3427b6be4394233e024e26237d0926c017360a7b
parentf3a86238de023c7864ff87c6479b5ead5dbc5bf4
drm/vc4: hdmi: Reset HDMI MISC_CONTROL register

[ Upstream commit cd86d970683bb431930bd2db607796eac0277091 ]

The HDMI block can repeat pixels for double clocked modes,
and the firmware is now configuring the block to do this as
the PV is doing it incorrectly when at 2pixels/clock.
If the kernel doesn't reset it then we end up with strange
modes.

Reset MISC_CONTROL.

Fixes: e40b36e7391d ("drm/vc4: hdmi: Support the BCM2711 HDMI controllers")
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://lore.kernel.org/r/20220613144800.326124-22-maxime@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
drivers/gpu/drm/vc4/vc4_hdmi_regs.h