diff --git a/src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h b/src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h index ee49bd883be..43e3738c503 100644 --- a/src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h +++ b/src/amd/addrlib/src/chip/gfx9/gfx9_gb_reg.h @@ -45,7 +45,7 @@ #define BIGENDIAN_CPU #endif -union GB_ADDR_CONFIG { +union GB_ADDR_CONFIG_gfx9 { struct { #if defined(LITTLEENDIAN_CPU) unsigned int NUM_PIPES : 3; diff --git a/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp b/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp index cc4d5af4c4f..dcc080cbec4 100644 --- a/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp +++ b/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp @@ -1046,7 +1046,7 @@ BOOL_32 Gfx9Lib::HwlInitGlobalParams( if (m_settings.isArcticIsland) { - GB_ADDR_CONFIG gbAddrConfig; + GB_ADDR_CONFIG_gfx9 gbAddrConfig; gbAddrConfig.u32All = pCreateIn->regValue.gbAddrConfig;