Lines Matching refs:rctx
69 static inline unsigned radeon_add_to_buffer_list(struct r600_common_context *rctx, in radeon_add_to_buffer_list() argument
76 return rctx->ws->cs_add_buffer( in radeon_add_to_buffer_list()
100 radeon_add_to_buffer_list_check_mem(struct r600_common_context *rctx, in radeon_add_to_buffer_list_check_mem() argument
108 !radeon_cs_memory_below_limit(rctx->screen, ring->cs, in radeon_add_to_buffer_list_check_mem()
109 rctx->vram + rbo->vram_usage, in radeon_add_to_buffer_list_check_mem()
110 rctx->gtt + rbo->gart_usage)) in radeon_add_to_buffer_list_check_mem()
111 ring->flush(rctx, PIPE_FLUSH_ASYNC, NULL); in radeon_add_to_buffer_list_check_mem()
113 return radeon_add_to_buffer_list(rctx, ring, rbo, usage, priority); in radeon_add_to_buffer_list_check_mem()
116 static inline void r600_emit_reloc(struct r600_common_context *rctx, in r600_emit_reloc() argument
122 bool has_vm = ((struct r600_common_screen*)rctx->b.screen)->info.has_virtual_memory; in r600_emit_reloc()
123 unsigned reloc = radeon_add_to_buffer_list(rctx, ring, rbo, usage, priority); in r600_emit_reloc()