drm: vc4: Fix pixel-wrap issue with DVP teardown
authorTim Gover <tim.gover@raspberrypi.com>
Thu, 24 Jun 2021 16:58:05 +0000 (17:58 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 25 Jun 2021 08:45:24 +0000 (09:45 +0100)
commit2be20d05c7f6c92c04b8b3636a95bdd70ff8373c
tree9caacbdedd3de48bac661d6561ae5d03177deb8f
parent1bac41882b4922c39b9c16b3687ab116eea16eac
drm: vc4: Fix pixel-wrap issue with DVP teardown

Adjust the DVP enable/disable sequence to avoid a pixel getting stuck
in an internal, non resettable FIFO within PixelValve when changing
HDMI resolution.

The blank pixels features of the DVP can prevent signals back to
pixelvalve causing it to not clear the FIFO. Adjust the ordering
and timing of operations to ensure the clear signal makes it through to
pixelvalve.

Signed-off-by: Tim Gover <tim.gover@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_hdmi.c