]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: hvs: Boost the core clock during modeset
authorMaxime Ripard <maxime@cerno.tech>
Thu, 3 Sep 2020 08:00:35 +0000 (10:00 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 7 Sep 2020 16:01:52 +0000 (18:01 +0200)
commitf8ee023a91ff412d0c366ee2637c4c2b14e2874f
treefe710845a0c8b400f88ae4d3208367ebbb4e89cc
parentb4653a973d96cc62e1cf57241058313666e1e1bb
drm/vc4: hvs: Boost the core clock during modeset

In order to prevent timeouts and stalls in the pipeline, the core clock
needs to be maxed at 500MHz during a modeset on the BCM2711.

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