Lines Matching refs:amdgpu_ctx

138 static unsigned int amdgpu_ctx_get_hw_prio(struct amdgpu_ctx *ctx, u32 hw_ip)  in amdgpu_ctx_get_hw_prio()
189 static ktime_t amdgpu_ctx_entity_time(struct amdgpu_ctx *ctx, in amdgpu_ctx_entity_time()
203 static int amdgpu_ctx_init_entity(struct amdgpu_ctx *ctx, u32 hw_ip, in amdgpu_ctx_init_entity()
291 static int amdgpu_ctx_get_stable_pstate(struct amdgpu_ctx *ctx, in amdgpu_ctx_get_stable_pstate()
320 struct drm_file *filp, struct amdgpu_ctx *ctx) in amdgpu_ctx_init()
355 static int amdgpu_ctx_set_stable_pstate(struct amdgpu_ctx *ctx, in amdgpu_ctx_set_stable_pstate()
408 struct amdgpu_ctx *ctx = container_of(ref, struct amdgpu_ctx, refcount); in amdgpu_ctx_fini()
433 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, in amdgpu_ctx_get_entity()
479 struct amdgpu_ctx *ctx; in amdgpu_ctx_alloc()
507 struct amdgpu_ctx *ctx; in amdgpu_ctx_do_release()
510 ctx = container_of(ref, struct amdgpu_ctx, refcount); in amdgpu_ctx_do_release()
526 struct amdgpu_ctx *ctx; in amdgpu_ctx_free()
540 struct amdgpu_ctx *ctx; in amdgpu_ctx_query()
579 struct amdgpu_ctx *ctx; in amdgpu_ctx_query2()
640 struct amdgpu_ctx *ctx; in amdgpu_ctx_stable_pstate()
721 struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id) in amdgpu_ctx_get()
723 struct amdgpu_ctx *ctx; in amdgpu_ctx_get()
739 int amdgpu_ctx_put(struct amdgpu_ctx *ctx) in amdgpu_ctx_put()
748 uint64_t amdgpu_ctx_add_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_add_fence()
775 struct dma_fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_get_fence()
804 static void amdgpu_ctx_set_entity_priority(struct amdgpu_ctx *ctx, in amdgpu_ctx_set_entity_priority()
829 void amdgpu_ctx_priority_override(struct amdgpu_ctx *ctx, in amdgpu_ctx_priority_override()
850 int amdgpu_ctx_wait_prev_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_wait_prev_fence()
889 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_entity_flush()
915 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_entity_fini()
943 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_fini()
963 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_usage()