Lines Matching refs:ctx_prio
48 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
220 ctx_prio = (ctx->override_priority == AMDGPU_CTX_PRIORITY_UNSET) ? in amdgpu_ctx_init_entity()
225 drm_prio = amdgpu_ctx_to_drm_sched_prio(ctx_prio); in amdgpu_ctx_init_entity()
841 int32_t ctx_prio; in amdgpu_ctx_priority_override() local
846 ctx_prio = (ctx->override_priority == AMDGPU_CTX_PRIORITY_UNSET) ? in amdgpu_ctx_priority_override()
854 i, ctx_prio); in amdgpu_ctx_priority_override()