OSDN Git Service

drm/vc4: crtc: Clear the PixelValve FIFO on disable
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:01:02 +0000 (10:01 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:04:12 +0000 (18:04 +0200)
commit0d2b96af53c973942c8c5a2c6629915774bae187
tree1fd69a475938bae8e7286f217318b2044f0ae34f
parentb7cb67a6b4fbb99a297bb0a57d906f56d81b29c9
drm/vc4: crtc: Clear the PixelValve FIFO on disable

In order to avoid a stale pixel getting stuck on mode change or a disable
/ enable cycle, we need to make sure to flush the PV FIFO on disable.

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/26fe48b09d77088679ed0c8cb8cf0db2f108195e.1599120059.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c