Lines Matching +full:software +full:- +full:locked

5  * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
31 * evergreen_dma_fence_ring_emit - emit a fence on the DMA ring
38 * an interrupt if needed (evergreen-SI).
43 struct radeon_ring *ring = &rdev->ring[fence->ring]; in evergreen_dma_fence_ring_emit()
44 u64 addr = rdev->fence_drv[fence->ring].gpu_addr; in evergreen_dma_fence_ring_emit()
49 radeon_ring_write(ring, fence->seq); in evergreen_dma_fence_ring_emit()
59 * evergreen_dma_ring_ib_execute - schedule an IB on the DMA engine
69 struct radeon_ring *ring = &rdev->ring[ib->ring]; in evergreen_dma_ring_ib_execute()
71 if (rdev->wb.enabled) { in evergreen_dma_ring_ib_execute()
72 u32 next_rptr = ring->wptr + 4; in evergreen_dma_ring_ib_execute()
77 radeon_ring_write(ring, ring->next_rptr_gpu_addr & 0xfffffffc); in evergreen_dma_ring_ib_execute()
78 radeon_ring_write(ring, upper_32_bits(ring->next_rptr_gpu_addr) & 0xff); in evergreen_dma_ring_ib_execute()
85 while ((ring->wptr & 7) != 5) in evergreen_dma_ring_ib_execute()
88 radeon_ring_write(ring, (ib->gpu_addr & 0xFFFFFFE0)); in evergreen_dma_ring_ib_execute()
89 radeon_ring_write(ring, (ib->length_dw << 12) | (upper_32_bits(ib->gpu_addr) & 0xFF)); in evergreen_dma_ring_ib_execute()
94 * evergreen_copy_dma - copy pages using the DMA engine
102 * Copy GPU paging using the DMA engine (evergreen-cayman).
114 int ring_index = rdev->asic->copy.dma_ring_index; in evergreen_copy_dma()
115 struct radeon_ring *ring = &rdev->ring[ring_index]; in evergreen_copy_dma()
132 radeon_sync_rings(rdev, &sync, ring->idx); in evergreen_copy_dma()
138 size_in_dw -= cur_size_in_dw; in evergreen_copy_dma()
148 r = radeon_fence_emit(rdev, &fence, ring->idx); in evergreen_copy_dma()
162 * evergreen_dma_is_lockup - Check if the DMA engine is locked up
167 * Check if the async DMA engine is locked up.
168 * Returns true if the engine appears to be locked up, false if not.