Lines Matching refs:entities
207 ctx->entities[hw_ip][ring] = entity; in amdgpu_ctx_init_entity()
269 amdgpu_ctx_fini_entity(ctx->entities[i][j]); in amdgpu_ctx_fini()
270 ctx->entities[i][j] = NULL; in amdgpu_ctx_fini()
299 if (ctx->entities[hw_ip][ring] == NULL) { in amdgpu_ctx_get_entity()
305 *entity = &ctx->entities[hw_ip][ring]->entity; in amdgpu_ctx_get_entity()
350 if (!ctx->entities[i][j]) in amdgpu_ctx_do_release()
353 drm_sched_entity_destroy(&ctx->entities[i][j]->entity); in amdgpu_ctx_do_release()
629 if (!ctx->entities[i][j]) in amdgpu_ctx_priority_override()
632 amdgpu_ctx_set_entity_priority(ctx, ctx->entities[i][j], in amdgpu_ctx_priority_override()
682 if (!ctx->entities[i][j]) in amdgpu_ctx_mgr_entity_flush()
685 entity = &ctx->entities[i][j]->entity; in amdgpu_ctx_mgr_entity_flush()
712 if (!ctx->entities[i][j]) in amdgpu_ctx_mgr_entity_fini()
715 entity = &ctx->entities[i][j]->entity; in amdgpu_ctx_mgr_entity_fini()
796 if (!ctx->entities[hwip][idx]) in amdgpu_ctx_mgr_fence_usage()
799 centity = ctx->entities[hwip][idx]; in amdgpu_ctx_mgr_fence_usage()