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

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2024 Intel Corporation
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -207,7 +207,7 @@ void GlArbSyncEvent::unblockEventBy(Event &event, TaskCountType taskLevel, int32
return;
}
event.getCommandQueue()->getGpgpuCommandStreamReceiver().stopDirectSubmission(true);
event.getCommandQueue()->getGpgpuCommandStreamReceiver().stopDirectSubmission(true, true);
ctx->getSharing<GLSharingFunctionsWindows>()->glArbSyncObjectSignal(event.getCommandQueue()->getGpgpuCommandStreamReceiver().getOsContext(), *glSyncInfo);
ctx->getSharing<GLSharingFunctionsWindows>()->glArbSyncObjectWaitServer(*osInterface, *glSyncInfo);
}