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:
Mateusz Hoppe
2025-06-30 18:35:32 +00:00
committed by Compute-Runtime-Automation
parent 25d0daf754
commit cb152ba821
12 changed files with 96 additions and 15 deletions

View File

@@ -39,6 +39,7 @@ class CommandStreamReceiver;
class GraphicsAllocation;
class ProductHelper;
struct AllocationData;
struct AllocationProperties;
struct AubInfo {
@@ -338,7 +339,7 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation>, NEO::NonCopyableAn
void setShareableHostMemory(bool shareableHostMemory) { this->shareableHostMemory = shareableHostMemory; }
bool isShareableHostMemory() const { return shareableHostMemory; }
MOCKABLE_VIRTUAL bool hasAllocationReadOnlyType();
MOCKABLE_VIRTUAL void checkAllocationTypeReadOnlyRestrictions(const AllocationProperties &properties);
MOCKABLE_VIRTUAL void checkAllocationTypeReadOnlyRestrictions(const AllocationData &allocData);
OsHandleStorage fragmentsStorage;
StorageInfo storageInfo = {};