mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 02:18:05 +08:00
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:
committed by
sys_ocldev
parent
8e351a43c1
commit
c5274c5087
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user