Lines Matching refs:ring_obj
3415 rdev->ring[RADEON_RING_TYPE_GFX_INDEX].ring_obj = NULL; in r600_init()
3418 rdev->ring[R600_RING_TYPE_DMA_INDEX].ring_obj = NULL; in r600_init()
3421 rdev->ih.ring_obj = NULL; in r600_init()
3724 if (rdev->ih.ring_obj == NULL) { in r600_ih_ring_alloc()
3728 NULL, &rdev->ih.ring_obj); in r600_ih_ring_alloc()
3733 r = radeon_bo_reserve(rdev->ih.ring_obj, false); in r600_ih_ring_alloc()
3736 r = radeon_bo_pin(rdev->ih.ring_obj, in r600_ih_ring_alloc()
3740 radeon_bo_unreserve(rdev->ih.ring_obj); in r600_ih_ring_alloc()
3744 r = radeon_bo_kmap(rdev->ih.ring_obj, in r600_ih_ring_alloc()
3746 radeon_bo_unreserve(rdev->ih.ring_obj); in r600_ih_ring_alloc()
3758 if (rdev->ih.ring_obj) { in r600_ih_ring_fini()
3759 r = radeon_bo_reserve(rdev->ih.ring_obj, false); in r600_ih_ring_fini()
3761 radeon_bo_kunmap(rdev->ih.ring_obj); in r600_ih_ring_fini()
3762 radeon_bo_unpin(rdev->ih.ring_obj); in r600_ih_ring_fini()
3763 radeon_bo_unreserve(rdev->ih.ring_obj); in r600_ih_ring_fini()
3765 radeon_bo_unref(&rdev->ih.ring_obj); in r600_ih_ring_fini()
3767 rdev->ih.ring_obj = NULL; in r600_ih_ring_fini()