Searched refs:amdgpu_ctx (Results 1 - 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ctx.h | 40 struct amdgpu_ctx { struct 66 struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id); 67 int amdgpu_ctx_put(struct amdgpu_ctx *ctx); 69 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, 71 void amdgpu_ctx_add_fence(struct amdgpu_ctx *ctx, 74 struct dma_fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx, 77 void amdgpu_ctx_priority_override(struct amdgpu_ctx *ctx, 83 int amdgpu_ctx_wait_prev_fence(struct amdgpu_ctx *ctx,
|
H A D | amdgpu_ctx.c | 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 *ct in amdgpu_ctx_query() [all...] |
H A D | amdgpu_sched.c | 70 struct amdgpu_ctx *ctx; in amdgpu_sched_process_priority_override() 100 struct amdgpu_ctx *ctx; in amdgpu_sched_context_priority_override()
|
H A D | Makefile | 53 amdgpu_ucode.o amdgpu_bo_list.o amdgpu_ctx.o amdgpu_sync.o \
|
H A D | amdgpu_cs.c | 952 struct amdgpu_ctx *ctx; in amdgpu_cs_process_fence_dep() 1353 struct amdgpu_ctx *ctx; in amdgpu_cs_wait_ioctl() 1401 struct amdgpu_ctx *ctx; in amdgpu_cs_get_fence()
|
H A D | amdgpu.h | 43 #include "amdgpu_ctx.h" 499 struct amdgpu_ctx *ctx;
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ctx.h | 45 struct amdgpu_ctx { struct 73 struct amdgpu_ctx *amdgpu_ctx_get(struct amdgpu_fpriv *fpriv, uint32_t id); 74 int amdgpu_ctx_put(struct amdgpu_ctx *ctx); 76 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, 78 uint64_t amdgpu_ctx_add_fence(struct amdgpu_ctx *ctx, 81 struct dma_fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx, 85 void amdgpu_ctx_priority_override(struct amdgpu_ctx *ctx, int32_t ctx_prio); 90 int amdgpu_ctx_wait_prev_fence(struct amdgpu_ctx *ctx,
|
H A D | amdgpu_ctx.c | 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 *ct in amdgpu_ctx_alloc() [all...] |
H A D | amdgpu_sched.c | 42 struct amdgpu_ctx *ctx; in amdgpu_sched_process_priority_override() 72 struct amdgpu_ctx *ctx; in amdgpu_sched_context_priority_override()
|
H A D | amdgpu_cs.h | 52 struct amdgpu_ctx *ctx;
|
H A D | Makefile | 74 amdgpu_ucode.o amdgpu_bo_list.o amdgpu_ctx.o amdgpu_sync.o \
|
H A D | amdgpu_cs.c | 393 struct amdgpu_ctx *ctx; in amdgpu_cs_p2_dependencies() 1462 struct amdgpu_ctx *ctx; in amdgpu_cs_wait_ioctl() 1510 struct amdgpu_ctx *ctx; in amdgpu_cs_get_fence()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/inc/ |
H A D | amdgpu_dpm.h | 364 struct amdgpu_ctx *stable_pstate_ctx;
|
Completed in 12 milliseconds