]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hvs: Make the stop_channel function public
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:01:04 +0000 (10:01 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:04:22 +0000 (18:04 +0200)
commit27e186038cdaa4457a1444740cda7516ea6bb9f8
tree1b3277485070cff3657024462d76e900a8b8cce6
parent7370a164fbf1fc2e20e70bbc2abe5932d58a2e5f
drm/vc4: hvs: Make the stop_channel function public

During the transition from the firmware to the KMS driver, we need to pay
particular attention to how we deal with the pixelvalves that have already
been enabled, otherwise either timeouts or stuck pixels can occur. We'll
thus need to call the function to stop an HVS channel at boot.

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: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/a9d5f0891c3bc1deb6b16d56ca6994ed912ec7c7.1599120059.git-series.maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_hvs.c