Home
last modified time | relevance | path

Searched refs:ring_dec (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Djpeg_v4_0_3.c111 ring = &adev->jpeg.inst[i].ring_dec[j]; in jpeg_v4_0_3_sw_init()
213 ring = &adev->jpeg.inst[i].ring_dec[j]; in jpeg_v4_0_3_start_sriov()
308 ring = &adev->jpeg.inst[i].ring_dec[j]; in jpeg_v4_0_3_hw_init()
319 ring = adev->jpeg.inst[i].ring_dec; in jpeg_v4_0_3_hw_init()
329 ring = &adev->jpeg.inst[i].ring_dec[j]; in jpeg_v4_0_3_hw_init()
507 ring = &adev->jpeg.inst[i].ring_dec[j]; in jpeg_v4_0_3_start()
997 amdgpu_fence_process(&adev->jpeg.inst[inst].ring_dec[0]); in jpeg_v4_0_3_process_interrupt()
1000 amdgpu_fence_process(&adev->jpeg.inst[inst].ring_dec[1]); in jpeg_v4_0_3_process_interrupt()
1003 amdgpu_fence_process(&adev->jpeg.inst[inst].ring_dec[2]); in jpeg_v4_0_3_process_interrupt()
1006 amdgpu_fence_process(&adev->jpeg.inst[inst].ring_dec[3]); in jpeg_v4_0_3_process_interrupt()
[all …]
Djpeg_v3_0.c102 ring = adev->jpeg.inst->ring_dec; in jpeg_v3_0_sw_init()
148 struct amdgpu_ring *ring = adev->jpeg.inst->ring_dec; in jpeg_v3_0_hw_init()
334 struct amdgpu_ring *ring = adev->jpeg.inst->ring_dec; in jpeg_v3_0_start()
531 amdgpu_fence_process(adev->jpeg.inst->ring_dec); in jpeg_v3_0_process_interrupt()
593 adev->jpeg.inst->ring_dec->funcs = &jpeg_v3_0_dec_ring_vm_funcs; in jpeg_v3_0_set_dec_ring_funcs()
Djpeg_v2_5.c129 ring = adev->jpeg.inst[i].ring_dec; in jpeg_v2_5_sw_init()
190 ring = adev->jpeg.inst[i].ring_dec; in jpeg_v2_5_hw_init()
333 ring = adev->jpeg.inst[i].ring_dec; in jpeg_v2_5_start()
606 amdgpu_fence_process(adev->jpeg.inst[ip_instance].ring_dec); in jpeg_v2_5_process_interrupt()
723 adev->jpeg.inst[i].ring_dec->funcs = &jpeg_v2_5_dec_ring_vm_funcs; in jpeg_v2_5_set_dec_ring_funcs()
725 adev->jpeg.inst[i].ring_dec->funcs = &jpeg_v2_6_dec_ring_vm_funcs; in jpeg_v2_5_set_dec_ring_funcs()
726 adev->jpeg.inst[i].ring_dec->me = i; in jpeg_v2_5_set_dec_ring_funcs()
Djpeg_v1_0.c440 amdgpu_fence_process(adev->jpeg.inst->ring_dec); in jpeg_v1_0_process_interrupt()
488 ring = adev->jpeg.inst->ring_dec; in jpeg_v1_0_sw_init()
513 amdgpu_ring_fini(adev->jpeg.inst->ring_dec); in jpeg_v1_0_sw_fini()
526 struct amdgpu_ring *ring = adev->jpeg.inst->ring_dec; in jpeg_v1_0_start()
583 adev->jpeg.inst->ring_dec->funcs = &jpeg_v1_0_decode_ring_vm_funcs; in jpeg_v1_0_set_dec_ring_funcs()
605 if (amdgpu_fence_wait_empty(&adev->vcn.inst->ring_dec)) in jpeg_v1_0_ring_begin_use()
Djpeg_v4_0.c109 ring = adev->jpeg.inst->ring_dec; in jpeg_v4_0_sw_init()
160 struct amdgpu_ring *ring = adev->jpeg.inst->ring_dec; in jpeg_v4_0_hw_init()
368 struct amdgpu_ring *ring = adev->jpeg.inst->ring_dec; in jpeg_v4_0_start()
446 ring = adev->jpeg.inst->ring_dec; in jpeg_v4_0_start_sriov()
691 amdgpu_fence_process(adev->jpeg.inst->ring_dec); in jpeg_v4_0_process_interrupt()
753 adev->jpeg.inst->ring_dec->funcs = &jpeg_v4_0_dec_ring_vm_funcs; in jpeg_v4_0_set_dec_ring_funcs()
Dvcn_v1_0.c122 ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_sw_init()
200 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_hw_init()
214 ring = adev->jpeg.inst->ring_dec; in vcn_v1_0_hw_init()
791 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_spg_mode()
965 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_start_dpg_mode()
1260 ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_pause_dpg_mode()
1307 ring = adev->jpeg.inst->ring_dec; in vcn_v1_0_pause_dpg_mode()
1321 ring = &adev->vcn.inst->ring_dec; in vcn_v1_0_pause_dpg_mode()
1732 amdgpu_fence_process(&adev->vcn.inst->ring_dec); in vcn_v1_0_process_interrupt()
1805 if (amdgpu_fence_count_emitted(adev->jpeg.inst->ring_dec)) in vcn_v1_0_idle_work_handler()
[all …]
Djpeg_v2_0.c87 ring = adev->jpeg.inst->ring_dec; in jpeg_v2_0_sw_init()
133 struct amdgpu_ring *ring = adev->jpeg.inst->ring_dec; in jpeg_v2_0_hw_init()
316 struct amdgpu_ring *ring = adev->jpeg.inst->ring_dec; in jpeg_v2_0_start()
733 amdgpu_fence_process(adev->jpeg.inst->ring_dec); in jpeg_v2_0_process_interrupt()
795 adev->jpeg.inst->ring_dec->funcs = &jpeg_v2_0_dec_ring_vm_funcs; in jpeg_v2_0_set_dec_ring_funcs()
Damdgpu_jpeg.h40 struct amdgpu_ring ring_dec[AMDGPU_MAX_JPEG_RINGS]; member
Damdgpu_jpeg.c55 amdgpu_ring_fini(&adev->jpeg.inst[i].ring_dec[j]); in amdgpu_jpeg_sw_fini()
87 fences += amdgpu_fence_count_emitted(&adev->jpeg.inst[i].ring_dec[j]); in amdgpu_jpeg_idle_work_handler()
Dvcn_v2_0.c128 ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_sw_init()
229 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_hw_init()
798 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_start_dpg_mode()
933 struct amdgpu_ring *ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_start()
1707 amdgpu_fence_process(&adev->vcn.inst->ring_dec); in vcn_v2_0_process_interrupt()
1819 adev->vcn.inst->ring_dec.wptr = 0; in vcn_v2_0_start_mmsch()
1820 adev->vcn.inst->ring_dec.wptr_old = 0; in vcn_v2_0_start_mmsch()
1821 vcn_v2_0_dec_ring_set_wptr(&adev->vcn.inst->ring_dec); in vcn_v2_0_start_mmsch()
1963 ring = &adev->vcn.inst->ring_dec; in vcn_v2_0_start_sriov()
2074 adev->vcn.inst->ring_dec.funcs = &vcn_v2_0_dec_ring_vm_funcs; in vcn_v2_0_set_dec_ring_funcs()
Dvcn_v2_5.c184 ring = &adev->vcn.inst[j].ring_dec; in vcn_v2_5_sw_init()
306 adev->vcn.inst[j].ring_dec.sched.ready = true; in vcn_v2_5_hw_init()
309 ring = &adev->vcn.inst[j].ring_dec; in vcn_v2_5_hw_init()
917 ring = &adev->vcn.inst[inst_idx].ring_dec; in vcn_v2_5_start_dpg_mode()
1109 ring = &adev->vcn.inst[i].ring_dec; in vcn_v2_5_start()
1318 ring = &adev->vcn.inst[i].ring_dec; in vcn_v2_5_sriov_start()
1708 adev->vcn.inst[i].ring_dec.funcs = &vcn_v2_5_dec_ring_vm_funcs; in vcn_v2_5_set_dec_ring_funcs()
1709 adev->vcn.inst[i].ring_dec.me = i; in vcn_v2_5_set_dec_ring_funcs()
1841 amdgpu_fence_process(&adev->vcn.inst[ip_instance].ring_dec); in vcn_v2_5_process_interrupt()
Dvcn_v3_0.c185 ring = &adev->vcn.inst[i].ring_dec; in vcn_v3_0_sw_init()
311 ring = &adev->vcn.inst[i].ring_dec; in vcn_v3_0_hw_init()
342 ring = &adev->vcn.inst[i].ring_dec; in vcn_v3_0_hw_init()
1042 ring = &adev->vcn.inst[inst_idx].ring_dec; in vcn_v3_0_start_dpg_mode()
1229 ring = &adev->vcn.inst[i].ring_dec; in vcn_v3_0_start()
1406 ring = &adev->vcn.inst[i].ring_dec; in vcn_v3_0_start_sriov()
2035 adev->vcn.inst[i].ring_dec.funcs = &vcn_v3_0_dec_ring_vm_funcs; in vcn_v3_0_set_dec_ring_funcs()
2037 adev->vcn.inst[i].ring_dec.funcs = &vcn_v3_0_dec_sw_ring_vm_funcs; in vcn_v3_0_set_dec_ring_funcs()
2038 adev->vcn.inst[i].ring_dec.me = i; in vcn_v3_0_set_dec_ring_funcs()
2176 amdgpu_fence_process(&adev->vcn.inst[ip_instance].ring_dec); in vcn_v3_0_process_interrupt()
Damdgpu_vcn.h241 struct amdgpu_ring ring_dec; member
Damdgpu_vcn.c249 amdgpu_ring_fini(&adev->vcn.inst[j].ring_dec); in amdgpu_vcn_sw_fini()
395 fence[j] += amdgpu_fence_count_emitted(&adev->vcn.inst[j].ring_dec); in amdgpu_vcn_idle_work_handler()
Damdgpu_kms.c438 if (adev->vcn.inst[i].ring_dec.sched.ready) in amdgpu_hw_ip_info()
466 if (adev->jpeg.inst[i].ring_dec[j].sched.ready) in amdgpu_hw_ip_info()