mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
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:
committed by
Compute-Runtime-Automation
parent
eb4e7fb2a6
commit
10ac167bdc
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user