KMD Notfy: Multiply timeout by taskCount diff only on Linux

Change-Id: Idb75dcc02cd218ff097f29d6881c97bb8feb25da
This commit is contained in:
Dunajski, Bartosz
2018-04-19 19:08:10 +02:00
committed by sys_ocldev
parent 6eec23844b
commit 5ed13d7c88
8 changed files with 80 additions and 23 deletions

View File

@@ -42,7 +42,7 @@ bool KmdNotifyHelper::obtainTimeoutParams(int64_t &timeoutValueOutput,
} else if (quickKmdSleepRequest && properties->enableQuickKmdSleep) {
timeoutValueOutput = properties->delayQuickKmdSleepMicroseconds;
} else {
timeoutValueOutput = properties->delayKmdNotifyMicroseconds * multiplier;
timeoutValueOutput = getBaseTimeout(multiplier);
}
return flushStampToWait != 0 && (properties->enableKmdNotify || !acLineConnected);