Home
last modified time | relevance | path

Searched refs:amdgpu_ctx (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.h45 struct amdgpu_ctx { struct
72 struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id); argument
73 int amdgpu_ctx_put(struct amdgpu_ctx *ctx);
75 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance,
77 uint64_t amdgpu_ctx_add_fence(struct amdgpu_ctx *ctx,
80 struct dma_fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx,
84 void amdgpu_ctx_priority_override(struct amdgpu_ctx *ctx, int32_t ctx_prio);
89 int amdgpu_ctx_wait_prev_fence(struct amdgpu_ctx *ctx,
Damdgpu_ctx.c136 static unsigned int amdgpu_ctx_get_hw_prio(struct amdgpu_ctx *ctx, u32 hw_ip) in amdgpu_ctx_get_hw_prio()
187 static ktime_t amdgpu_ctx_entity_time(struct amdgpu_ctx *ctx, in amdgpu_ctx_entity_time()
201 static int amdgpu_ctx_init_entity(struct amdgpu_ctx *ctx, u32 hw_ip, in amdgpu_ctx_init_entity()
275 static int amdgpu_ctx_get_stable_pstate(struct amdgpu_ctx *ctx, in amdgpu_ctx_get_stable_pstate()
304 struct drm_file *filp, struct amdgpu_ctx *ctx) in amdgpu_ctx_init()
337 static int amdgpu_ctx_set_stable_pstate(struct amdgpu_ctx *ctx, in amdgpu_ctx_set_stable_pstate()
390 struct amdgpu_ctx *ctx = container_of(ref, struct amdgpu_ctx, refcount); in amdgpu_ctx_fini()
415 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, in amdgpu_ctx_get_entity()
453 struct amdgpu_ctx *ctx; in amdgpu_ctx_alloc()
481 struct amdgpu_ctx *ctx; in amdgpu_ctx_do_release()
[all …]
Damdgpu_sched.c41 struct amdgpu_ctx *ctx; in amdgpu_sched_process_priority_override()
68 struct amdgpu_ctx *ctx; in amdgpu_sched_context_priority_override()
Damdgpu_cs.h49 struct amdgpu_ctx *ctx;
DMakefile53 amdgpu_ucode.o amdgpu_bo_list.o amdgpu_ctx.o amdgpu_sync.o \
Damdgpu_cs.c403 struct amdgpu_ctx *ctx; in amdgpu_cs_p2_dependencies()
1452 struct amdgpu_ctx *ctx; in amdgpu_cs_wait_ioctl()
1500 struct amdgpu_ctx *ctx; in amdgpu_cs_get_fence()
/Linux-v6.1/drivers/gpu/drm/amd/pm/inc/
Damdgpu_dpm.h362 struct amdgpu_ctx *stable_pstate_ctx;