mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
Enable KMD notify on Linux for BDW and SKL
Change-Id: I465c7610cb03860a28a7246e376ea8183d2aee9b
This commit is contained in:
committed by
sys_ocldev
parent
dc902ab0f1
commit
0e41bc7f71
@@ -69,11 +69,11 @@ const RuntimeCapabilityTable BDW::capabilityTable{
|
||||
{false, false},
|
||||
&isSimulationBDW,
|
||||
true,
|
||||
true, // forceStatelessCompilationFor32Bit
|
||||
{false, 0, false, 0, false, 0}, // KmdNotifyProperties
|
||||
false, // ftr64KBpages
|
||||
EngineType::ENGINE_RCS, // defaultEngineType
|
||||
MemoryConstants::pageSize //requiredPreemptionSurfaceSize
|
||||
true, // forceStatelessCompilationFor32Bit
|
||||
{true, 50000, true, 500, true, 200000}, // KmdNotifyProperties
|
||||
false, // ftr64KBpages
|
||||
EngineType::ENGINE_RCS, // defaultEngineType
|
||||
MemoryConstants::pageSize //requiredPreemptionSurfaceSize
|
||||
};
|
||||
|
||||
const HardwareInfo BDW_1x2x6::hwInfo = {
|
||||
|
||||
@@ -104,6 +104,14 @@ int HwInfoConfigHw<IGFX_SKYLAKE>::configureHardwareCustom(HardwareInfo *hwInfo,
|
||||
hwInfo->pPlatform->usDeviceID == ISKL_GT4_WRK_DEVICE_F0_ID) {
|
||||
pSysInfo->EdramSizeInKb = 128 * 1024;
|
||||
}
|
||||
|
||||
auto &kmdNotifyProperties = hwInfo->capabilityTable.kmdNotifyProperties;
|
||||
kmdNotifyProperties.enableKmdNotify = true;
|
||||
kmdNotifyProperties.enableQuickKmdSleep = true;
|
||||
kmdNotifyProperties.enableQuickKmdSleepForSporadicWaits = true;
|
||||
kmdNotifyProperties.delayKmdNotifyMicroseconds = 50000;
|
||||
kmdNotifyProperties.delayQuickKmdSleepMicroseconds = 500;
|
||||
kmdNotifyProperties.delayQuickKmdSleepForSporadicWaitsMicroseconds = 200000;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user