mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
fix: copy sip binary to allocation based on blitRequired query
- readOnly ISA allocations must be written through CPU pointer - command buffer allocation in singleAddressSpaceSbaTracking mode cannot be readonly - it is written by SBA tracking commands - this change is fixing ZET_ENABLE_PROGRAM_DEBUGGING mode 2 Related-To: GSD-10359 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
25d0daf754
commit
cb152ba821
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2024 Intel Corporation
|
||||
* Copyright (C) 2018-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -158,9 +158,9 @@ bool GraphicsAllocation::hasAllocationReadOnlyType() {
|
||||
return false;
|
||||
}
|
||||
|
||||
void GraphicsAllocation::checkAllocationTypeReadOnlyRestrictions(const AllocationProperties &properties) {
|
||||
void GraphicsAllocation::checkAllocationTypeReadOnlyRestrictions(const AllocationData &allocData) {
|
||||
if (getAllocationType() == AllocationType::commandBuffer &&
|
||||
(properties.flags.cantBeReadOnly | properties.flags.multiOsContextCapable)) {
|
||||
(allocData.flags.cantBeReadOnly | allocData.flags.multiOsContextCapable)) {
|
||||
setAsCantBeReadOnly(true);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user