Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c150 r = idr_alloc(&mgr->ctx_handles, ctx, 1, 0, GFP_KERNEL); in amdgpu_ctx_alloc()
160 idr_remove(&mgr->ctx_handles, *id); in amdgpu_ctx_alloc()
192 ctx = idr_remove(&mgr->ctx_handles, id); in amdgpu_ctx_free()
212 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query()
247 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_query2()
321 ctx = idr_find(&mgr->ctx_handles, id); in amdgpu_ctx_get()
442 idr_init(&mgr->ctx_handles); in amdgpu_ctx_mgr_init()
452 idp = &mgr->ctx_handles; in amdgpu_ctx_mgr_entity_flush()
480 idp = &mgr->ctx_handles; in amdgpu_ctx_mgr_entity_fini()
508 idp = &mgr->ctx_handles; in amdgpu_ctx_mgr_fini()
[all …]
Damdgpu_sched.c67 idr_for_each_entry(&fpriv->ctx_mgr.ctx_handles, ctx, id) in amdgpu_sched_process_priority_override()
Damdgpu.h656 struct idr ctx_handles; member