summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-11-09 10:59:22 +0100
committerNicolai Hähnle <[email protected]>2017-11-28 09:34:43 +0100
commit97f42d11df8268ab3303cefd5b35bd43ae065f46 (patch)
tree6d2f8bea9613949f38687a80de6cc7630503b145 /src/gallium/drivers/radeonsi/si_state.c
parent7e35bdad1c67d7df2832ac4b39bff471e83812e5 (diff)
amd/common: sid.h cleanups
Fix a bunch of labels indicating when registers were added/removed and normalize the SI-class GRBM_GFX_INDEX. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_state.c2
1 files changed, 1 insertions, 1 deletions
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);
}