radeonsi: always flush framebuffer caches at the beginning of IBs
better safe than sorry Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
0615ad1c70
commit
a3e81f819c
|
@ -164,7 +164,8 @@ void si_context_gfx_flush(void *context, unsigned flags,
|
||||||
void si_begin_new_cs(struct si_context *ctx)
|
void si_begin_new_cs(struct si_context *ctx)
|
||||||
{
|
{
|
||||||
/* Flush read caches at the beginning of CS. */
|
/* 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_TC_L2 |
|
||||||
SI_CONTEXT_INV_KCACHE |
|
SI_CONTEXT_INV_KCACHE |
|
||||||
SI_CONTEXT_INV_ICACHE;
|
SI_CONTEXT_INV_ICACHE;
|
||||||
|
|
Loading…
Reference in New Issue