Lines Matching refs:amdgpu_ctx

139 static unsigned int amdgpu_ctx_get_hw_prio(struct amdgpu_ctx *ctx, u32 hw_ip)  in amdgpu_ctx_get_hw_prio()
190 static ktime_t amdgpu_ctx_entity_time(struct amdgpu_ctx *ctx, in amdgpu_ctx_entity_time()
204 static int amdgpu_ctx_init_entity(struct amdgpu_ctx *ctx, u32 hw_ip, in amdgpu_ctx_init_entity()
292 static int amdgpu_ctx_get_stable_pstate(struct amdgpu_ctx *ctx, in amdgpu_ctx_get_stable_pstate()
321 struct drm_file *filp, struct amdgpu_ctx *ctx) in amdgpu_ctx_init()
356 static int amdgpu_ctx_set_stable_pstate(struct amdgpu_ctx *ctx, in amdgpu_ctx_set_stable_pstate()
409 struct amdgpu_ctx *ctx = container_of(ref, struct amdgpu_ctx, refcount); in amdgpu_ctx_fini()
434 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, in amdgpu_ctx_get_entity()
480 struct amdgpu_ctx *ctx; in amdgpu_ctx_alloc()
508 struct amdgpu_ctx *ctx; in amdgpu_ctx_do_release()
511 ctx = container_of(ref, struct amdgpu_ctx, refcount); in amdgpu_ctx_do_release()
527 struct amdgpu_ctx *ctx; in amdgpu_ctx_free()
541 struct amdgpu_ctx *ctx; in amdgpu_ctx_query()
580 struct amdgpu_ctx *ctx; in amdgpu_ctx_query2()
641 struct amdgpu_ctx *ctx; in amdgpu_ctx_stable_pstate()
730 struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id) in amdgpu_ctx_get()
732 struct amdgpu_ctx *ctx; in amdgpu_ctx_get()
748 int amdgpu_ctx_put(struct amdgpu_ctx *ctx) in amdgpu_ctx_put()
757 uint64_t amdgpu_ctx_add_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_add_fence()
784 struct dma_fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_get_fence()
813 static void amdgpu_ctx_set_entity_priority(struct amdgpu_ctx *ctx, in amdgpu_ctx_set_entity_priority()
838 void amdgpu_ctx_priority_override(struct amdgpu_ctx *ctx, in amdgpu_ctx_priority_override()
859 int amdgpu_ctx_wait_prev_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_wait_prev_fence()
898 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_entity_flush()
924 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_entity_fini()
952 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_fini()
972 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_usage()