diff options
| author | bunnei <bunneidev@gmail.com> | 2018-05-20 23:54:50 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-20 23:54:50 -0400 |
| commit | 58857b9f46992753059aa8a6c31aff0ee14c9f99 (patch) | |
| tree | d49a9d594878a2c2a948b13109e1a6e6c07ffaba /src/video_core/memory_manager.h | |
| parent | c6eaf0b2cf993c25516f2ae1d27fed840e99b472 (diff) | |
| parent | 525492428d3b1ccbe2096944a7525b242d4c9e7b (diff) | |
Merge pull request #456 from Subv/unmap_buffer
Implemented nvhost-as-gpu's UnmapBuffer and nvmap's Free ioctls.
Diffstat (limited to 'src/video_core/memory_manager.h')
| -rw-r--r-- | src/video_core/memory_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index 08140c83a..86765e72a 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -25,6 +25,7 @@ public: GPUVAddr AllocateSpace(GPUVAddr gpu_addr, u64 size, u64 align); GPUVAddr MapBufferEx(VAddr cpu_addr, u64 size); GPUVAddr MapBufferEx(VAddr cpu_addr, GPUVAddr gpu_addr, u64 size); + GPUVAddr UnmapBuffer(GPUVAddr gpu_addr, u64 size); boost::optional<VAddr> GpuToCpuAddress(GPUVAddr gpu_addr); std::vector<GPUVAddr> CpuToGpuAddress(VAddr cpu_addr) const; |
