[SRU][I/raspi][PATCH 01/10] Revert "drm/vc4: Increase the core clock to a minimum of 500MHz"

Juerg Haefliger juerg.haefliger at canonical.com
Mon Oct 18 15:58:39 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1946368

This reverts commit 3e256a9b8c94508146da451fb3f6caae2eda7730.

Signed-off-by: Juerg Haefliger <juergh at canonical.com>
---
 drivers/gpu/drm/vc4/vc4_kms.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c
index a51ae823321c..ba5829d9d425 100644
--- a/drivers/gpu/drm/vc4/vc4_kms.c
+++ b/drivers/gpu/drm/vc4/vc4_kms.c
@@ -369,17 +369,11 @@ static void vc4_atomic_commit_tail(struct drm_atomic_state *state)
 	}
 
 	if (vc4->hvs && vc4->hvs->hvs5) {
-		unsigned long core_rate = max_t(unsigned long,
-						500000000,
-						new_hvs_state->core_clock_rate);
-
-		drm_dbg(dev, "Raising the core clock at %lu Hz\n", core_rate);
-
 		/*
 		 * Do a temporary request on the core clock during the
 		 * modeset.
 		 */
-		core_req = clk_request_start(hvs->core_clk, core_rate);
+		core_req = clk_request_start(hvs->core_clk, 500000000);
 
 		/*
 		 * And remove the previous one based on the HVS
-- 
2.30.2




More information about the kernel-team mailing list