Module: Mesa Branch: main Commit: 27c46dd20778d08a74a483ab1857d3e4df72511a URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=27c46dd20778d08a74a483ab1857d3e4df72511a
Author: Lang Yu <lang...@amd.com> Date: Thu Dec 14 10:29:21 2023 +0800 radeonsi: emit SQ_NON_EVENT for GFX11_5 Signed-off-by: Lang Yu <lang...@amd.com> Acked-by: Yogesh Mohan Marimuthu <yogesh.mohanmarimu...@amd.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-pra...@amd.com> Reviewed-by: Marek Olšák <marek.ol...@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26774> --- src/gallium/drivers/radeonsi/si_gfx_cs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_gfx_cs.c b/src/gallium/drivers/radeonsi/si_gfx_cs.c index 23c274d256a..d1d477a625c 100644 --- a/src/gallium/drivers/radeonsi/si_gfx_cs.c +++ b/src/gallium/drivers/radeonsi/si_gfx_cs.c @@ -92,7 +92,7 @@ void si_flush_gfx_cs(struct si_context *ctx, unsigned flags, struct pipe_fence_h /* If we use s_sendmsg to set tess factors to all 0 or all 1 instead of writing to the tess * factor buffer, we need this at the end of command buffers: */ - if (ctx->gfx_level == GFX11 && ctx->tess_rings) { + if ((ctx->gfx_level == GFX11 || ctx->gfx_level == GFX11_5) && ctx->tess_rings) { radeon_begin(cs); radeon_emit(PKT3(PKT3_EVENT_WRITE, 0, 0)); radeon_emit(EVENT_TYPE(V_028A90_SQ_NON_EVENT) | EVENT_INDEX(0));