diff options
author | Marek Olšák <[email protected]> | 2020-01-02 15:43:53 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2020-01-06 15:38:32 -0500 |
commit | cd6a4f7631bc8767eff26251011c8088d480f177 (patch) | |
tree | 39e7380e5bd490b018ce9937cb54db496f82bf07 /src/gallium/drivers/radeonsi/cik_sdma.c | |
parent | 0c9e7a67f92ab1c2ba7ed1e3fb9a647bd1f811ad (diff) |
radeonsi: add AMD_DEBUG=nodmacopyimage for debugging
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/cik_sdma.c b/src/gallium/drivers/radeonsi/cik_sdma.c index 9ca9ba436cf..c2406604d9e 100644 --- a/src/gallium/drivers/radeonsi/cik_sdma.c +++ b/src/gallium/drivers/radeonsi/cik_sdma.c @@ -698,7 +698,8 @@ static void cik_sdma_copy(struct pipe_context *ctx, * Keep SDMA enabled on APUs. */ if (sctx->screen->debug_flags & DBG(FORCE_SDMA) || - !sctx->screen->info.has_dedicated_vram) { + (!sctx->screen->info.has_dedicated_vram && + !(sctx->screen->debug_flags & DBG(NO_SDMA_COPY_IMAGE)))) { if ((sctx->chip_class == GFX7 || sctx->chip_class == GFX8) && cik_sdma_copy_texture(sctx, dst, dst_level, dstx, dsty, dstz, src, src_level, src_box)) |