Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use ReadBlockUnsafe on TIC and TSC reading | Fernando Sahmkow | 2019-04-16 | 1 | -0/+2 |
| | | | | | Use ReadBlockUnsafe on TIC and TSC reading as memory is never flushed from host GPU there. | ||||
* | GPU MemoryManager: Implement ReadBlockUnsafe and WriteBlockUnsafe | Fernando Sahmkow | 2019-04-16 | 1 | -0/+32 |
| | |||||
* | memory_manager: Improved implementation of read/write/copy block. | bunnei | 2019-04-06 | 1 | -10/+77 |
| | | | | | - Fixes graphical issues with Chocobo's Mystery Dungeon EVERY BUDDY! - Fixes a crash with Mario Tennis Aces | ||||
* | video_core/memory_manager: Make Read() a const qualified member function | Lioncash | 2019-04-06 | 1 | -5/+5 |
| | | | | | Given this doesn't actually alter internal state, this can be made a const member function. | ||||
* | video_core/memory_manager: Make ReadBlock() a const qualifier member function | Lioncash | 2019-04-06 | 1 | -1/+1 |
| | | | | | | | | Now, since we have a const qualified variant of GetPointer(), we can put it to use in ReadBlock() to retrieve the source pointer that is passed into memcpy. Now block reading may be done from a const context. | ||||
* | video_core/memory_manager: Add a const qualified variant of GetPointer() | Lioncash | 2019-04-06 | 1 | -2/+16 |
| | | | | Allows retrieving read-only pointers from a const context externally. | ||||
* | video_core/memory_manager: Make FindFreeRegion() a const member function | Lioncash | 2019-04-06 | 1 | -9/+10 |
| | | | | | This doesn't modify internal state, so it can be made a const member function. | ||||
* | video_core/memory_manager: Make GpuToCpuAddress() a const member function | Lioncash | 2019-04-06 | 1 | -2/+2 |
| | | | | | This doesn't modify any internal state, so it can be made a const member function to allow its use in const contexts. | ||||
* | memory_manager: Cleanup FindFreeRegion. | bunnei | 2019-03-21 | 1 | -10/+4 |
| | |||||
* | memory_manager: Use Common::AlignUp in public interface as needed. | bunnei | 2019-03-21 | 1 | -11/+22 |
| | |||||
* | memory_manager: Bug fixes and further cleanup. | bunnei | 2019-03-21 | 1 | -66/+65 |
| | |||||
* | memory_manager: Add protections for invalid GPU addresses. | bunnei | 2019-03-21 | 1 | -15/+35 |
| | | | | - Avoid a crash in Xenoblade Chronicles 2. | ||||
* | gpu: Rewrite virtual memory manager using PageTable. | bunnei | 2019-03-21 | 1 | -134/+338 |
| | |||||
* | video_core: Refactor to use MemoryManager interface for all memory access. | bunnei | 2019-03-16 | 1 | -9/+46 |
| | | | | | | | | | | | # Conflicts: # src/video_core/engines/kepler_memory.cpp # src/video_core/engines/maxwell_3d.cpp # src/video_core/morton.cpp # src/video_core/morton.h # src/video_core/renderer_opengl/gl_global_cache.cpp # src/video_core/renderer_opengl/gl_global_cache.h # src/video_core/renderer_opengl/gl_rasterizer_cache.cpp | ||||
* | memory_manager: Check for reserved page status | ReinUsesLisp | 2019-02-03 | 1 | -1/+2 |
| | |||||
* | memory_manager: Do not allow 0 to be a valid GPUVAddr. | bunnei | 2018-11-23 | 1 | -0/+7 |
| | | | | - Fixes a bug with Undertale using 0 for a render target. | ||||
* | memory_manager: Do not MapBufferEx over already in use memory. | bunnei | 2018-11-01 | 1 | -27/+48 |
| | | | | - This fixes rendering when changing areas in Super Mario Odyssey. | ||||
* | global: Use std::optional instead of boost::optional (#1578) | Frederic L | 2018-10-30 | 1 | -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 | ||||
* | memory_manager: Add a method for querying the end of a mapped GPU region. | bunnei | 2018-10-16 | 1 | -0/+10 |
| | |||||
* | video_core/memory_manager: Replace a loop with std::array's fill() function in PageSlot() | Lioncash | 2018-07-24 | 1 | -3/+1 |
| | | | | | We already have a function that does what this code was doing, so let's use that instead. | ||||
* | video_core/memory_manager: Avoid repeated unnecessary page slot lookups | Lioncash | 2018-07-24 | 1 | -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. | ||||
* | GPU: Allow GpuToCpuAddress to return boost::none for unmapped addresses. | Subv | 2018-07-02 | 1 | -2/+2 |
| | |||||
* | GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl. | Subv | 2018-05-20 | 1 | -0/+19 |
| | | | | It removes a mapping previously created with the MapBufferEx ioctl. | ||||
* | memory_manager: Add implement CpuToGpuAddress. | bunnei | 2018-04-24 | 1 | -0/+17 |
| | |||||
* | memory_manager: Make GpuToCpuAddress return an optional. | bunnei | 2018-04-24 | 1 | -1/+6 |
| | |||||
* | memory_manager: Use GPUVAdddr, not PAddr, for GPU addresses. | bunnei | 2018-04-24 | 1 | -36/+36 |
| | |||||
* | GPU: Make the GPU virtual memory manager use 16 page bits and 10 page table bits. | Subv | 2018-04-23 | 1 | -33/+20 |
| | | | | Also removed some dead code and added memory map consistency asserts. | ||||
* | Make a GPU class in VideoCore to contain the GPU state. | Subv | 2018-02-12 | 1 | -0/+110 |
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there. |