Lines Matching refs:rsrc
39 struct r600_resource *rsrc = (struct r600_resource*)src; in si_dma_copy_buffer() local
48 src_offset += rsrc->gpu_address; in si_dma_copy_buffer()
62 si_need_dma_space(&ctx->b, ncopy * 5, rdst, rsrc); in si_dma_copy_buffer()
134 struct r600_texture *rsrc = (struct r600_texture*)src; in si_dma_copy_tile() local
138 struct r600_texture *rlinear = detile ? rdst : rsrc; in si_dma_copy_tile()
139 struct r600_texture *rtiled = detile ? rsrc : rdst; in si_dma_copy_tile()
152 assert(dst_mode != rsrc->surface.u.legacy.level[src_level].mode); in si_dma_copy_tile()
193 si_need_dma_space(&ctx->b, ncopy * 9, &rdst->resource, &rsrc->resource); in si_dma_copy_tile()
227 struct r600_texture *rsrc = (struct r600_texture*)src; in si_dma_copy() local
262 dstz, rsrc, src_level, src_box)) in si_dma_copy()
272 src_pitch = rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.bpe; in si_dma_copy()
273 src_w = u_minify(rsrc->resource.b.b.width0, src_level); in si_dma_copy()
277 src_mode = rsrc->surface.u.legacy.level[src_level].mode; in si_dma_copy()
281 src_box->height != u_minify(rsrc->resource.b.b.height0, src_level) || in si_dma_copy()
283 rsrc->surface.u.legacy.level[src_level].nblk_y != in si_dma_copy()
303 src_offset= rsrc->surface.u.legacy.level[src_level].offset; in si_dma_copy()
304 src_offset += (uint64_t)rsrc->surface.u.legacy.level[src_level].slice_size_dw * 4 * src_box->z; in si_dma_copy()
310 (uint64_t)rsrc->surface.u.legacy.level[src_level].slice_size_dw * 4); in si_dma_copy()
314 src_box->height / rsrc->surface.blk_h, in si_dma_copy()