summaryrefslogtreecommitdiff
path: root/mali_kbase/backend
diff options
context:
space:
mode:
authorVarad Gautam <varadgautam@google.com>2023-03-10 16:32:45 +0000
committerTreeHugger Robot <treehugger-gerrit@google.com>2023-03-21 15:26:46 +0000
commitfa73c81d4bf634ccc50a231e3f2108a9e7c75689 (patch)
tree6e1e517d12d741d8c75fce7ff21b7e11a8bf64fd /mali_kbase/backend
parent257a1d9d04144a7c28510571865d7a78568b7e9c (diff)
downloadgpu-fa73c81d4bf634ccc50a231e3f2108a9e7c75689.tar.gz
Avoid L2 powerup delay workaround on JM GPUs
b/265461971 showed JM devices regressing due to this delay, which is only needed on CSF GPUs. Change-Id: I3c37dc8d344965bec5c8697e84e7355e725513cd Bug: 265461971 Test: Ran launcher-action-suite microbenchmark on raven, perfetto_ft_launcher-frame_dur_p50 reported 1962260 with patch and 3000472.56 without
Diffstat (limited to 'mali_kbase/backend')
-rw-r--r--mali_kbase/backend/gpu/mali_kbase_pm_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mali_kbase/backend/gpu/mali_kbase_pm_driver.c b/mali_kbase/backend/gpu/mali_kbase_pm_driver.c
index 8b2779a..5e4f04b 100644
--- a/mali_kbase/backend/gpu/mali_kbase_pm_driver.c
+++ b/mali_kbase/backend/gpu/mali_kbase_pm_driver.c
@@ -1276,9 +1276,9 @@ static int kbase_pm_l2_update_state(struct kbase_device *kbdev)
switch (backend->l2_state) {
case KBASE_L2_OFF:
if (kbase_pm_is_l2_desired(kbdev)) {
+#if MALI_USE_CSF && defined(KBASE_PM_RUNTIME)
// Workaround: give a short pause here before starting L2 transition.
udelay(200);
-#if MALI_USE_CSF && defined(KBASE_PM_RUNTIME)
/* Enable HW timer of IPA control before
* L2 cache is powered-up.
*/