summaryrefslogtreecommitdiffstats
path: root/src/video_core/memory_manager.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-11-23memory_manager: Do not allow 0 to be a valid GPUVAddr.bunnei1-0/+7
- Fixes a bug with Undertale using 0 for a render target.
2018-11-01memory_manager: Do not MapBufferEx over already in use memory.bunnei1-27/+48
- This fixes rendering when changing areas in Super Mario Odyssey.
2018-10-30global: Use std::optional instead of boost::optional (#1578)Frederic L1-4/+4
* get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
2018-10-16memory_manager: Add a method for querying the end of a mapped GPU region.bunnei1-0/+10
2018-07-24video_core/memory_manager: Replace a loop with std::array's fill() function in PageSlot()Lioncash1-3/+1
We already have a function that does what this code was doing, so let's use that instead.
2018-07-24video_core/memory_manager: Avoid repeated unnecessary page slot lookupsLioncash1-11/+21
We don't need to keep calling the same function over and over again in a loop, especially when the behavior is slightly non-trivial. We can just keep a reference to the looked up location and do all the checking and assignments based off it instead.
2018-07-02GPU: Allow GpuToCpuAddress to return boost::none for unmapped addresses.Subv1-2/+2
2018-05-20GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl.Subv1-0/+19
It removes a mapping previously created with the MapBufferEx ioctl.
2018-04-24memory_manager: Add implement CpuToGpuAddress.bunnei1-0/+17
2018-04-24memory_manager: Make GpuToCpuAddress return an optional.bunnei1-1/+6
2018-04-24memory_manager: Use GPUVAdddr, not PAddr, for GPU addresses.bunnei1-36/+36
2018-04-23GPU: Make the GPU virtual memory manager use 16 page bits and 10 page table bits.Subv1-33/+20
Also removed some dead code and added memory map consistency asserts.
2018-02-12Make a GPU class in VideoCore to contain the GPU state.Subv1-5/+3
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there.
2018-02-08nvdrv: Add MemoryManager class to track GPU memory.bunnei1-0/+112