drm/vc4: Reset HDMI MISC_CONTROL register.
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 13 Sep 2021 16:30:18 +0000 (17:30 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Mon, 13 Sep 2021 16:56:07 +0000 (17:56 +0100)
commit4a929be607a35b33f4d56a77e4ac70613b674e2c
treeb8e4b7a6b043d23765291e18f2ae3ea4f313c07d
parent597cd63b48c6dc3746827504f191744c120fbb4d
drm/vc4: Reset HDMI MISC_CONTROL register.

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.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi_regs.h