From c867a2b22268eadb9cf1a899fae0736adcbab7bc Mon Sep 17 00:00:00 2001 From: Frans Gu Date: Thu, 22 Oct 2015 02:11:51 -0400 Subject: [PATCH] amdgpu/addrlib: Fix family setting for VI and CZ ASICs --- src/amd/addrlib/r800/ciaddrlib.cpp | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.30.2