Searched refs:ctx_handles (Results 1 – 3 of 3) sorted by relevance
| /Linux-v6.1/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_ctx.c | 461 r = idr_alloc(&mgr->ctx_handles, ctx, 1, AMDGPU_VM_MAX_NUM_CTX, GFP_KERNEL); in amdgpu_ctx_alloc() 471 idr_remove(&mgr->ctx_handles, *id); in amdgpu_ctx_alloc() 503 ctx = idr_remove(&mgr->ctx_handles, id); in amdgpu_ctx_free() 523 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query() 561 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query2() 622 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_stable_pstate() 703 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_get() 852 idr_init_base(&mgr->ctx_handles, 1); in amdgpu_ctx_mgr_init() 864 idp = &mgr->ctx_handles; in amdgpu_ctx_mgr_entity_flush() 890 idp = &mgr->ctx_handles; in amdgpu_ctx_mgr_entity_fini() [all …]
|
| D | amdgpu_ctx.h | 66 struct idr ctx_handles; member
|
| D | amdgpu_sched.c | 54 idr_for_each_entry(&fpriv->ctx_mgr.ctx_handles, ctx, id) in amdgpu_sched_process_priority_override()
|