summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/cik_sdma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeonsi/cik_sdma.c')
-rw-r--r--src/gallium/drivers/radeonsi/cik_sdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/cik_sdma.c b/src/gallium/drivers/radeonsi/cik_sdma.c
index 52a41f7ee51..9ca9ba436cf 100644
--- a/src/gallium/drivers/radeonsi/cik_sdma.c
+++ b/src/gallium/drivers/radeonsi/cik_sdma.c
@@ -697,7 +697,7 @@ static void cik_sdma_copy(struct pipe_context *ctx,
*
* Keep SDMA enabled on APUs.
*/
- if (sctx->screen->debug_flags & DBG(FORCE_DMA) ||
+ if (sctx->screen->debug_flags & DBG(FORCE_SDMA) ||
!sctx->screen->info.has_dedicated_vram) {
if ((sctx->chip_class == GFX7 || sctx->chip_class == GFX8) &&
cik_sdma_copy_texture(sctx, dst, dst_level, dstx, dsty, dstz,