Validate host ptr on VM it will be used

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2021-08-04 11:56:36 +00:00
committed by Compute-Runtime-Automation
parent 700aecb384
commit 49cf6f79f5
4 changed files with 12 additions and 7 deletions

View File

@@ -34,6 +34,7 @@ StorageInfo MemoryManager::createStorageInfoFromProperties(const AllocationPrope
}
StorageInfo storageInfo{preferredTile, allTilesValue};
storageInfo.subDeviceBitfield = properties.subDevicesBitfield;
storageInfo.isLockable = GraphicsAllocation::isLockable(properties.allocationType);
storageInfo.cpuVisibleSegment = GraphicsAllocation::isCpuAccessRequired(properties.allocationType);

View File

@@ -19,6 +19,7 @@ struct StorageInfo {
uint32_t getNumBanks() const;
DeviceBitfield memoryBanks;
DeviceBitfield pageTablesVisibility;
DeviceBitfield subDeviceBitfield;
bool cloningOfPageTables = true;
bool tileInstanced = false;
bool multiStorage = false;