projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3447cc4
)
r600g: fix random corruption with CP DMA in TF2
author
Marek Olšák
<maraeo@gmail.com>
Thu, 21 Feb 2013 15:53:32 +0000
(16:53 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Fri, 22 Feb 2013 11:49:15 +0000
(12:49 +0100)
NOTE: This is a candidate for the 9.1 branch.
src/gallium/drivers/r600/r600_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_hw_context.c
b/src/gallium/drivers/r600/r600_hw_context.c
index ebcd682bc811f010d18635f2482e17c14e2ac37e..f6dc418746d8080aebcbe1f80d6da354abd1f7e0 100644
(file)
--- a/
src/gallium/drivers/r600/r600_hw_context.c
+++ b/
src/gallium/drivers/r600/r600_hw_context.c
@@
-1159,6
+1159,9
@@
void r600_cp_dma_copy_buffer(struct r600_context *rctx,
src_offset += byte_count;
dst_offset += byte_count;
}
+
+ /* Invalidate the read caches. */
+ rctx->flags |= R600_CONTEXT_INVAL_READ_CACHES;
}
void r600_need_dma_space(struct r600_context *ctx, unsigned num_dw)