aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/cik_sdma.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2020-01-02 15:30:36 -0500
committerMarek Olšák <[email protected]>2020-01-06 15:38:11 -0500
commit503bd821fa05caa86d0f007477e01433757f06d9 (patch)
tree08e2ecdcb5b56f5241a64021331aeeb942b0cc98 /src/gallium/drivers/radeonsi/cik_sdma.c
parentd62dd8b0cb7f74ec43fac6f59c42178f4cf08c54 (diff)
radeonsi: rename SDMA debug flags
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]> Reviewed-By: Timur Kristóf <[email protected]>
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,