From: Marek Olšák Date: Thu, 23 Jun 2016 22:03:26 +0000 (+0200) Subject: radeonsi: set some VGT context registers on SI-CI X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0d638f4b3d2ff9c5a00828bd3d6743d1a70cf8be;p=mesa.git radeonsi: set some VGT context registers on SI-CI the kernel sets them, but other UMDs can change them Reviewed-by: Nicolai Hähnle --- diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index d12c89b9401..7e09c8da1a5 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -3883,6 +3883,9 @@ static void si_init_config(struct si_context *sctx) vgt_tess_distribution |= S_028B50_TRAP_SPLIT(3); si_pm4_set_reg(pm4, R_028B50_VGT_TESS_DISTRIBUTION, vgt_tess_distribution); + } else { + si_pm4_set_reg(pm4, R_028C58_VGT_VERTEX_REUSE_BLOCK_CNTL, 14); + si_pm4_set_reg(pm4, R_028C5C_VGT_OUT_DEALLOC_CNTL, 16); } if (sctx->b.family == CHIP_STONEY)