summaryrefslogtreecommitdiff
path: root/mali_kbase/mali_kbase_defs.h
diff options
context:
space:
mode:
authorJack Diver <diverj@google.com>2022-07-15 11:14:40 +0000
committerJesse Hall <jessehall@google.com>2022-07-22 19:49:27 +0000
commit6d9a3aba416be92c65c576f174d4102be1b92d48 (patch)
tree26c91b4a2c5e69fa573a030d661312e227742cac /mali_kbase/mali_kbase_defs.h
parent50979afc4d493535148935a52e59148723f72b27 (diff)
downloadgpu-6d9a3aba416be92c65c576f174d4102be1b92d48.tar.gz
mali_kbase: Lower timeout values for hanging operations
CSG status update requests and MMU commands will hang due to an unknown and rare stability issue. Reduce the timeouts for these commands to sensible values to prevent CPU lock-ups and allow reset work to run quickly. Bug: 232508335 Test: Boot to home Test Bouncy ball for two hours Change-Id: I6e5356877d7da859cad02af516a8cd9ca18ee85c Change-Id: I2bf36c48006ba9f95012bc452c5b4ae4bb5c0507
Diffstat (limited to 'mali_kbase/mali_kbase_defs.h')
-rw-r--r--mali_kbase/mali_kbase_defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mali_kbase/mali_kbase_defs.h b/mali_kbase/mali_kbase_defs.h
index 6b89f0e..c44118a 100644
--- a/mali_kbase/mali_kbase_defs.h
+++ b/mali_kbase/mali_kbase_defs.h
@@ -2044,6 +2044,6 @@ static inline u64 kbase_get_lock_region_min_size_log2(struct kbase_gpu_props con
/* Maximum number of loops polling the GPU for a cache flush before we assume it must have completed */
#define KBASE_CLEAN_CACHE_MAX_LOOPS 100000
/* Maximum number of loops polling the GPU for an AS command to complete before we assume the GPU has hung */
-#define KBASE_AS_INACTIVE_MAX_LOOPS 100000000
+#define KBASE_AS_INACTIVE_MAX_LOOPS 100000
#endif /* _KBASE_DEFS_H_ */