amdgpu/addrlib: Fix family setting for VI and CZ ASICs
authorFrans Gu <frans.gu@amd.com>
Thu, 22 Oct 2015 06:11:51 +0000 (02:11 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 30 Mar 2017 12:44:33 +0000 (14:44 +0200)
src/amd/addrlib/r800/ciaddrlib.cpp

index fccf09d02555291afdddb9a7fd5a1eae08911cc5..e5dfea2902b8278b7ae87dc0aa0c1b16a7002d55 100644 (file)
@@ -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");