Lines Matching refs:scratch_bo
982 if (queue->scratch_bo) in radv_queue_finish()
983 queue->device->ws->buffer_destroy(queue->scratch_bo); in radv_queue_finish()
1506 struct radeon_winsys_bo *scratch_bo = NULL; in radv_get_preamble_cs() local
1548 scratch_bo = queue->device->ws->buffer_create(queue->device->ws, in radv_get_preamble_cs()
1553 if (!scratch_bo) in radv_get_preamble_cs()
1556 scratch_bo = queue->scratch_bo; in radv_get_preamble_cs()
1616 if (scratch_bo != queue->scratch_bo || in radv_get_preamble_cs()
1628 else if (scratch_bo) in radv_get_preamble_cs()
1652 if (scratch_bo) in radv_get_preamble_cs()
1653 radv_cs_add_buffer(queue->device->ws, cs, scratch_bo, 8); in radv_get_preamble_cs()
1673 if (scratch_bo) { in radv_get_preamble_cs()
1674 uint64_t scratch_va = radv_buffer_get_va(scratch_bo); in radv_get_preamble_cs()
1814 if (scratch_bo != queue->scratch_bo) { in radv_get_preamble_cs()
1815 if (queue->scratch_bo) in radv_get_preamble_cs()
1816 queue->device->ws->buffer_destroy(queue->scratch_bo); in radv_get_preamble_cs()
1817 queue->scratch_bo = scratch_bo; in radv_get_preamble_cs()
1873 if (scratch_bo && scratch_bo != queue->scratch_bo) in radv_get_preamble_cs()
1874 queue->device->ws->buffer_destroy(scratch_bo); in radv_get_preamble_cs()