drm/vc4: crtc: Move the CRTC disable out
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:01:06 +0000 (10:01 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:04:31 +0000 (18:04 +0200)
commit2d14ffe2737cd224101405641cbd48973fa5991a
treeab0b66f0e7bd98efd22c0b312c0bfa0222fb5406
parent29bbb93080a964db806e18acde3540278581f68d
drm/vc4: crtc: Move the CRTC disable out

We'll need to reuse the part that disables the HVS and PixelValve during
boot too, so let's create a separate function.

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