summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarad Gautam <varadgautam@google.com>2024-01-29 15:17:37 +0000
committerVarad Gautam <varadgautam@google.com>2024-01-31 12:44:09 +0000
commit979731b47876fe1ee7ff858000d8778cdc9af505 (patch)
tree4cf926ed7581e5cc344b3d20d7112c1ac6cf8625
parent559beda0aaf1e8d4eeb59636e97bdceadbdad4a3 (diff)
downloadgpu-979731b47876fe1ee7ff858000d8778cdc9af505.tar.gz
kbase: Reduce CSG suspend timeout to unblock system suspend
Bug: 319408928 Test: Build and boot Change-Id: I8d577c15498cdb41116142238a4a7f7bde7bdf8a Signed-off-by: Varad Gautam <varadgautam@google.com> (cherry picked from commit a5801fb8227b719291fb7133491e9fc6b8444661)
-rw-r--r--mali_kbase/mali_kbase_config_defaults.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mali_kbase/mali_kbase_config_defaults.h b/mali_kbase/mali_kbase_config_defaults.h
index 2027f03..9fdd468 100644
--- a/mali_kbase/mali_kbase_config_defaults.h
+++ b/mali_kbase/mali_kbase_config_defaults.h
@@ -203,7 +203,8 @@ enum {
* More cycles (1s @ 100Mhz = 100000000) are added up to ensure that
* host timeout is always bigger than FW timeout.
*/
-#define CSF_CSG_SUSPEND_TIMEOUT_CYCLES (3100000000ull)
+/* pixel: b/319408928 - CSF_CSG_SUSPEND_TIMEOUT_CYCLES is set to 2s@100MHz. */
+#define CSF_CSG_SUSPEND_TIMEOUT_CYCLES (200000000ull)
/* Waiting timeout in clock cycles for GPU reset to complete. */
#define CSF_GPU_RESET_TIMEOUT_CYCLES (CSF_CSG_SUSPEND_TIMEOUT_CYCLES * 2)