mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Correct hw info config
Affected products: ADLS, DG1 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
5af793ddc6
commit
366f4f1394
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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};
|
||||
|
Reference in New Issue
Block a user