]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: crtc: Clear the PixelValve FIFO during configuration
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:01:03 +0000 (10:01 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:04:17 +0000 (18:04 +0200)
commit6d66481a216924dcc1424b6fc0507040d038dd5b
tree5d94f4705750f943c84151716124780137116422
parent33a2145ca2af3a1ce83708814a9e9576ff1d1a86
drm/vc4: crtc: Clear the PixelValve FIFO during configuration

Even though it's not really clear why we need to flush the PV FIFO during
the configuration even though we started by flushing it, experience shows
that without it we get a stale pixel stuck in the FIFO between the HVS and
the PV.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Tested-by: Chanwoo Choi <cw00.choi@samsung.com>
Tested-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ccd6269ba37b2f849ba6e62471c99bd93a4548a0.1599120059.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c