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
@@ -15,10 +15,10 @@ int HwInfoConfigHw<IGFX_BROADWELL>::configureHardwareCustom(HardwareInfo *hwInfo
|
||||
if (nullptr == osIface) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
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);
|
||||
FeatureTable *pSkuTable = const_cast<FeatureTable *>(hwInfo->pSkuTable);
|
||||
|
||||
pSkuTable->ftrL3IACoherency = true;
|
||||
|
||||
// There is no interface to read total slice count from drm/i915, so we
|
||||
// derive this from the number of EUs and subslices.
|
||||
@@ -29,23 +29,6 @@ int HwInfoConfigHw<IGFX_BROADWELL>::configureHardwareCustom(HardwareInfo *hwInfo
|
||||
pSysInfo->SliceCount = 1;
|
||||
}
|
||||
|
||||
pSkuTable->ftrPPGTT = true;
|
||||
pSkuTable->ftrSVM = true;
|
||||
pSkuTable->ftrL3IACoherency = true;
|
||||
pSkuTable->ftrIA32eGfxPTEs = true;
|
||||
|
||||
pSkuTable->ftrFbc = true;
|
||||
pSkuTable->ftrFbc2AddressTranslation = true;
|
||||
pSkuTable->ftrFbcBlitterTracking = true;
|
||||
pSkuTable->ftrFbcCpuTracking = true;
|
||||
pSkuTable->ftrTileY = true;
|
||||
|
||||
pWaTable->waDisableLSQCROPERFforOCL = true;
|
||||
pWaTable->waReportPerfCountUseGlobalContextID = true;
|
||||
pWaTable->waUseVAlign16OnTileXYBpp816 = true;
|
||||
pWaTable->waModifyVFEStateAfterGPGPUPreemption = true;
|
||||
pWaTable->waSamplerCacheFlushBetweenRedescribedSurfaceReads = true;
|
||||
|
||||
if (hwInfo->pPlatform->usDeviceID == IBDW_GT3_HALO_MOBL_DEVICE_F0_ID ||
|
||||
hwInfo->pPlatform->usDeviceID == IBDW_GT3_SERV_DEVICE_F0_ID) {
|
||||
pSysInfo->EdramSizeInKb = 128 * 1024;
|
||||
|
||||
Reference in New Issue
Block a user