aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/addrlib
diff options
context:
space:
mode:
authorFrans Gu <[email protected]>2015-10-22 02:11:51 -0400
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commitc867a2b22268eadb9cf1a899fae0736adcbab7bc (patch)
tree2f859053acc28cfe3ca0f0ed0c89fe0469bd4c19 /src/amd/addrlib
parentb328e47d3d3cb71e3d5093d20f837fe36ee3bcc1 (diff)
amdgpu/addrlib: Fix family setting for VI and CZ ASICs
Diffstat (limited to 'src/amd/addrlib')
-rw-r--r--src/amd/addrlib/r800/ciaddrlib.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/addrlib/r800/ciaddrlib.cpp b/src/amd/addrlib/r800/ciaddrlib.cpp
index fccf09d0255..e5dfea2902b 100644
--- a/src/amd/addrlib/r800/ciaddrlib.cpp
+++ b/src/amd/addrlib/r800/ciaddrlib.cpp
@@ -410,10 +410,12 @@ ChipFamily CiLib::HwlConvertChipFamily(
m_settings.isPolaris10 = ASICREV_IS_POLARIS10_P(uChipRevision);
m_settings.isPolaris11 = ASICREV_IS_POLARIS11_M(uChipRevision);
m_settings.isPolaris12 = ASICREV_IS_POLARIS12_V(uChipRevision);
+ family = ADDR_CHIP_FAMILY_VI;
break;
case FAMILY_CZ:
m_settings.isCarrizo = 1;
m_settings.isVolcanicIslands = 1;
+ family = ADDR_CHIP_FAMILY_VI;
break;
default:
ADDR_ASSERT(!"This should be a unexpected Fusion");