SWDEV-383856 - Remove mmap function for SVM buffer

For large bar platform, it's not necessary to mmap
memory allocated on VRAM to cpu again

Change-Id: I0701680476829d4058b3e7b643e8df657d0c6168
Signed-off-by: Ruili Ji <ruiliji2@amd.com>
这个提交包含在:
Ruili Ji 编写, Maneesh Gupta 于 2023-04-05 07:47:30 +00:00 提交
1 父节点 37849a0726
当前提交 25fe45bb2a
2 个文件已更改
+6 -1

没有与搜索条件相匹配的文件

+1
查看文件
@@ -201,6 +201,7 @@ class Memory : public amd::RuntimeObject {
uint32_t canBeCached_ : 1; //!< flag to if the object can be cached
uint32_t p2pAccess_ : 1; //!< Memory object allows P2P access
uint32_t ipcShared_ : 1; //!< Memory shared between processes
uint32_t largeBarSystem_ : 1; //!< VRAM is visiable for host
};
uint32_t flagsEx_;
};