]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: drv: Disable the CRTC at boot time
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:01:07 +0000 (10:01 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:04:36 +0000 (18:04 +0200)
commit43ac5bbd50c76ac697fb61096acd6da42dda5577
treedd44443d999b9b1826064903e8cb56683d742de6
parentb844bcd888e360144584b62442296142e04908f1
drm/vc4: drv: Disable the CRTC at boot time

In order to prevent issues during the firmware to KMS transition, we need
to make sure the pixelvalve are disabled at boot time so that the DRM state
matches the hardware state.

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