Lines Matching refs:legacy

136 	unsigned dst_mode = rdst->surface.u.legacy.level[dst_level].mode;  in si_dma_copy_tile()
143 unsigned index = rtiled->surface.u.legacy.tiling_index[tiled_lvl]; in si_dma_copy_tile()
152 assert(dst_mode != rsrc->surface.u.legacy.level[src_level].mode); in si_dma_copy_tile()
168 slice_tile_max = (rtiled->surface.u.legacy.level[tiled_lvl].nblk_x * in si_dma_copy_tile()
169 rtiled->surface.u.legacy.level[tiled_lvl].nblk_y) / (8*8) - 1; in si_dma_copy_tile()
175 height = rtiled->surface.u.legacy.level[tiled_lvl].nblk_y; in si_dma_copy_tile()
176 base = rtiled->surface.u.legacy.level[tiled_lvl].offset; in si_dma_copy_tile()
177 addr = rlinear->surface.u.legacy.level[linear_lvl].offset; in si_dma_copy_tile()
178 addr += (uint64_t)rlinear->surface.u.legacy.level[linear_lvl].slice_size_dw * 4 * linear_z; in si_dma_copy_tile()
184 tile_split = util_logbase2(rtiled->surface.u.legacy.tile_split >> 6); in si_dma_copy_tile()
271 dst_pitch = rdst->surface.u.legacy.level[dst_level].nblk_x * rdst->surface.bpe; in si_dma_copy()
272 src_pitch = rsrc->surface.u.legacy.level[src_level].nblk_x * rsrc->surface.bpe; in si_dma_copy()
276 dst_mode = rdst->surface.u.legacy.level[dst_level].mode; in si_dma_copy()
277 src_mode = rsrc->surface.u.legacy.level[src_level].mode; in si_dma_copy()
283 rsrc->surface.u.legacy.level[src_level].nblk_y != in si_dma_copy()
284 rdst->surface.u.legacy.level[dst_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()
306 dst_offset = rdst->surface.u.legacy.level[dst_level].offset; in si_dma_copy()
307 dst_offset += (uint64_t)rdst->surface.u.legacy.level[dst_level].slice_size_dw * 4 * dst_z; in si_dma_copy()
310 (uint64_t)rsrc->surface.u.legacy.level[src_level].slice_size_dw * 4); in si_dma_copy()