From 97f42d11df8268ab3303cefd5b35bd43ae065f46 Mon Sep 17 00:00:00 2001 From: Nicolai Hähnle Date: Thu, 9 Nov 2017 10:59:22 +0100 Subject: amd/common: sid.h cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix a bunch of labels indicating when registers were added/removed and normalize the SI-class GRBM_GFX_INDEX. Reviewed-by: Marek Olšák --- src/gallium/drivers/radeonsi/si_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium') diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index 46c45eae99c..0b82429b038 100644 --- a/src/gallium/drivers/radeonsi/si_state.c +++ b/src/gallium/drivers/radeonsi/si_state.c @@ -4646,7 +4646,7 @@ static void si_set_grbm_gfx_index(struct si_context *sctx, struct si_pm4_state *pm4, unsigned value) { unsigned reg = sctx->b.chip_class >= CIK ? R_030800_GRBM_GFX_INDEX : - GRBM_GFX_INDEX; + R_00802C_GRBM_GFX_INDEX; si_pm4_set_reg(pm4, reg, value); } -- cgit v1.2.3