Home
last modified time | relevance | path

Searched refs:kprcs (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/context/
H A Dmali_kbase_context.c52 struct kbase_process *kprcs = NULL; in find_process_node() local
59 kprcs = prcs_node; in find_process_node()
69 return kprcs; in find_process_node()
89 struct kbase_process *kprcs = NULL; in kbase_insert_kctx_to_process() local
93 kprcs = find_process_node(prcs_root->rb_node, tgid); in kbase_insert_kctx_to_process()
98 if (!kprcs) { in kbase_insert_kctx_to_process()
101 kprcs = kzalloc(sizeof(*kprcs), GFP_KERNEL); in kbase_insert_kctx_to_process()
102 if (kprcs == NULL) in kbase_insert_kctx_to_process()
104 kprcs->tgid = tgid; in kbase_insert_kctx_to_process()
105 INIT_LIST_HEAD(&kprcs->kctx_list); in kbase_insert_kctx_to_process()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_trace_gpu_mem.h41 trace_gpu_mem_total(kbdev->id, kctx->kprcs->tgid, in kbase_trace_gpu_mem_usage()
42 kctx->kprcs->total_gpu_pages << PAGE_SHIFT); in kbase_trace_gpu_mem_usage()
52 kctx->kprcs->total_gpu_pages -= pages; in kbase_trace_gpu_mem_usage_dec()
67 kctx->kprcs->total_gpu_pages += pages; in kbase_trace_gpu_mem_usage_inc()
H A Dmali_kbase_trace_gpu_mem.c178 kctx, alloc->imported.umm.dma_buf, &kctx->kprcs->dma_buf_root); in kbase_remove_dma_buf_usage()
187 kctx->kprcs->total_gpu_pages -= alloc->nents; in kbase_remove_dma_buf_usage()
209 kctx, alloc->imported.umm.dma_buf, &kctx->kprcs->dma_buf_root); in kbase_add_dma_buf_usage()
218 kctx->kprcs->total_gpu_pages += alloc->nents; in kbase_add_dma_buf_usage()
H A Dmali_kbase_defs.h1979 struct kbase_process *kprcs; member