fix(ocl): do not multiply kmdNotify waitTimeout

With direct submission disabled this resulted in waitTimeout long enough
that kmdWait fallback was rarely used.
This caused more CPU spin time.

Related-To: GSD-3612

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2023-06-29 14:21:41 +00:00
committed by Compute-Runtime-Automation
parent eb4e7fb2a6
commit 10ac167bdc
7 changed files with 27 additions and 18 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -18,6 +18,6 @@ void KmdNotifyHelper::updateAcLineStatus() {
}
}
int64_t KmdNotifyHelper::getBaseTimeout(const int64_t &multiplier) const {
int64_t KmdNotifyHelper::getBaseTimeout() const {
return properties->delayKmdNotifyMicroseconds;
}