fix: lock csr in stopDirectSubmission if needed

Related-To: NEO-13875, NEO-14143, HSD-16026538384, HSD-16026780358
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2025-03-17 18:35:51 +00:00
committed by Compute-Runtime-Automation
parent ce2fbb87ba
commit 36fa6d66ae
15 changed files with 66 additions and 28 deletions

View File

@@ -162,7 +162,7 @@ void DirectSubmissionController::checkNewSubmissions() {
}
auto lock = csr->obtainUniqueOwnership();
if (!isCsrIdleDetectionEnabled || isDirectSubmissionIdle(csr, lock)) {
csr->stopDirectSubmission(false);
csr->stopDirectSubmission(false, false);
state.isStopped = true;
shouldRecalculateTimeout = true;
this->lowestThrottleSubmitted = QueueThrottle::HIGH;