radeonsi: do VGT_FLUSH when switching NGG -> legacy on Sienna Cichlid
Other chips don't need this.
Fixes: 9538b9a68e
- radeonsi: add support for Sienna Cichlid
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7542>
This commit is contained in:
parent
74ea26f613
commit
c4ebdf9ee7
|
@ -3032,7 +3032,7 @@ bool si_update_ngg(struct si_context *sctx)
|
|||
* VGT_FLUSH is also emitted at the beginning of IBs when legacy GS ring
|
||||
* pointers are set.
|
||||
*/
|
||||
if (sctx->chip_class == GFX10 && !new_ngg)
|
||||
if ((sctx->chip_class == GFX10 || sctx->family == CHIP_SIENNA_CICHLID) && !new_ngg)
|
||||
sctx->flags |= SI_CONTEXT_VGT_FLUSH;
|
||||
|
||||
sctx->ngg = new_ngg;
|
||||
|
|
Loading…
Reference in New Issue