Lines Matching refs:amdgpu_ctx

92 static int amdgpu_ctx_init_entity(struct amdgpu_ctx *ctx, u32 hw_ip,  in amdgpu_ctx_init_entity()
144 struct amdgpu_ctx *ctx) in amdgpu_ctx_init()
185 struct amdgpu_ctx *ctx = container_of(ref, struct amdgpu_ctx, refcount); in amdgpu_ctx_fini()
203 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, in amdgpu_ctx_get_entity()
241 struct amdgpu_ctx *ctx; in amdgpu_ctx_alloc()
269 struct amdgpu_ctx *ctx; in amdgpu_ctx_do_release()
272 ctx = container_of(ref, struct amdgpu_ctx, refcount); in amdgpu_ctx_do_release()
288 struct amdgpu_ctx *ctx; in amdgpu_ctx_free()
302 struct amdgpu_ctx *ctx; in amdgpu_ctx_query()
341 struct amdgpu_ctx *ctx; in amdgpu_ctx_query2()
435 struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id) in amdgpu_ctx_get()
437 struct amdgpu_ctx *ctx; in amdgpu_ctx_get()
453 int amdgpu_ctx_put(struct amdgpu_ctx *ctx) in amdgpu_ctx_put()
462 void amdgpu_ctx_add_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_add_fence()
488 struct dma_fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_get_fence()
517 static void amdgpu_ctx_set_entity_priority(struct amdgpu_ctx *ctx, in amdgpu_ctx_set_entity_priority()
542 void amdgpu_ctx_priority_override(struct amdgpu_ctx *ctx, in amdgpu_ctx_priority_override()
563 int amdgpu_ctx_wait_prev_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_wait_prev_fence()
595 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_entity_flush()
621 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_entity_fini()
649 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_fini()
666 static void amdgpu_ctx_fence_time(struct amdgpu_ctx *ctx, in amdgpu_ctx_fence_time()
709 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_fence_usage()