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>
This commit is contained in:
Ruili Ji authored and Maneesh Gupta committed 2023-04-05 07:47:30 +00:00
1 parent 37849a0726
commit 25fe45bb2a
2 files changed
+6 -1

No files matched your search

+1
View File
@@ -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_;
};