Home
last modified time | relevance | path

Searched refs:compute_ring (Results 1 – 12 of 12) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gfx.c168 ring == &adev->gfx.compute_ring[0]) in amdgpu_gfx_is_high_priority_compute_queue()
377 ring = &adev->gfx.compute_ring[i]; in amdgpu_gfx_mqd_sw_init()
413 ring = &adev->gfx.compute_ring[i]; in amdgpu_gfx_mqd_sw_fini()
444 kiq->pmf->kiq_unmap_queues(kiq_ring, &adev->gfx.compute_ring[i], in amdgpu_gfx_disable_kcq()
509 kiq->pmf->kiq_map_queues(kiq_ring, &adev->gfx.compute_ring[i]); in amdgpu_gfx_enable_kcq()
Dgfx_v6_0.c2127 else if (ring == &adev->gfx.compute_ring[0]) in gfx_v6_0_ring_get_wptr()
2129 else if (ring == &adev->gfx.compute_ring[1]) in gfx_v6_0_ring_get_wptr()
2147 if (ring == &adev->gfx.compute_ring[0]) { in gfx_v6_0_ring_set_wptr_compute()
2150 } else if (ring == &adev->gfx.compute_ring[1]) { in gfx_v6_0_ring_set_wptr_compute()
2170 ring = &adev->gfx.compute_ring[0]; in gfx_v6_0_cp_compute_resume()
2190 ring = &adev->gfx.compute_ring[1]; in gfx_v6_0_cp_compute_resume()
2211 r = amdgpu_ring_test_helper(&adev->gfx.compute_ring[i]); in gfx_v6_0_cp_compute_resume()
3104 ring = &adev->gfx.compute_ring[i]; in gfx_v6_0_sw_init()
3131 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v6_0_sw_fini()
3353 amdgpu_fence_process(&adev->gfx.compute_ring[entry->ring_id - 1]); in gfx_v6_0_eop_irq()
[all …]
Dgfx_v9_4_2.c501 if (!adev->gfx.compute_ring[0].sched.ready || in gfx_v9_4_2_do_sgprs_init()
502 !adev->gfx.compute_ring[1].sched.ready) in gfx_v9_4_2_do_sgprs_init()
516 &adev->gfx.compute_ring[0], in gfx_v9_4_2_do_sgprs_init()
541 &adev->gfx.compute_ring[1], in gfx_v9_4_2_do_sgprs_init()
581 &adev->gfx.compute_ring[0], in gfx_v9_4_2_do_sgprs_init()
645 if (!adev->gfx.compute_ring[0].sched.ready) in gfx_v9_4_2_do_vgprs_init()
659 &adev->gfx.compute_ring[0], in gfx_v9_4_2_do_vgprs_init()
Damdgpu_gfx.h314 struct amdgpu_ring compute_ring[AMDGPU_MAX_COMPUTE_RINGS]; member
Dgfx_v8_0.c1517 struct amdgpu_ring *ring = &adev->gfx.compute_ring[0]; in gfx_v8_0_do_edc_gpr_workarounds()
1892 struct amdgpu_ring *ring = &adev->gfx.compute_ring[ring_id]; in gfx_v8_0_compute_ring_init()
1895 ring = &adev->gfx.compute_ring[ring_id]; in gfx_v8_0_compute_ring_init()
2078 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v8_0_sw_fini()
4378 struct amdgpu_ring *ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_kiq_kcq_enable()
4664 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v8_0_kcq_init_queue()
4732 ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_kcq_resume()
4775 ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_cp_test_all_rings()
4843 struct amdgpu_ring *ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_kcq_disable()
5042 struct amdgpu_ring *ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_pre_soft_reset()
[all …]
Dgfx_v7_0.c2748 struct amdgpu_ring *ring = &adev->gfx.compute_ring[i]; in gfx_v7_0_cp_compute_fini()
3037 struct amdgpu_ring *ring = &adev->gfx.compute_ring[ring_id]; in gfx_v7_0_compute_queue_init()
3099 ring = &adev->gfx.compute_ring[i]; in gfx_v7_0_cp_compute_resume()
4391 struct amdgpu_ring *ring = &adev->gfx.compute_ring[ring_id]; in gfx_v7_0_compute_ring_init()
4521 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v7_0_sw_fini()
4872 ring = &adev->gfx.compute_ring[i]; in gfx_v7_0_eop_irq()
4897 ring = &adev->gfx.compute_ring[i]; in gfx_v7_0_fault()
5087 adev->gfx.compute_ring[i].funcs = &gfx_v7_0_ring_funcs_compute; in gfx_v7_0_set_ring_funcs()
Dgfx_v9_0.c2243 struct amdgpu_ring *ring = &adev->gfx.compute_ring[ring_id]; in gfx_v9_0_compute_ring_init()
2246 ring = &adev->gfx.compute_ring[ring_id]; in gfx_v9_0_compute_ring_init()
2419 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v9_0_sw_fini()
3772 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v9_0_kcq_init_queue()
3840 ring = &adev->gfx.compute_ring[i]; in gfx_v9_0_kcq_resume()
3904 ring = &adev->gfx.compute_ring[i]; in gfx_v9_0_cp_resume()
4489 struct amdgpu_ring *ring = &adev->gfx.compute_ring[0]; in gfx_v9_0_do_edc_gds_workarounds()
4536 struct amdgpu_ring *ring = &adev->gfx.compute_ring[0]; in gfx_v9_0_do_edc_gpr_workarounds()
5886 ring = &adev->gfx.compute_ring[i]; in gfx_v9_0_eop_irq()
5916 ring = &adev->gfx.compute_ring[i]; in gfx_v9_0_fault()
[all …]
Damdgpu_amdkfd.c640 ring = &adev->gfx.compute_ring[0]; in amdgpu_amdkfd_submit_ib()
Dgfx_v11_0.c1205 ring = &adev->gfx.compute_ring[ring_id]; in gfx_v11_0_compute_ring_init()
1751 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v11_0_sw_fini()
4297 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v11_0_kcq_init_queue()
4359 ring = &adev->gfx.compute_ring[i]; in gfx_v11_0_kcq_resume()
4438 ring = &adev->gfx.compute_ring[i]; in gfx_v11_0_cp_resume()
5952 ring = &adev->gfx.compute_ring[i]; in gfx_v11_0_eop_irq()
6030 ring = &adev->gfx.compute_ring[i]; in gfx_v11_0_handle_priv_fault()
6270 adev->gfx.compute_ring[i].funcs = &gfx_v11_0_ring_funcs_compute; in gfx_v11_0_set_ring_funcs()
Damdgpu_mes.c896 ring->funcs = adev->gfx.compute_ring[0].funcs; in amdgpu_mes_add_ring()
Dgfx_v10_0.c4743 ring = &adev->gfx.compute_ring[ring_id]; in gfx_v10_0_compute_ring_init()
4954 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v10_0_sw_fini()
7098 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v10_0_kcq_init_queue()
7157 ring = &adev->gfx.compute_ring[i]; in gfx_v10_0_kcq_resume()
7226 ring = &adev->gfx.compute_ring[i]; in gfx_v10_0_cp_resume()
9226 ring = &adev->gfx.compute_ring[i]; in gfx_v10_0_eop_irq()
9304 ring = &adev->gfx.compute_ring[i]; in gfx_v10_0_handle_priv_fault()
9569 adev->gfx.compute_ring[i].funcs = &gfx_v10_0_ring_funcs_compute; in gfx_v10_0_set_ring_funcs()
Damdgpu_kms.c374 if (adev->gfx.compute_ring[i].sched.ready) in amdgpu_hw_ip_info()