mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 10:26:29 +08:00
Apply memory flag when creating Gmm with image info
Resolves: NEO-3294 Change-Id: I2702611c5b3b2ccd8d48219b90479a6fd3fbe1f7 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
cf78aab248
commit
b04fc1121e
@@ -521,7 +521,7 @@ GraphicsAllocation *DrmMemoryManager::createGraphicsAllocationFromSharedHandle(o
|
||||
((void)(ret));
|
||||
|
||||
properties.imgInfo->tilingMode = TilingModeHelper::convert(getTiling.tiling_mode);
|
||||
Gmm *gmm = new Gmm(*properties.imgInfo);
|
||||
Gmm *gmm = new Gmm(*properties.imgInfo, createStorageInfoFromProperties(properties));
|
||||
drmAllocation->setDefaultGmm(gmm);
|
||||
}
|
||||
return drmAllocation;
|
||||
|
||||
Reference in New Issue
Block a user