diff options
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_cp_dma.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_cp_dma.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_cp_dma.c b/src/gallium/drivers/radeonsi/si_cp_dma.c index 6667ae302b4..58093177b93 100644 --- a/src/gallium/drivers/radeonsi/si_cp_dma.c +++ b/src/gallium/drivers/radeonsi/si_cp_dma.c @@ -214,6 +214,8 @@ static void si_clear_buffer(struct pipe_context *ctx, struct pipe_resource *dst, if (tc_l2_flag) r600_resource(dst)->TC_L2_dirty = true; + + sctx->b.num_cp_dma_calls++; } /** @@ -338,6 +340,8 @@ void si_copy_buffer(struct si_context *sctx, if (tc_l2_flag) r600_resource(dst)->TC_L2_dirty = true; + + sctx->b.num_cp_dma_calls++; } void si_init_cp_dma_functions(struct si_context *sctx) |