mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Add mmap mock to DRM memory manager
Change-Id: I0799a909659842e6bba1f5ec5de8f6310ba1b329 Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
d130575dd3
commit
b156393615
@@ -93,6 +93,8 @@ class DrmMemoryManager : public MemoryManager {
|
||||
bool forcePinEnabled = false;
|
||||
const bool validateHostPtrMemory;
|
||||
std::unique_ptr<DrmGemCloseWorker> gemCloseWorker;
|
||||
decltype(&mmap) mmapFunction = mmap;
|
||||
decltype(&munmap) munmapFunction = munmap;
|
||||
decltype(&lseek) lseekFunction = lseek;
|
||||
decltype(&close) closeFunction = close;
|
||||
std::vector<BufferObject *> sharingBufferObjects;
|
||||
|
||||
Reference in New Issue
Block a user