From c7ac8c9aa3cdb619a8c506c19a2371a27de3b423 Mon Sep 17 00:00:00 2001 From: Zhen Chen Date: Thu, 13 Jan 2022 11:08:26 +0800 Subject: [PATCH] MALI: bifrost: fix bug that GPU is not powered off after idle The bug was found in the case of that system suspend process was broken off for USB ADB being connected. This fix is provided by Zhigang.Yao@arm.com of support_mali. Related RK redmine case: https://redmine.rock-chips.com/issues/334539 Change-Id: I4772ed901a7fe54884a79a53b3ca9f6fd7beed40 Signed-off-by: Zhen Chen --- drivers/gpu/arm/bifrost/mali_kbase_pm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/arm/bifrost/mali_kbase_pm.c b/drivers/gpu/arm/bifrost/mali_kbase_pm.c index af154d56f2d2..68c1b9bb25e8 100644 --- a/drivers/gpu/arm/bifrost/mali_kbase_pm.c +++ b/drivers/gpu/arm/bifrost/mali_kbase_pm.c @@ -260,8 +260,6 @@ void kbase_pm_driver_resume(struct kbase_device *kbdev, bool arb_gpu_start) * atoms */ kbasep_js_resume(kbdev); -#else - kbase_csf_scheduler_pm_resume(kbdev); #endif /* Matching idle call, to power off the GPU/cores if we didn't actually