radeonsi: remove some definitions and helpers from r600_pipe_common.h
[mesa.git] / src / gallium / drivers / radeonsi / si_cp_dma.c
index 5582471c4919f14e6d4eea28c8f38f7477fb4fe4..446ff2cf87a5b0b38f8defb77c459efd8ab98995 100644 (file)
@@ -165,9 +165,9 @@ static void si_cp_dma_prepare(struct si_context *sctx, struct pipe_resource *dst
 
        if (!(user_flags & SI_CPDMA_SKIP_BO_LIST_UPDATE)) {
                /* Count memory usage in so that need_cs_space can take it into account. */
-               r600_context_add_resource_size(&sctx->b.b, dst);
+               si_context_add_resource_size(&sctx->b.b, dst);
                if (src)
-                       r600_context_add_resource_size(&sctx->b.b, src);
+                       si_context_add_resource_size(&sctx->b.b, src);
        }
 
        if (!(user_flags & SI_CPDMA_SKIP_CHECK_CS_SPACE))