From e7d3f22c6ae532e25f26c0f2740fa9ad88794d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Tue, 13 Oct 2020 10:30:38 -0400 Subject: [PATCH] radeonsi: don't disable NGG culling on gfx10.3 This was causing the hangs: 42f921387b9 - radeonsi/gfx10: disable vertex grouping Acked-by: Pierre-Eric Pelloux-Prayer Part-of: --- src/gallium/drivers/radeonsi/si_pipe.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index a583f454a80..a8d5439f07d 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -1186,11 +1186,6 @@ static struct pipe_screen *radeonsi_screen_create_impl(struct radeon_winsys *ws, driQueryOptionb(config->options, "radeonsi_commutative_blend_add") || driQueryOptionb(config->options, "allow_draw_out_of_order"); - /* TODO: Find out why NGG culling hangs on gfx10.3 */ - if (sscreen->info.chip_class == GFX10_3 && - !(sscreen->debug_flags & (DBG(ALWAYS_NGG_CULLING_ALL) | DBG(ALWAYS_NGG_CULLING_TESS)))) - sscreen->debug_flags |= DBG(NO_NGG_CULLING); - sscreen->use_ngg = !(sscreen->debug_flags & DBG(NO_NGG)) && sscreen->info.chip_class >= GFX10 && sscreen->info.family != CHIP_NAVI14 &&