From 00b716cb83e7f7c3dc9545f11bc4ddd4b68f3ad1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 16 Oct 2023 14:18:41 -0400 Subject: [PATCH] radeonsi: remove redundant VS_PARTIAL_FLUSH for streamout si_emit_streamout_end does this already. Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_gfx_cs.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_gfx_cs.c b/src/gallium/drivers/radeonsi/si_gfx_cs.c index 16d867bfbd9..b22f4d24951 100644 --- a/src/gallium/drivers/radeonsi/si_gfx_cs.c +++ b/src/gallium/drivers/radeonsi/si_gfx_cs.c @@ -81,13 +81,6 @@ void si_flush_gfx_cs(struct si_context *ctx, unsigned flags, struct pipe_fence_h if (ctx->streamout.begin_emitted) { si_emit_streamout_end(ctx); ctx->streamout.suspended = true; - - /* Since NGG streamout uses GDS, we need to make GDS - * idle when we leave the IB, otherwise another process - * might overwrite it while our shaders are busy. - */ - if (ctx->gfx_level >= GFX11) - wait_flags |= SI_CONTEXT_VS_PARTIAL_FLUSH; } }