Lines Matching full:sdma

49 	u32 me = (ring == &adev->sdma.instance[0].ring) ? 0 : 1;  in si_dma_ring_get_wptr()
57 u32 me = (ring == &adev->sdma.instance[0].ring) ? 0 : 1; in si_dma_ring_set_wptr()
118 for (i = 0; i < adev->sdma.num_instances; i++) { in si_dma_stop()
133 for (i = 0; i < adev->sdma.num_instances; i++) { in si_dma_start()
134 ring = &adev->sdma.instance[i].ring; in si_dma_start()
348 * si_dma_vm_set_pte_pde - update the page tables using sDMA
357 * Update the page tables using sDMA (CIK).
429 * si_dma_ring_emit_vm_flush - cik vm flush using sDMA
436 * using sDMA (VI).
464 adev->sdma.num_instances = 2; in si_dma_early_init()
482 &adev->sdma.trap_irq); in si_dma_sw_init()
488 &adev->sdma.trap_irq); in si_dma_sw_init()
492 for (i = 0; i < adev->sdma.num_instances; i++) { in si_dma_sw_init()
493 ring = &adev->sdma.instance[i].ring; in si_dma_sw_init()
496 sprintf(ring->name, "sdma%d", i); in si_dma_sw_init()
498 &adev->sdma.trap_irq, in si_dma_sw_init()
514 for (i = 0; i < adev->sdma.num_instances; i++) in si_dma_sw_fini()
515 amdgpu_ring_fini(&adev->sdma.instance[i].ring); in si_dma_sw_fini()
631 amdgpu_fence_process(&adev->sdma.instance[0].ring); in si_dma_process_trap_irq()
633 amdgpu_fence_process(&adev->sdma.instance[1].ring); in si_dma_process_trap_irq()
648 for (i = 0; i < adev->sdma.num_instances; i++) { in si_dma_set_clockgating_state()
660 for (i = 0; i < adev->sdma.num_instances; i++) { in si_dma_set_clockgating_state()
744 for (i = 0; i < adev->sdma.num_instances; i++) in si_dma_set_ring_funcs()
745 adev->sdma.instance[i].ring.funcs = &si_dma_ring_funcs; in si_dma_set_ring_funcs()
755 adev->sdma.trap_irq.num_types = AMDGPU_SDMA_IRQ_LAST; in si_dma_set_irq_funcs()
756 adev->sdma.trap_irq.funcs = &si_dma_trap_irq_funcs; in si_dma_set_irq_funcs()
760 * si_dma_emit_copy_buffer - copy buffer using the sDMA engine
787 * si_dma_emit_fill_buffer - fill buffer using the sDMA engine
822 adev->mman.buffer_funcs_ring = &adev->sdma.instance[0].ring; in si_dma_set_buffer_funcs()
838 for (i = 0; i < adev->sdma.num_instances; i++) { in si_dma_set_vm_pte_funcs()
840 &adev->sdma.instance[i].ring.sched; in si_dma_set_vm_pte_funcs()
842 adev->vm_manager.vm_pte_num_scheds = adev->sdma.num_instances; in si_dma_set_vm_pte_funcs()