Home
last modified time | relevance | path

Searched refs:hw_prio (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.c141 unsigned int hw_prio; in amdgpu_ctx_get_hw_prio() local
150 hw_prio = amdgpu_ctx_prio_to_gfx_pipe_prio(ctx_prio); in amdgpu_ctx_get_hw_prio()
154 hw_prio = amdgpu_ctx_sched_prio_to_ring_prio(ctx_prio); in amdgpu_ctx_get_hw_prio()
157 hw_prio = AMDGPU_RING_PRIO_DEFAULT; in amdgpu_ctx_get_hw_prio()
162 if (adev->gpu_sched[hw_ip][hw_prio].num_scheds == 0) in amdgpu_ctx_get_hw_prio()
163 hw_prio = AMDGPU_RING_PRIO_DEFAULT; in amdgpu_ctx_get_hw_prio()
165 return hw_prio; in amdgpu_ctx_get_hw_prio()
210 unsigned int hw_prio, num_scheds; in amdgpu_ctx_init_entity() local
223 hw_prio = amdgpu_ctx_get_hw_prio(ctx, hw_ip); in amdgpu_ctx_init_entity()
229 scheds = adev->gpu_sched[hw_ip][hw_prio].sched; in amdgpu_ctx_init_entity()
[all …]
Damdgpu_ring_mux.c88 if (mux->ring_entry[i].ring->hw_prio <= AMDGPU_RING_PRIO_DEFAULT) { in amdgpu_mux_resubmit_chunks()
220 if (ring->hw_prio <= AMDGPU_RING_PRIO_DEFAULT) in amdgpu_ring_mux_set_wptr()
231 if (ring->hw_prio <= AMDGPU_RING_PRIO_DEFAULT && mux->pending_trailing_fence_signaled) { in amdgpu_ring_mux_set_wptr()
238 if (ring->hw_prio <= AMDGPU_RING_PRIO_DEFAULT && e->sw_cptr < mux->wptr_resubmit) in amdgpu_ring_mux_set_wptr()
244 if (ring->hw_prio > AMDGPU_RING_PRIO_DEFAULT || mux->wptr_resubmit < wptr) { in amdgpu_ring_mux_set_wptr()
371 if (ring->hw_prio > AMDGPU_RING_PRIO_DEFAULT && in amdgpu_mcbp_scan()
374 if (ring->hw_prio <= AMDGPU_RING_PRIO_DEFAULT && in amdgpu_mcbp_scan()
400 if (adev->gfx.mcbp && ring->hw_prio > AMDGPU_RING_PRIO_DEFAULT) { in amdgpu_sw_ring_ib_begin()
415 if (ring->hw_prio > AMDGPU_RING_PRIO_DEFAULT) in amdgpu_sw_ring_ib_end()
426 if (ring->hw_prio > AMDGPU_RING_PRIO_DEFAULT) in amdgpu_sw_ring_ib_mark_offset()
[all …]
Daqua_vanjaram.c113 .gpu_sched[ring->funcs->type][ring->hw_prio].num_scheds; in aqua_vanjaram_xcp_gpu_sched_update()
114 adev->xcp_mgr->xcp[sel_xcp_id].gpu_sched[ring->funcs->type][ring->hw_prio] in aqua_vanjaram_xcp_gpu_sched_update()
118 ring->hw_prio, *num_gpu_sched); in aqua_vanjaram_xcp_gpu_sched_update()
172 u32 hw_prio, in aqua_vanjaram_select_scheds() argument
196 if (adev->xcp_mgr->xcp[sel_xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds) { in aqua_vanjaram_select_scheds()
197 *num_scheds = adev->xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].num_scheds; in aqua_vanjaram_select_scheds()
198 *scheds = adev->xcp_mgr->xcp[fpriv->xcp_id].gpu_sched[hw_ip][hw_prio].sched; in aqua_vanjaram_select_scheds()
Damdgpu_ring.c198 unsigned int irq_type, unsigned int hw_prio, in amdgpu_ring_init() argument
353 ring->hw_prio = hw_prio; in amdgpu_ring_init()
357 num_sched = &adev->gpu_sched[hw_ip][hw_prio].num_scheds; in amdgpu_ring_init()
358 adev->gpu_sched[hw_ip][hw_prio].sched[(*num_sched)++] = in amdgpu_ring_init()
Damdgpu_ib.c210 ring->hw_prio == AMDGPU_GFX_PIPE_PRIO_HIGH) in amdgpu_ib_schedule()
313 ring->hw_prio == AMDGPU_GFX_PIPE_PRIO_HIGH) in amdgpu_ib_schedule()
Damdgpu_xcp.h117 u32 hw_ip, u32 hw_prio, struct amdgpu_fpriv *fpriv,
Dvce_v2_0.c434 enum amdgpu_ring_priority_level hw_prio = amdgpu_vce_get_ring_prio(i); in vce_v2_0_sw_init() local
439 hw_prio, NULL); in vce_v2_0_sw_init()
Damdgpu_ring.h291 int hw_prio; member
348 unsigned int irq_type, unsigned int hw_prio,
Dvce_v3_0.c443 enum amdgpu_ring_priority_level hw_prio = amdgpu_vce_get_ring_prio(i); in vce_v3_0_sw_init() local
448 hw_prio, NULL); in vce_v3_0_sw_init()
Dvce_v4_0.c466 enum amdgpu_ring_priority_level hw_prio = amdgpu_vce_get_ring_prio(i); in vce_v4_0_sw_init() local
484 hw_prio, NULL); in vce_v4_0_sw_init()
Dvcn_v2_0.c159 enum amdgpu_ring_priority_level hw_prio = amdgpu_vcn_get_enc_ring_prio(i); in vcn_v2_0_sw_init() local
170 hw_prio, NULL); in vcn_v2_0_sw_init()
Dvcn_v1_0.c142 enum amdgpu_ring_priority_level hw_prio = amdgpu_vcn_get_enc_ring_prio(i); in vcn_v1_0_sw_init() local
148 hw_prio, NULL); in vcn_v1_0_sw_init()
Dvcn_v2_5.c202 enum amdgpu_ring_priority_level hw_prio = amdgpu_vcn_get_enc_ring_prio(i); in vcn_v2_5_sw_init() local
218 hw_prio, NULL); in vcn_v2_5_sw_init()
Dgfx_v9_0.c1970 unsigned int hw_prio; in gfx_v9_0_compute_ring_init() local
1990 hw_prio = amdgpu_gfx_is_high_priority_compute_queue(adev, ring) ? in gfx_v9_0_compute_ring_init()
1994 hw_prio, NULL); in gfx_v9_0_compute_ring_init()
2003 unsigned int hw_prio; in gfx_v9_0_sw_init() local
2101 hw_prio = amdgpu_sw_ring_priority(i); in gfx_v9_0_sw_init()
2104 AMDGPU_CP_IRQ_GFX_ME0_PIPE0_EOP, hw_prio, in gfx_v9_0_sw_init()
Dvcn_v3_0.c201 enum amdgpu_ring_priority_level hw_prio = amdgpu_vcn_get_enc_ring_prio(j); in vcn_v3_0_sw_init() local
219 hw_prio, &adev->vcn.inst[i].sched_score); in vcn_v3_0_sw_init()
Dgfx_v11_0.c938 unsigned int hw_prio; in gfx_v11_0_compute_ring_init() local
958 hw_prio = amdgpu_gfx_is_high_priority_compute_queue(adev, ring) ? in gfx_v11_0_compute_ring_init()
962 hw_prio, NULL); in gfx_v11_0_compute_ring_init()
5167 ring->hw_prio); in gfx_v11_0_ring_set_wptr_gfx()
5230 ring->hw_prio); in gfx_v11_0_ring_set_wptr_compute()
Dgfx_v9_4_3.c744 unsigned int hw_prio; in gfx_v9_4_3_compute_ring_init() local
771 hw_prio = amdgpu_gfx_is_high_priority_compute_queue(adev, ring) ? in gfx_v9_4_3_compute_ring_init()
775 hw_prio, NULL); in gfx_v9_4_3_compute_ring_init()
Dsdma_v6_0.c172 ring->hw_prio); in sdma_v6_0_ring_set_wptr()
Dgfx_v10_0.c4426 unsigned int hw_prio; in gfx_v10_0_gfx_ring_init() local
4445 hw_prio = amdgpu_gfx_is_high_priority_graphics_queue(adev, ring) ? in gfx_v10_0_gfx_ring_init()
4448 hw_prio, NULL); in gfx_v10_0_gfx_ring_init()
4456 unsigned int hw_prio; in gfx_v10_0_compute_ring_init() local
4476 hw_prio = amdgpu_gfx_is_high_priority_compute_queue(adev, ring) ? in gfx_v10_0_compute_ring_init()
4480 hw_prio, NULL); in gfx_v10_0_compute_ring_init()
Dgfx_v8_0.c1866 unsigned int hw_prio; in gfx_v8_0_compute_ring_init() local
1886 hw_prio = amdgpu_gfx_is_high_priority_compute_queue(adev, ring) ? in gfx_v8_0_compute_ring_init()
1890 hw_prio, NULL); in gfx_v8_0_compute_ring_init()
/linux-6.6.21/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c465 unsigned int idx, hw_prio; in rtl8180_tx() local
585 hw_prio = rtl8187se_queues_map[prio]; in rtl8180_tx()
587 (1 << hw_prio)); in rtl8180_tx()
589 hw_prio = rtl8180_queues_map[prio]; in rtl8180_tx()
591 (1 << hw_prio) | /* ring to poll */ in rtl8180_tx()