diff options
author | Marek Olšák <[email protected]> | 2016-10-15 13:38:45 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 14:44:33 +0200 |
commit | 5691e14735eda27afe1f2ede369b80127b90f6a1 (patch) | |
tree | 78b1c536abe5fe9b82cf2fc149bf664167ef859b /src/gallium/drivers/radeonsi/si_cp_dma.c | |
parent | ecbdfbeb0527efc0dc9b3f61c438abcc7672102f (diff) |
amd: GFX9 packet changes
Reviewed-by: Nicolai Hähnle <[email protected]>
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, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_cp_dma.c b/src/gallium/drivers/radeonsi/si_cp_dma.c index 812fcbc2b21..9d236daf731 100644 --- a/src/gallium/drivers/radeonsi/si_cp_dma.c +++ b/src/gallium/drivers/radeonsi/si_cp_dma.c @@ -51,7 +51,7 @@ static void si_emit_cp_dma(struct si_context *sctx, uint64_t dst_va, enum r600_coherency coher) { struct radeon_winsys_cs *cs = sctx->b.gfx.cs; - uint32_t header = 0, command = S_414_BYTE_COUNT(size); + uint32_t header = 0, command = S_414_BYTE_COUNT_GFX6(size); assert(size); assert(size <= CP_DMA_MAX_BYTE_COUNT); @@ -60,7 +60,7 @@ static void si_emit_cp_dma(struct si_context *sctx, uint64_t dst_va, if (flags & CP_DMA_SYNC) header |= S_411_CP_SYNC(1); else - command |= S_414_DISABLE_WR_CONFIRM(1); + command |= S_414_DISABLE_WR_CONFIRM_GFX6(1); if (flags & CP_DMA_RAW_WAIT) command |= S_414_RAW_WAIT(1); |