[Mesa-dev] [PATCH 4/5] radeonsi: revert a wrong DB bug workaround for VI

Marek Olšák maraeo at gmail.com
Tue Aug 11 16:02:44 PDT 2015


From: Marek Olšák <marek.olsak at amd.com>

The bug was misunderstood. Besides that, the bug affects a DB feature we
don't use yet.
---
 src/gallium/drivers/radeonsi/si_state.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c
index 863991c..c628288 100644
--- a/src/gallium/drivers/radeonsi/si_state.c
+++ b/src/gallium/drivers/radeonsi/si_state.c
@@ -1990,10 +1990,6 @@ static void si_init_depth_surface(struct si_context *sctx,
 		db_htile_surface = 0;
 	}
 
-	/* Bug workaround. */
-	if (sctx->b.chip_class >= VI)
-		s_info |= S_028044_TILE_STENCIL_DISABLE(1);
-
 	assert(levelinfo->nblk_x % 8 == 0 && levelinfo->nblk_y % 8 == 0);
 
 	surf->db_depth_view = S_028008_SLICE_START(surf->base.u.tex.first_layer) |
-- 
2.1.4



More information about the mesa-dev mailing list