summaryrefslogtreecommitdiff
path: root/mali_kbase/mali_kbase_mem.c
diff options
context:
space:
mode:
authorDevika Krishnadas <kdevika@google.com>2022-05-06 20:45:05 +0000
committerDevika Krishnadas <kdevika@google.com>2022-05-06 22:36:35 +0000
commit5eb4e28d03ffb5e035bf7d39f24d2d0e33daa07f (patch)
treec082ab371d30431f21b6c544aef1b76c2236e562 /mali_kbase/mali_kbase_mem.c
parent53773b3ec576097435a5a2e3ae81ab601549caff (diff)
downloadgpu-5eb4e28d03ffb5e035bf7d39f24d2d0e33daa07f.tar.gz
Bug: 230692528 Test: smoke test Signed-off-by: Devika Krishnadas <kdevika@google.com> Change-Id: I7d5da6c0a55ccfc6e789ecb74f0af71aac9d5be3
Diffstat (limited to 'mali_kbase/mali_kbase_mem.c')
-rw-r--r--mali_kbase/mali_kbase_mem.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mali_kbase/mali_kbase_mem.c b/mali_kbase/mali_kbase_mem.c
index b494cca..6562f01 100644
--- a/mali_kbase/mali_kbase_mem.c
+++ b/mali_kbase/mali_kbase_mem.c
@@ -3625,7 +3625,7 @@ static int kbase_jit_debugfs_used_get(struct kbase_jit_debugfs_data *data)
struct kbase_va_region *reg;
#if !MALI_USE_CSF
- mutex_lock(&kctx->jctx.lock);
+ rt_mutex_lock(&kctx->jctx.lock);
#endif /* !MALI_USE_CSF */
mutex_lock(&kctx->jit_evict_lock);
list_for_each_entry(reg, &kctx->jit_active_head, jit_node) {
@@ -3633,7 +3633,7 @@ static int kbase_jit_debugfs_used_get(struct kbase_jit_debugfs_data *data)
}
mutex_unlock(&kctx->jit_evict_lock);
#if !MALI_USE_CSF
- mutex_unlock(&kctx->jctx.lock);
+ rt_mutex_unlock(&kctx->jctx.lock);
#endif /* !MALI_USE_CSF */
return 0;
@@ -3652,7 +3652,7 @@ static int kbase_jit_debugfs_trim_get(struct kbase_jit_debugfs_data *data)
struct kbase_va_region *reg;
#if !MALI_USE_CSF
- mutex_lock(&kctx->jctx.lock);
+ rt_mutex_lock(&kctx->jctx.lock);
#endif /* !MALI_USE_CSF */
kbase_gpu_vm_lock(kctx);
mutex_lock(&kctx->jit_evict_lock);
@@ -3673,7 +3673,7 @@ static int kbase_jit_debugfs_trim_get(struct kbase_jit_debugfs_data *data)
mutex_unlock(&kctx->jit_evict_lock);
kbase_gpu_vm_unlock(kctx);
#if !MALI_USE_CSF
- mutex_unlock(&kctx->jctx.lock);
+ rt_mutex_unlock(&kctx->jctx.lock);
#endif /* !MALI_USE_CSF */
return 0;