Home
last modified time | relevance | path

Searched refs:ctx_prio (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c48 bool amdgpu_ctx_priority_is_valid(int32_t ctx_prio) in amdgpu_ctx_priority_is_valid() argument
50 switch (ctx_prio) { in amdgpu_ctx_priority_is_valid()
68 amdgpu_ctx_to_drm_sched_prio(int32_t ctx_prio) in amdgpu_ctx_to_drm_sched_prio() argument
70 switch (ctx_prio) { in amdgpu_ctx_to_drm_sched_prio()
94 WARN(1, "Invalid context priority %d\n", ctx_prio); in amdgpu_ctx_to_drm_sched_prio()
143 int32_t ctx_prio; in amdgpu_ctx_get_hw_prio() local
145 ctx_prio = (ctx->override_priority == AMDGPU_CTX_PRIORITY_UNSET) ? in amdgpu_ctx_get_hw_prio()
151 hw_prio = amdgpu_ctx_prio_to_gfx_pipe_prio(ctx_prio); in amdgpu_ctx_get_hw_prio()
155 hw_prio = amdgpu_ctx_sched_prio_to_ring_prio(ctx_prio); in amdgpu_ctx_get_hw_prio()
212 int32_t ctx_prio; in amdgpu_ctx_init_entity() local
[all …]
H A Damdgpu_ctx.h84 bool amdgpu_ctx_priority_is_valid(int32_t ctx_prio);
85 void amdgpu_ctx_priority_override(struct amdgpu_ctx *ctx, int32_t ctx_prio);