Lines Matching refs:sctx
84 struct si_context *sctx = (struct si_context *)ctx; in si_dma_clear_buffer() local
85 struct radeon_winsys_cs *cs = sctx->b.dma.cs; in si_dma_clear_buffer()
104 si_need_dma_space(&sctx->b, ncopy * 4, rdst, NULL); in si_dma_clear_buffer()
226 struct si_context *sctx = (struct si_context *)ctx; in si_dma_copy() local
234 if (sctx->b.dma.cs == NULL || in si_dma_copy()
241 si_dma_copy_buffer(sctx, dst, src, dst_x, src_box->x, src_box->width); in si_dma_copy()
261 !si_prepare_for_dma_blit(&sctx->b, rdst, dst_level, dstx, dsty, in si_dma_copy()
309 si_dma_copy_buffer(sctx, dst, src, dst_offset, src_offset, in si_dma_copy()
312 si_dma_copy_tile(sctx, dst, dst_level, dst_x, dst_y, dst_z, in si_dma_copy()
324 void si_init_dma_functions(struct si_context *sctx) in si_init_dma_functions() argument
326 sctx->b.dma_copy = si_dma_copy; in si_init_dma_functions()
327 sctx->b.dma_clear_buffer = si_dma_clear_buffer; in si_init_dma_functions()