mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
fix: dont download tbx allocations on heapless first device submission
Related-To: HSD-18039476929 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d52ca080bd
commit
24cfd203ab
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2023 Intel Corporation
|
||||
* Copyright (C) 2018-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -24,7 +24,7 @@ WaitParams KmdNotifyHelper::obtainTimeoutParams(bool quickKmdSleepRequest,
|
||||
bool kmdWaitModeActive,
|
||||
bool directSubmissionEnabled) {
|
||||
if (throttle == QueueThrottle::HIGH) {
|
||||
return WaitParams{true};
|
||||
return WaitParams{true, false, false, 0};
|
||||
}
|
||||
|
||||
if (flushStampToWait == 0) {
|
||||
@@ -36,7 +36,7 @@ WaitParams KmdNotifyHelper::obtainTimeoutParams(bool quickKmdSleepRequest,
|
||||
}
|
||||
|
||||
if (debugManager.flags.PowerSavingMode.get() || throttle == QueueThrottle::LOW) {
|
||||
return WaitParams{false, true, 1};
|
||||
return WaitParams{false, true, false, 1};
|
||||
}
|
||||
|
||||
const int64_t taskCountDiff = (currentHwTag < taskCountToWait) ? static_cast<int64_t>(taskCountToWait - currentHwTag) : 1;
|
||||
|
||||
Reference in New Issue
Block a user