fix: stop ULLS on main BCS when internal context used

Related-To: NEO-13464

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2025-01-22 16:54:35 +00:00
committed by Compute-Runtime-Automation
parent c75bcba1e6
commit 101c2fb071
3 changed files with 39 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2024 Intel Corporation
* Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -234,6 +234,7 @@ bool inline copyHostPointer(Buffer *buffer,
auto blitMemoryToAllocationResult = BlitOperationResult::unsupported;
if (productHelper.isBlitterFullySupported(hwInfo) && (isLocalMemory || isGpuCopyRequiredForDcFlushMitigation)) {
device.stopDirectSubmissionForCopyEngine();
blitMemoryToAllocationResult = BlitHelperFunctions::blitMemoryToAllocation(device, memory, buffer->getOffset(), hostPtr, {size, 1, 1});
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2024 Intel Corporation
* Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -341,6 +341,7 @@ Image *Image::create(Context *context,
} else {
auto cmdQ = context->getSpecialQueue(defaultRootDeviceIndex);
defaultDevice->stopDirectSubmissionForCopyEngine();
if (isNV12Image(&image->getImageFormat())) {
errcodeRet = image->writeNV12Planes(hostPtr, hostPtrRowPitch, defaultRootDeviceIndex);
} else {