mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:20:26 +08:00
performance: Stop ULLS in bo::wait only when light mode active
Resolves: HSD-18041491739 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1533f07912
commit
a78e3f98d5
@@ -866,8 +866,10 @@ int Drm::waitHandle(uint32_t waitHandle, int64_t timeout) {
|
||||
const auto &mulitEngines = this->rootDeviceEnvironment.executionEnvironment.memoryManager->getRegisteredEngines();
|
||||
for (const auto &engines : mulitEngines) {
|
||||
for (const auto &engine : engines) {
|
||||
auto lock = engine.commandStreamReceiver->obtainUniqueOwnership();
|
||||
engine.commandStreamReceiver->stopDirectSubmission(false);
|
||||
if (engine.osContext->isDirectSubmissionLightActive()) {
|
||||
auto lock = engine.commandStreamReceiver->obtainUniqueOwnership();
|
||||
engine.commandStreamReceiver->stopDirectSubmission(false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user