From: Dom Cobley Date: Thu, 8 Jul 2021 18:16:42 +0000 (+0100) Subject: Revert "drm/vc4: Increase the core clock to a minimum of 500MHz" X-Git-Tag: submit/tizen/20220208.074352~893 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af4a0a6ba1426de138eab330d901f204c9cecf7c;p=platform%2Fkernel%2Flinux-rpi.git Revert "drm/vc4: Increase the core clock to a minimum of 500MHz" This reverts commit c53f42cc56350b4f4bc5542e48707e5e2bd90720. --- diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c index 7d159b3..e77135b 100644 --- a/drivers/gpu/drm/vc4/vc4_kms.c +++ b/drivers/gpu/drm/vc4/vc4_kms.c @@ -348,17 +348,11 @@ vc4_atomic_complete_commit(struct drm_atomic_state *state) } if (vc4->hvs && vc4->hvs->hvs5) { - unsigned long core_rate = max_t(unsigned long, - 500000000, - 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