]> 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)
commit062366c8acb84ba070cf5bd860a6f6e2208880ae
treed98f14708b4aac1908ca56f93b0e9a9cbffa808a
parentaf39786a72d97fabf72b71220bc5692ad00f9cd6
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