]> git.baikalelectronics.ru Git - kernel.git/commit
drm: vc4: Fix pixel-wrap issue with DVP teardown
authorTim Gover <tim.gover@raspberrypi.com>
Mon, 28 Jun 2021 13:05:33 +0000 (15:05 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 6 Jul 2021 09:24:56 +0000 (11:24 +0200)
commit7b2232a7af89507e4aa0c6f59aa33874dfedd561
treed98f14708b4aac1908ca56f93b0e9a9cbffa808a
parent118c8d53992cefec00f624c96823d1a10af201ee
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>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210628130533.144617-1-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c