Correct hw info config

Affected products: ADLS, DG1

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2021-06-15 17:15:30 +00:00
committed by Compute-Runtime-Automation
parent 5af793ddc6
commit 366f4f1394
3 changed files with 4 additions and 4 deletions

View File

@ -160,7 +160,7 @@ void ADLS_HW_CONFIG::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTa
};
const HardwareInfo ADLS::hwInfo = ADLS_HW_CONFIG::hwInfo;
const uint64_t ADLS::defaultHardwareInfoConfig = 0x100020016;
const uint64_t ADLS::defaultHardwareInfoConfig = 0x100020010;
void setupADLSHardwareInfoImpl(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, uint64_t hwInfoConfig) {
ADLS_HW_CONFIG::setupHardwareInfo(hwInfo, setupFeatureTableAndWorkaroundTable);

View File

@ -165,10 +165,10 @@ void DG1_CONFIG::setupHardwareInfo(HardwareInfo *hwInfo, bool setupFeatureTableA
};
const HardwareInfo DG1::hwInfo = DG1_CONFIG::hwInfo;
const uint64_t DG1::defaultHardwareInfoConfig = 0x100060016;
const uint64_t DG1::defaultHardwareInfoConfig = 0x100060010;
void setupDG1HardwareInfoImpl(HardwareInfo *hwInfo, bool setupFeatureTableAndWorkaroundTable, uint64_t hwInfoConfig) {
if (hwInfoConfig == 0x100060016) {
if (hwInfoConfig == 0x100060010) {
DG1_CONFIG::setupHardwareInfo(hwInfo, setupFeatureTableAndWorkaroundTable);
} else if (hwInfoConfig == 0x0) {
// Default config

View File

@ -38,7 +38,7 @@ DG1TEST_F(Dg1HwInfo, givenBoolWhenCallDg1HardwareInfoSetupThenFeatureTableAndWor
FeatureTable &featureTable = hwInfo.featureTable;
WorkaroundTable &workaroundTable = hwInfo.workaroundTable;
uint64_t config = 0x100060016;
uint64_t config = 0x100060010;
for (auto setParamBool : boolValue) {
gtSystemInfo = {0};