]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hdmi: Switch to blank pixels when disabled
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:01:46 +0000 (10:01 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:14:54 +0000 (18:14 +0200)
commit28c355cf47c87576d07f54ab9b96b47a0a8e66c5
tree0f48918f25ff3502a960dd4088324ea52eb46ad9
parentb4dd9ad67e5993d05625c37b878b10eb53a981c2
drm/vc4: hdmi: Switch to blank pixels when disabled

In order to avoid pixels getting stuck in an unflushable FIFO, we need when
we disable the HDMI controller to switch away from getting our pixels from
the pixelvalve and instead use blank pixels, and switch back to the
pixelvalve when we enable the HDMI controller.

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/fde3efb1ad79f4476a73d310cbba3ec07dc6dabe.1599120059.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_regs.h