[Mesa-dev] [PATCH 3/6] r600g: emit a ps partial flush after CP DMA
alexdeucher at gmail.com
alexdeucher at gmail.com
Fri Feb 22 14:59:04 PST 2013
From: Alex Deucher <alexander.deucher at amd.com>
May fix:
https://bugs.freedesktop.org/show_bug.cgi?id=58042
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
src/gallium/drivers/r600/r600_hw_context.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r600_hw_context.c
index 09dc98b..7020c78 100644
--- a/src/gallium/drivers/r600/r600_hw_context.c
+++ b/src/gallium/drivers/r600/r600_hw_context.c
@@ -1166,7 +1166,7 @@ void r600_cp_dma_copy_buffer(struct r600_context *rctx,
}
/* Invalidate the read caches. */
- rctx->flags |= R600_CONTEXT_INVAL_READ_CACHES;
+ rctx->flags |= R600_CONTEXT_INVAL_READ_CACHES | R600_CONTEXT_PS_PARTIAL_FLUSH;
}
void r600_need_dma_space(struct r600_context *ctx, unsigned num_dw)
--
1.7.7.5
More information about the mesa-dev
mailing list