projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0615ad1
)
radeonsi: always flush framebuffer caches at the beginning of IBs
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 16 Jul 2015 12:40:00 +0000
(14:40 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 6 Aug 2015 20:54:03 +0000
(22:54 +0200)
better safe than sorry
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_hw_context.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_hw_context.c
b/src/gallium/drivers/radeonsi/si_hw_context.c
index 153d3d89f8ceba8f32ecca4083525df52a07f37a..8658056d15e3b4024465134c47ef9db27a2efc4b 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_hw_context.c
+++ b/
src/gallium/drivers/radeonsi/si_hw_context.c
@@
-164,7
+164,8
@@
void si_context_gfx_flush(void *context, unsigned flags,
void si_begin_new_cs(struct si_context *ctx)
{
/* Flush read caches at the beginning of CS. */
- ctx->b.flags |= SI_CONTEXT_INV_TC_L1 |
+ ctx->b.flags |= SI_CONTEXT_FLUSH_AND_INV_FRAMEBUFFER |
+ SI_CONTEXT_INV_TC_L1 |
SI_CONTEXT_INV_TC_L2 |
SI_CONTEXT_INV_KCACHE |
SI_CONTEXT_INV_ICACHE;