Home
last modified time | relevance | path

Searched refs:ctx_handles (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c487 r = idr_alloc(&mgr->ctx_handles, ctx, 1, AMDGPU_VM_MAX_NUM_CTX, GFP_KERNEL); in amdgpu_ctx_alloc()
497 idr_remove(&mgr->ctx_handles, *id); in amdgpu_ctx_alloc()
529 ctx = idr_remove(&mgr->ctx_handles, id); in amdgpu_ctx_free()
549 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query()
587 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query2()
649 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_stable_pstate()
732 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_get()
881 idr_init_base(&mgr->ctx_handles, 1); in amdgpu_ctx_mgr_init()
893 idp = &mgr->ctx_handles; in amdgpu_ctx_mgr_entity_flush()
919 idp = &mgr->ctx_handles; in amdgpu_ctx_mgr_entity_fini()
[all …]
Damdgpu_ctx.h67 struct idr ctx_handles; member
Damdgpu_sched.c57 idr_for_each_entry(&mgr->ctx_handles, ctx, id) in amdgpu_sched_process_priority_override()