Set FeatureTable and WorkaroundTable in setupHardwareInfo

Related-To: NEO-2755

Change-Id: I61ba85909574780464690c70b194b3d3597af43e
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
This commit is contained in:
Katarzyna Cencelewska
2019-03-28 15:34:26 +01:00
committed by sys_ocldev
parent 8e351a43c1
commit c5274c5087
52 changed files with 1697 additions and 950 deletions

View File

@@ -18,33 +18,9 @@ int HwInfoConfigHw<IGFX_ICELAKE_LP>::configureHardwareCustom(HardwareInfo *hwInf
FeatureTable *pSkuTable = const_cast<FeatureTable *>(hwInfo->pSkuTable);
GT_SYSTEM_INFO *pSysInfo = const_cast<GT_SYSTEM_INFO *>(hwInfo->pSysInfo);
WorkaroundTable *pWaTable = const_cast<WorkaroundTable *>(hwInfo->pWaTable);
pSysInfo->SliceCount = 1;
pSkuTable->ftrPPGTT = true;
pSkuTable->ftrSVM = true;
pSkuTable->ftrL3IACoherency = true;
pSkuTable->ftrIA32eGfxPTEs = true;
pSkuTable->ftrStandardMipTailFormat = true;
pSkuTable->ftrDisplayYTiling = true;
pSkuTable->ftrTranslationTable = true;
pSkuTable->ftrUserModeTranslationTable = true;
pSkuTable->ftrTileMappedResource = true;
pSkuTable->ftrEnableGuC = true;
pSkuTable->ftrFbc = true;
pSkuTable->ftrFbc2AddressTranslation = true;
pSkuTable->ftrFbcBlitterTracking = true;
pSkuTable->ftrFbcCpuTracking = true;
pSkuTable->ftrTileY = true;
pSkuTable->ftrAstcHdr2D = true;
pSkuTable->ftrAstcLdr2D = true;
pWaTable->wa4kAlignUVOffsetNV12LinearSurface = true;
pWaTable->waReportPerfCountUseGlobalContextID = true;
return 0;
}

View File

@@ -18,33 +18,9 @@ int HwInfoConfigHw<IGFX_LAKEFIELD>::configureHardwareCustom(HardwareInfo *hwInfo
FeatureTable *pSkuTable = const_cast<FeatureTable *>(hwInfo->pSkuTable);
GT_SYSTEM_INFO *pSysInfo = const_cast<GT_SYSTEM_INFO *>(hwInfo->pSysInfo);
WorkaroundTable *pWaTable = const_cast<WorkaroundTable *>(hwInfo->pWaTable);
pSysInfo->SliceCount = 1;
pSkuTable->ftrPPGTT = true;
pSkuTable->ftrSVM = true;
pSkuTable->ftrL3IACoherency = true;
pSkuTable->ftrIA32eGfxPTEs = true;
pSkuTable->ftrStandardMipTailFormat = true;
pSkuTable->ftrDisplayYTiling = true;
pSkuTable->ftrTranslationTable = true;
pSkuTable->ftrUserModeTranslationTable = true;
pSkuTable->ftrTileMappedResource = true;
pSkuTable->ftrEnableGuC = true;
pSkuTable->ftrFbc = true;
pSkuTable->ftrFbc2AddressTranslation = true;
pSkuTable->ftrFbcBlitterTracking = true;
pSkuTable->ftrFbcCpuTracking = true;
pSkuTable->ftrTileY = true;
pSkuTable->ftrAstcHdr2D = true;
pSkuTable->ftrAstcLdr2D = true;
pWaTable->wa4kAlignUVOffsetNV12LinearSurface = true;
pWaTable->waReportPerfCountUseGlobalContextID = true;
return 0;
}