Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.c201 ring == &adev->gfx.compute_ring[0]) in amdgpu_gfx_is_high_priority_compute_queue()
447 ring = &adev->gfx.compute_ring[j]; in amdgpu_gfx_mqd_sw_init()
488 ring = &adev->gfx.compute_ring[j]; in amdgpu_gfx_mqd_sw_fini()
522 &adev->gfx.compute_ring[j], in amdgpu_gfx_disable_kcq()
625 &adev->gfx.compute_ring[j]); in amdgpu_gfx_enable_kcq()
H A Dgfx_v6_0.c2113 else if (ring == &adev->gfx.compute_ring[0]) in gfx_v6_0_ring_get_wptr()
2115 else if (ring == &adev->gfx.compute_ring[1]) in gfx_v6_0_ring_get_wptr()
2133 if (ring == &adev->gfx.compute_ring[0]) { in gfx_v6_0_ring_set_wptr_compute()
2136 } else if (ring == &adev->gfx.compute_ring[1]) { in gfx_v6_0_ring_set_wptr_compute()
2156 ring = &adev->gfx.compute_ring[0]; in gfx_v6_0_cp_compute_resume()
2176 ring = &adev->gfx.compute_ring[1]; in gfx_v6_0_cp_compute_resume()
2197 r = amdgpu_ring_test_helper(&adev->gfx.compute_ring[i]); in gfx_v6_0_cp_compute_resume()
3092 ring = &adev->gfx.compute_ring[i]; in gfx_v6_0_sw_init()
3119 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v6_0_sw_fini()
3360 ring = &adev->gfx.compute_ring[entry->ring_id - 1]; in gfx_v6_0_fault()
[all …]
H A 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()
H A Damdgpu_amdkfd_arcturus.c291 struct amdgpu_ring *ring = &adev->gfx.compute_ring[i]; in suspend_resume_compute_scheduler()
H A Dgfx_v9_4_3.c743 struct amdgpu_ring *ring = &adev->gfx.compute_ring[ring_id]; in gfx_v9_4_3_compute_ring_init()
747 ring = &adev->gfx.compute_ring[xcc_id * adev->gfx.num_compute_rings + in gfx_v9_4_3_compute_ring_init()
884 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v9_4_3_sw_fini()
1803 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v9_4_3_xcc_kcq_init_queue()
1843 ring = &adev->gfx.compute_ring[j + xcc_id * adev->gfx.num_compute_rings]; in gfx_v9_4_3_xcc_kcq_fini_register()
1890 ring = &adev->gfx.compute_ring[i + xcc_id * adev->gfx.num_compute_rings]; in gfx_v9_4_3_xcc_kcq_resume()
1935 ring = &adev->gfx.compute_ring in gfx_v9_4_3_xcc_cp_resume()
2876 ring = &adev->gfx.compute_ring in gfx_v9_4_3_eop_irq()
2912 ring = &adev->gfx.compute_ring in gfx_v9_4_3_fault()
4193 adev->gfx.compute_ring[j + i * adev->gfx.num_compute_rings].funcs in gfx_v9_4_3_set_ring_funcs()
H A Dgfx_v8_0.c1490 struct amdgpu_ring *ring = &adev->gfx.compute_ring[0]; in gfx_v8_0_do_edc_gpr_workarounds()
1868 ring = &adev->gfx.compute_ring[ring_id]; in gfx_v8_0_compute_ring_init()
2052 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v8_0_sw_fini()
4352 struct amdgpu_ring *ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_kiq_kcq_enable()
4639 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v8_0_kcq_init_queue()
4706 ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_kcq_resume()
4749 ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_cp_test_all_rings()
4817 struct amdgpu_ring *ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_kcq_disable()
5016 struct amdgpu_ring *ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_pre_soft_reset()
6620 ring = &adev->gfx.compute_ring[i]; in gfx_v8_0_eop_irq()
[all …]
H A Dgfx_v7_0.c2713 struct amdgpu_ring *ring = &adev->gfx.compute_ring[i]; in gfx_v7_0_cp_compute_fini()
3002 struct amdgpu_ring *ring = &adev->gfx.compute_ring[ring_id]; in gfx_v7_0_compute_queue_init()
3064 ring = &adev->gfx.compute_ring[i]; in gfx_v7_0_cp_compute_resume()
4357 struct amdgpu_ring *ring = &adev->gfx.compute_ring[ring_id]; in gfx_v7_0_compute_ring_init()
4488 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v7_0_sw_fini()
4839 ring = &adev->gfx.compute_ring[i]; in gfx_v7_0_eop_irq()
4864 ring = &adev->gfx.compute_ring[i]; in gfx_v7_0_fault()
5054 adev->gfx.compute_ring[i].funcs = &gfx_v7_0_ring_funcs_compute; in gfx_v7_0_set_ring_funcs()
H A Damdgpu_mes.c1043 ring->funcs = adev->gfx.compute_ring[0].funcs; in amdgpu_mes_add_ring()
1044 ring->me = adev->gfx.compute_ring[0].me; in amdgpu_mes_add_ring()
1045 ring->pipe = adev->gfx.compute_ring[0].pipe; in amdgpu_mes_add_ring()
H A Damdgpu_gfx.h394 struct amdgpu_ring compute_ring[AMDGPU_MAX_COMPUTE_RINGS * AMDGPU_MAX_GC_INSTANCES]; member
H A Dgfx_v9_0.c1973 struct amdgpu_ring *ring = &adev->gfx.compute_ring[ring_id]; in gfx_v9_0_compute_ring_init()
1976 ring = &adev->gfx.compute_ring[ring_id]; in gfx_v9_0_compute_ring_init()
2197 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v9_0_sw_fini()
3585 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v9_0_kcq_init_queue()
3651 ring = &adev->gfx.compute_ring[i]; in gfx_v9_0_kcq_resume()
3715 ring = &adev->gfx.compute_ring[i]; in gfx_v9_0_cp_resume()
4301 struct amdgpu_ring *ring = &adev->gfx.compute_ring[0]; in gfx_v9_0_do_edc_gds_workarounds()
4348 struct amdgpu_ring *ring = &adev->gfx.compute_ring[0]; in gfx_v9_0_do_edc_gpr_workarounds()
5926 ring = &adev->gfx.compute_ring[i]; in gfx_v9_0_eop_irq()
5956 ring = &adev->gfx.compute_ring[i]; in gfx_v9_0_fault()
[all …]
H A Dgfx_v11_0.c940 ring = &adev->gfx.compute_ring[ring_id]; in gfx_v11_0_compute_ring_init()
1509 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v11_0_sw_fini()
4021 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v11_0_kcq_init_queue()
4080 ring = &adev->gfx.compute_ring[i]; in gfx_v11_0_kcq_resume()
4159 ring = &adev->gfx.compute_ring[i]; in gfx_v11_0_cp_resume()
4567 ring = &adev->gfx.compute_ring[i]; in gfx_v11_0_check_soft_reset()
5880 ring = &adev->gfx.compute_ring[i]; in gfx_v11_0_eop_irq()
5958 ring = &adev->gfx.compute_ring[i]; in gfx_v11_0_handle_priv_fault()
6209 adev->gfx.compute_ring[i].funcs = &gfx_v11_0_ring_funcs_compute; in gfx_v11_0_set_ring_funcs()
H A Damdgpu_amdkfd.c660 ring = &adev->gfx.compute_ring[0]; in amdgpu_amdkfd_submit_ib()
H A Dgfx_v10_0.c4458 ring = &adev->gfx.compute_ring[ring_id]; in gfx_v10_0_compute_ring_init()
4668 amdgpu_ring_fini(&adev->gfx.compute_ring[i]); in gfx_v10_0_sw_fini()
6766 int mqd_idx = ring - &adev->gfx.compute_ring[0]; in gfx_v10_0_kcq_init_queue()
6823 ring = &adev->gfx.compute_ring[i]; in gfx_v10_0_kcq_resume()
6892 ring = &adev->gfx.compute_ring[i]; in gfx_v10_0_cp_resume()
8931 ring = &adev->gfx.compute_ring[i]; in gfx_v10_0_eop_irq()
9009 ring = &adev->gfx.compute_ring[i]; in gfx_v10_0_handle_priv_fault()
9270 adev->gfx.compute_ring[i].funcs = &gfx_v10_0_ring_funcs_compute; in gfx_v10_0_set_ring_funcs()
H A Damdgpu_kms.c387 if (adev->gfx.compute_ring[i].sched.ready) in amdgpu_hw_ip_info()