Home
last modified time | relevance | path

Searched refs:ring_enc (Results 1 – 13 of 13) sorted by relevance

/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Dvcn_v4_0.c170 ring = &adev->vcn.inst[i].ring_enc[j]; in vcn_v4_0_sw_init()
263 ring = &adev->vcn.inst[i].ring_enc[0]; in vcn_v4_0_hw_init()
275 ring = &adev->vcn.inst[i].ring_enc[j]; in vcn_v4_0_hw_init()
978 ring = &adev->vcn.inst[inst_idx].ring_enc[0]; in vcn_v4_0_start_dpg_mode()
1015 ring = &adev->vcn.inst[inst_idx].ring_enc[i]; in vcn_v4_0_start_dpg_mode()
1018 ring = &adev->vcn.inst[inst_idx].ring_enc[1]; in vcn_v4_0_start_dpg_mode()
1031 ring = &adev->vcn.inst[inst_idx].ring_enc[0]; in vcn_v4_0_start_dpg_mode()
1198 ring = &adev->vcn.inst[i].ring_enc[0]; in vcn_v4_0_start()
1231 ring = &adev->vcn.inst[i].ring_enc[0]; in vcn_v4_0_start()
1244 ring = &adev->vcn.inst[i].ring_enc[1]; in vcn_v4_0_start()
[all …]
Duvd_v7_0.c89 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_get_rptr()
123 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_get_wptr()
161 if (ring == &adev->uvd.inst[ring->me].ring_enc[0]) in uvd_v7_0_enc_ring_set_wptr()
456 ring = &adev->uvd.inst[j].ring_enc[i]; in uvd_v7_0_sw_init()
507 amdgpu_ring_fini(&adev->uvd.inst[j].ring_enc[i]); in uvd_v7_0_sw_fini()
577 ring = &adev->uvd.inst[j].ring_enc[i]; in uvd_v7_0_hw_init()
756 WDOORBELL32(adev->uvd.inst[i].ring_enc[0].doorbell_index, 0); in uvd_v7_0_mmsch_start()
757 *adev->uvd.inst[i].ring_enc[0].wptr_cpu_addr = 0; in uvd_v7_0_mmsch_start()
758 adev->uvd.inst[i].ring_enc[0].wptr = 0; in uvd_v7_0_mmsch_start()
759 adev->uvd.inst[i].ring_enc[0].wptr_old = 0; in uvd_v7_0_mmsch_start()
[all …]
Duvd_v6_0.c95 if (ring == &adev->uvd.inst->ring_enc[0]) in uvd_v6_0_enc_ring_get_rptr()
125 if (ring == &adev->uvd.inst->ring_enc[0]) in uvd_v6_0_enc_ring_get_wptr()
156 if (ring == &adev->uvd.inst->ring_enc[0]) in uvd_v6_0_enc_ring_set_wptr()
404 adev->uvd.inst->ring_enc[i].funcs = NULL; in uvd_v6_0_sw_init()
425 ring = &adev->uvd.inst->ring_enc[i]; in uvd_v6_0_sw_init()
451 amdgpu_ring_fini(&adev->uvd.inst->ring_enc[i]); in uvd_v6_0_sw_fini()
508 ring = &adev->uvd.inst->ring_enc[i]; in uvd_v6_0_hw_init()
862 ring = &adev->uvd.inst->ring_enc[0]; in uvd_v6_0_start()
869 ring = &adev->uvd.inst->ring_enc[1]; in uvd_v6_0_start()
1258 amdgpu_fence_process(&adev->uvd.inst->ring_enc[0]); in uvd_v6_0_process_interrupt()
[all …]
Dvcn_v2_5.c197 ring = &adev->vcn.inst[j].ring_enc[i]; in vcn_v2_5_sw_init()
287 adev->vcn.inst[j].ring_enc[0].sched.ready = true; in vcn_v2_5_hw_init()
288 adev->vcn.inst[j].ring_enc[1].sched.ready = false; in vcn_v2_5_hw_init()
289 adev->vcn.inst[j].ring_enc[2].sched.ready = false; in vcn_v2_5_hw_init()
303 ring = &adev->vcn.inst[j].ring_enc[i]; in vcn_v2_5_hw_init()
1089 ring = &adev->vcn.inst[i].ring_enc[0]; in vcn_v2_5_start()
1098 ring = &adev->vcn.inst[i].ring_enc[1]; in vcn_v2_5_start()
1259 ring = &adev->vcn.inst[i].ring_enc[0]; in vcn_v2_5_sriov_start()
1439 ring = &adev->vcn.inst[inst_idx].ring_enc[0]; in vcn_v2_5_pause_dpg_mode()
1449 ring = &adev->vcn.inst[inst_idx].ring_enc[1]; in vcn_v2_5_pause_dpg_mode()
[all …]
Dvcn_v2_0.c159 ring = &adev->vcn.inst->ring_enc[i]; in vcn_v2_0_sw_init()
244 ring = &adev->vcn.inst->ring_enc[i]; in vcn_v2_0_hw_init()
1082 ring = &adev->vcn.inst->ring_enc[0]; in vcn_v2_0_start()
1091 ring = &adev->vcn.inst->ring_enc[1]; in vcn_v2_0_start()
1235 ring = &adev->vcn.inst->ring_enc[0]; in vcn_v2_0_pause_dpg_mode()
1245 ring = &adev->vcn.inst->ring_enc[1]; in vcn_v2_0_pause_dpg_mode()
1552 if (ring == &adev->vcn.inst->ring_enc[0]) in vcn_v2_0_enc_ring_get_rptr()
1569 if (ring == &adev->vcn.inst->ring_enc[0]) { in vcn_v2_0_enc_ring_get_wptr()
1593 if (ring == &adev->vcn.inst->ring_enc[0]) { in vcn_v2_0_enc_ring_set_wptr()
1709 amdgpu_fence_process(&adev->vcn.inst->ring_enc[0]); in vcn_v2_0_process_interrupt()
[all …]
Dvcn_v1_0.c142 ring = &adev->vcn.inst->ring_enc[i]; in vcn_v1_0_sw_init()
205 ring = &adev->vcn.inst->ring_enc[i]; in vcn_v1_0_hw_init()
941 ring = &adev->vcn.inst->ring_enc[0]; in vcn_v1_0_start_spg_mode()
948 ring = &adev->vcn.inst->ring_enc[1]; in vcn_v1_0_start_spg_mode()
1243 ring = &adev->vcn.inst->ring_enc[0]; in vcn_v1_0_pause_dpg_mode()
1250 ring = &adev->vcn.inst->ring_enc[1]; in vcn_v1_0_pause_dpg_mode()
1589 if (ring == &adev->vcn.inst->ring_enc[0]) in vcn_v1_0_enc_ring_get_rptr()
1606 if (ring == &adev->vcn.inst->ring_enc[0]) in vcn_v1_0_enc_ring_get_wptr()
1623 if (ring == &adev->vcn.inst->ring_enc[0]) in vcn_v1_0_enc_ring_set_wptr()
1732 amdgpu_fence_process(&adev->vcn.inst->ring_enc[0]); in vcn_v1_0_process_interrupt()
[all …]
Dvcn_v3_0.c207 ring = &adev->vcn.inst[i].ring_enc[j]; in vcn_v3_0_sw_init()
321 ring = &adev->vcn.inst[i].ring_enc[j]; in vcn_v3_0_hw_init()
349 ring = &adev->vcn.inst[i].ring_enc[j]; in vcn_v3_0_hw_init()
1259 ring = &adev->vcn.inst[i].ring_enc[0]; in vcn_v3_0_start()
1268 ring = &adev->vcn.inst[i].ring_enc[1]; in vcn_v3_0_start()
1391 ring = &adev->vcn.inst[i].ring_enc[j]; in vcn_v3_0_start_sriov()
1634 ring = &adev->vcn.inst[inst_idx].ring_enc[0]; in vcn_v3_0_pause_dpg_mode()
1644 ring = &adev->vcn.inst[inst_idx].ring_enc[1]; in vcn_v3_0_pause_dpg_mode()
1933 if (ring == &adev->vcn.inst[ring->me].ring_enc[0]) in vcn_v3_0_enc_ring_get_rptr()
1950 if (ring == &adev->vcn.inst[ring->me].ring_enc[0]) { in vcn_v3_0_enc_ring_get_wptr()
[all …]
Damdgpu_uvd.h46 struct amdgpu_ring ring_enc[AMDGPU_MAX_UVD_ENC_RINGS]; member
Damdgpu_vcn.h229 struct amdgpu_ring ring_enc[AMDGPU_VCN_MAX_ENC_RINGS]; member
Damdgpu_vcn.c322 amdgpu_ring_fini(&adev->vcn.inst[j].ring_enc[i]); in amdgpu_vcn_sw_fini()
433 fence[j] += amdgpu_fence_count_emitted(&adev->vcn.inst[j].ring_enc[i]); in amdgpu_vcn_idle_work_handler()
493 fences += amdgpu_fence_count_emitted(&adev->vcn.inst[ring->me].ring_enc[i]); in amdgpu_vcn_ring_begin_use()
Damdgpu_uvd.c394 amdgpu_ring_fini(&adev->uvd.inst[j].ring_enc[i]); in amdgpu_uvd_sw_fini()
1280 fences += amdgpu_fence_count_emitted(&adev->uvd.inst[i].ring_enc[j]); in amdgpu_uvd_idle_work_handler()
Djpeg_v1_0.c608 if (amdgpu_fence_wait_empty(&adev->vcn.inst->ring_enc[cnt])) in jpeg_v1_0_ring_begin_use()
Damdgpu_kms.c414 if (adev->uvd.inst[i].ring_enc[j].sched.ready) in amdgpu_hw_ip_info()
439 if (adev->vcn.inst[i].ring_enc[j].sched.ready) in amdgpu_hw_ip_info()