drm/vc4: hdmi: Always recenter the HDMI FIFO 86/243886/1
authorMaxime Ripard <maxime@cerno.tech>
Tue, 25 Aug 2020 09:21:50 +0000 (18:21 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Fri, 11 Sep 2020 01:46:39 +0000 (10:46 +0900)
commite191c6f5f87b90c2044912afa9e70e5a35367fe5
tree7f9c4aa5d466033ae65328472e58aabbfb7af371
parentb41b24ecdc754277251c07bacd03982651a70e7a
drm/vc4: hdmi: Always recenter the HDMI FIFO

In order to avoid a pixel getting stuck in an unflushable FIFO, we need to
recenter the FIFO every time we're doing a modeset and not only if we're
connected to an HDMI monitor.

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/b3faaf05ac6c4d3c364d28fa441571eb85903269.1599120059.git-series.maxime@cerno.tech
[hoegeun.kwon: Needed to troubleshoot page flip timed out issue.]
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Change-Id: Ife295f612fb32ef2a02e1494c3a4b532735c989e
drivers/gpu/drm/vc4/vc4_hdmi.c