Home
last modified time | relevance | path

Searched refs:ring_free_dw (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_ring.c86 ring->ring_free_dw = rptr + (ring->ring_size / 4); in radeon_ring_free_size()
87 ring->ring_free_dw -= ring->wptr; in radeon_ring_free_size()
88 ring->ring_free_dw &= ring->ptr_mask; in radeon_ring_free_size()
89 if (!ring->ring_free_dw) { in radeon_ring_free_size()
91 ring->ring_free_dw = ring->ring_size / 4; in radeon_ring_free_size()
118 while (ndw > (ring->ring_free_dw - 1)) { in radeon_ring_alloc()
120 if (ndw < ring->ring_free_dw) { in radeon_ring_alloc()
418 ring->ring_free_dw = ring->ring_size / 4; in radeon_ring_init()
474 count = (ring->ring_size / 4) - ring->ring_free_dw; in radeon_debugfs_ring_info_show()
497 seq_printf(m, "%u free dwords in ring\n", ring->ring_free_dw); in radeon_debugfs_ring_info_show()
H A Dradeon.h803 unsigned ring_free_dw; member
2684 ring->ring_free_dw--; in radeon_ring_write()
H A Dr100.c2983 seq_printf(m, "%u free dwords in ring\n", ring->ring_free_dw); in r100_debugfs_cp_ring_info_show()