summaryrefslogtreecommitdiff
path: root/mali_kbase/backend
diff options
context:
space:
mode:
authorMichael Stokes <mjstokes@google.com>2023-07-28 14:43:56 +0200
committerMichael Stokes <mjstokes@google.com>2023-08-02 10:54:10 +0000
commitb7705dc18e5925f2acce2c60620723a3ae1127b5 (patch)
tree728600cce7820b36f70701abec6f7e09daf20716 /mali_kbase/backend
parentda3d8b53dfa57c19797a2221ec3fdef154fd2c31 (diff)
downloadgpu-b7705dc18e5925f2acce2c60620723a3ae1127b5.tar.gz
mali_kbase: Reduce kernel log spam.
We have accumulated various logging that is no longer required, and some messages that sound more scary than they need to. Bug: 291710900 Test: boot to home Change-Id: I870a4136e1de423281b14a2e3ba8f643e9243d81
Diffstat (limited to 'mali_kbase/backend')
-rw-r--r--mali_kbase/backend/gpu/mali_kbase_pm_driver.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/mali_kbase/backend/gpu/mali_kbase_pm_driver.c b/mali_kbase/backend/gpu/mali_kbase_pm_driver.c
index 7f4f476..a6e292e 100644
--- a/mali_kbase/backend/gpu/mali_kbase_pm_driver.c
+++ b/mali_kbase/backend/gpu/mali_kbase_pm_driver.c
@@ -1688,12 +1688,6 @@ static int kbase_pm_l2_update_state(struct kbase_device *kbdev)
kbase_l2_core_state_to_string(prev_state),
kbase_l2_core_state_to_string(
backend->l2_state));
-#if IS_ENABLED(CONFIG_SOC_GS201)
- if (!kbdev->pm.backend.invoke_poweroff_wait_wq_when_l2_off &&
- backend->l2_state == KBASE_L2_OFF) {
- dev_warn(kbdev->dev, "transition to l2 off without waking waiter");
- }
-#endif
kbase_ktrace_log_l2_core_state(kbdev, backend->l2_state);
}
@@ -1704,10 +1698,6 @@ static int kbase_pm_l2_update_state(struct kbase_device *kbdev)
kbdev->pm.backend.invoke_poweroff_wait_wq_when_l2_off = false;
queue_work(kbdev->pm.backend.gpu_poweroff_wait_wq,
&kbdev->pm.backend.gpu_poweroff_wait_work);
-#if IS_ENABLED(CONFIG_SOC_GS201)
- } else if (backend->l2_state == KBASE_L2_OFF) {
- dev_warn(kbdev->dev, "l2 off - skipped queue_work for waking up potential waiters");
-#endif
}
return 0;