Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-01-25 | Revert "MemoryManager: use fastmem directly." | Merry | 1 | -2/+1 | |
This reverts commit af5ecb0b15d4449f58434e70eed835cf71fc5527. | |||||
2023-01-05 | BufferBase: Don't ignore GPU pages. | Fernando Sahmkow | 1 | -1/+1 | |
2023-01-05 | MemoryManager: use fastmem directly. | Fernando Sahmkow | 1 | -1/+2 | |
2023-01-05 | video_core: Cache GPU internal writes. | Fernando Sahmkow | 1 | -1/+16 | |
2023-01-01 | RasterizerMemory: Add filtering for flushing/invalidation operations. | Fernando Sahmkow | 1 | -8/+17 | |
2023-01-01 | MacroHLE: Reduce massive calculations on sizing estimation. | Fernando Sahmkow | 1 | -9/+2 | |
2023-01-01 | MacroHLE: Add HLE replacement for base vertex and base instance. | Fernando Sahmkow | 1 | -1/+2 | |
2023-01-01 | MacroHLE: Add Index Buffer size estimation. | Fernando Sahmkow | 1 | -0/+2 | |
2022-10-17 | video_core: Implement memory manager page kind | FengChen | 1 | -3/+18 | |
2022-10-06 | General: address feedback | Fernando Sahmkow | 1 | -1/+1 | |
2022-10-06 | Buffer Cache: Deduce vertex array limit from memory layout when limit is the highest possible. | Fernando Sahmkow | 1 | -0/+4 | |
2022-10-06 | DMA & InlineToMemory Engines Rework. | bunnei | 1 | -0/+6 | |
2022-10-06 | MemoryManager: Finish up the initial implementation. | Fernando Sahmkow | 1 | -4/+7 | |
2022-10-06 | MemoryManager: initial multi paging system implementation. | Fernando Sahmkow | 1 | -16/+41 | |
2022-10-06 | Refactor VideoCore to use AS sepparate from Channel. | Fernando Sahmkow | 1 | -0/+9 | |
2022-10-06 | NVDRV: Remake ASGPU | Fernando Sahmkow | 1 | -1/+2 | |
2022-10-06 | VideoCore: Update MemoryManager | Fernando Sahmkow | 1 | -71/+27 | |
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 1 | -3/+2 | |
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later. | |||||
2022-01-29 | Inline2Memory: Flush before writting buffer. | Fernando Sahmkow | 1 | -2/+2 | |
2021-12-31 | video_core/memory_manager: Deduplicate Read/WriteBlock | ameerj | 1 | -0/+5 | |
2021-07-04 | Texture Cache: Address feedback. | Fernando Sahmkow | 1 | -4/+4 | |
2021-07-04 | Texture Cache: Improve accuracy of sparse texture detection. | Fernando Sahmkow | 1 | -0/+20 | |
2021-02-13 | Merge branch 'bytes-to-map-end' into new-bufcache-wip | ReinUsesLisp | 1 | -0/+2 | |
2021-02-13 | gpu: Report renderer errors with exceptions | ReinUsesLisp | 1 | -1/+1 | |
Instead of using a two step initialization to report errors, initialize the GPU renderer and rasterizer on the constructor and report errors through std::runtime_error. | |||||
2021-01-22 | video_core/memory_manager: Add BytesToMapEnd | ReinUsesLisp | 1 | -0/+6 | |
Track map address sizes in a flat ordered map and add a method to query the number of bytes until the end of a map in a given address. | |||||
2021-01-21 | video_core/memory_manager: Remove unused CopyBlockUnsafe | ReinUsesLisp | 1 | -1/+0 | |
This function was not being used. | |||||
2021-01-21 | video_core/memory_manager: Add GPU address based flush method | ReinUsesLisp | 1 | -0/+2 | |
Allow flushing rasterizer contents based on a GPU address. | |||||
2020-12-04 | video_core: Resolve more variable shadowing scenarios | Lioncash | 1 | -2/+2 | |
Resolves variable shadowing scenarios up to the end of the OpenGL code to make it nicer to review. The rest will be resolved in a following commit. | |||||
2020-10-27 | video_core: NVDEC Implementation | ameerj | 1 | -1/+4 | |
This commit aims to implement the NVDEC (Nvidia Decoder) functionality, with video frame decoding being handled by the FFmpeg library. The process begins with Ioctl commands being sent to the NVDEC and VIC (Video Image Composer) emulated devices. These allocate the necessary GPU buffers for the frame data, along with providing information on the incoming video data. A Submit command then signals the GPU to process and decode the frame data. To decode the frame, the respective codec's header must be manually composed from the information provided by NVDEC, then sent with the raw frame data to the ffmpeg library. Currently, H264 and VP9 are supported, with VP9 having some minor artifacting issues related mainly to the reference frame composition in its uncompressed header. Async GPU is not properly implemented at the moment. Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com> | |||||
2020-08-27 | memory_manager: Make use of [[nodiscard]] in the interface | Lioncash | 1 | -17/+17 | |
2020-08-27 | memory_manager: Make operator+ const qualified | Lioncash | 1 | -1/+1 | |
This doesn't modify member state, so it can be marked as const. | |||||
2020-08-24 | memory_manager: Mark IsGranularRange() as a const member function | Lioncash | 1 | -1/+1 | |
This doesn't modify internal member state, so it can be marked as const. | |||||
2020-08-22 | video_core: Initialize renderer with a GPU | ReinUsesLisp | 1 | -2/+5 | |
Add an extra step in GPU initialization to be able to initialize render backends with a valid GPU instance. | |||||
2020-07-26 | hle: nvdrv: Rewrite of GPU memory management. | bunnei | 1 | -106/+66 | |
2020-06-20 | memory_manager: Eliminate variable shadowing | Lioncash | 1 | -6/+6 | |
Renames some variables to prevent ones in inner scopes from shadowing outer-scoped variables. The Copy* functions have no shadowing, but we rename them anyways to remain consistent with the other functions. | |||||
2020-04-17 | video_core: memory_manager: Updates for Common::PageTable changes. | bunnei | 1 | -1/+1 | |
2020-04-08 | Memory: Address Feedback. | Fernando Sahmkow | 1 | -0/+3 | |
2020-04-08 | GPUMemoryManager: Improve safety of memory reads. | Fernando Sahmkow | 1 | -4/+1 | |
2020-04-06 | Buffer Cache: Use vAddr instead of physical memory. | Fernando Sahmkow | 1 | -0/+5 | |
2020-03-14 | PageTable: move backing addresses to a children class as the CPU page table does not need them. | Fernando Sahmkow | 1 | -1/+1 | |
This PR aims to reduce the memory usage in the CPU page table by moving GPU specific parameters into a child class. This saves 1Gb of Memory for most games. | |||||
2020-02-15 | Revert "video_core: memory_manager: Use GPU interface for cache functions." | bunnei | 1 | -1/+6 | |
2020-02-08 | video_core: memory_manager: Use GPU interface for cache functions. | bunnei | 1 | -6/+1 | |
2019-07-09 | prefer system reference over global accessor | Michael Scire | 1 | -1/+7 | |
2019-06-09 | GPUVM: Correct GPU VM virtual address space | Fernando Sahmkow | 1 | -2/+2 | |
2019-05-10 | video_core/memory_manager: Mark IsBlockContinuous() as a const member function | Lioncash | 1 | -2/+2 | |
Corrects the typo in its name and marks the function as a const member function, given it doesn't actually modify memory manager state. | |||||
2019-05-10 | video_core/memory_manager: Mark the constructor as explicit | Lioncash | 1 | -1/+1 | |
Prevents implicit converting constructions of the memory manager. | |||||
2019-05-10 | video_core/memory_manager: Default the destructor within the cpp file | Lioncash | 1 | -0/+1 | |
Makes the class less surprising when it comes to forward declaring the type, and also prevents inlining the destruction code of the class, given it contains non-trivial types. | |||||
2019-05-10 | video_core/memory_manager: Amend doxygen comments | Lioncash | 1 | -7/+7 | |
Corrects references to non-existent parameters and corrects typos. | |||||
2019-05-10 | video_core/memory_manager: Remove superfluous const from function declarations | Lioncash | 1 | -7/+7 | |
These are able to be omitted from the declaration of functions, since they don't do anything at the type system level. The definitions of the functions can retain the use of const though, since they make the variables immutable in the implementation of the function where they're used. | |||||
2019-04-17 | Implement IsBlockContinous | Fernando Sahmkow | 1 | -2/+5 | |
This detects when a GPU Memory Block is not continous within host cpu memory. | |||||
2019-04-16 | Use ReadBlockUnsafe for fetyching DMA CommandLists | Fernando Sahmkow | 1 | -2/+0 | |
2019-04-16 | Document unsafe versions and add BlockCopyUnsafe | Fernando Sahmkow | 1 | -5/+25 | |
2019-04-16 | GPU MemoryManager: Implement ReadBlockUnsafe and WriteBlockUnsafe | Fernando Sahmkow | 1 | -0/+2 | |
2019-04-06 | memory_manager: Improved implementation of read/write/copy block. | bunnei | 1 | -1/+6 | |
- Fixes graphical issues with Chocobo's Mystery Dungeon EVERY BUDDY! - Fixes a crash with Mario Tennis Aces | |||||
2019-04-06 | video_core/memory_manager: Make Read() a const qualified member function | Lioncash | 1 | -1/+1 | |
Given this doesn't actually alter internal state, this can be made a const member function. | |||||
2019-04-06 | video_core/memory_manager: Make ReadBlock() a const qualifier member function | Lioncash | 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. | |||||
2019-04-06 | video_core/memory_manager: Add a const qualified variant of GetPointer() | Lioncash | 1 | -0/+1 | |
Allows retrieving read-only pointers from a const context externally. | |||||
2019-04-06 | video_core/memory_manager: Make FindFreeRegion() a const member function | Lioncash | 1 | -1/+1 | |
This doesn't modify internal state, so it can be made a const member function. | |||||
2019-04-06 | video_core/memory_manager: Make GpuToCpuAddress() a const member function | Lioncash | 1 | -1/+1 | |
This doesn't modify any internal state, so it can be made a const member function to allow its use in const contexts. | |||||
2019-03-21 | memory_manager: Cleanup FindFreeRegion. | bunnei | 1 | -2/+2 | |
2019-03-21 | memory_manager: Bug fixes and further cleanup. | bunnei | 1 | -7/+7 | |
2019-03-21 | memory_manager: Add protections for invalid GPU addresses. | bunnei | 1 | -7/+8 | |
- Avoid a crash in Xenoblade Chronicles 2. | |||||
2019-03-21 | gpu: Rewrite virtual memory manager using PageTable. | bunnei | 1 | -47/+115 | |
2019-03-21 | gpu: Move GPUVAddr definition to common_types. | bunnei | 1 | -3/+0 | |
2019-03-16 | video_core: Refactor to use MemoryManager interface for all memory access. | bunnei | 1 | -1/+16 | |
# 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 | |||||
2018-11-23 | memory_manager: Do not allow 0 to be a valid GPUVAddr. | bunnei | 1 | -1/+2 | |
- Fixes a bug with Undertale using 0 for a render target. | |||||
2018-11-01 | memory_manager: Do not MapBufferEx over already in use memory. | bunnei | 1 | -4/+4 | |
- This fixes rendering when changing areas in Super Mario Odyssey. | |||||
2018-10-30 | global: Use std::optional instead of boost::optional (#1578) | Frederic L | 1 | -4/+3 | |
* 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-16 | memory_manager: Add a method for querying the end of a mapped GPU region. | bunnei | 1 | -0/+1 | |
2018-05-20 | GPU: Implemented nvhost-as-gpu's UnmapBuffer ioctl. | Subv | 1 | -0/+1 | |
It removes a mapping previously created with the MapBufferEx ioctl. | |||||
2018-04-25 | gl_rasterizer_cache: Update to be based on GPU addresses, not CPU addresses. | bunnei | 1 | -1/+0 | |
2018-04-24 | memory_manager: Add implement CpuToGpuAddress. | bunnei | 1 | -0/+10 | |
2018-04-24 | memory_manager: Make GpuToCpuAddress return an optional. | bunnei | 1 | -1/+4 | |
2018-04-24 | memory_manager: Use GPUVAdddr, not PAddr, for GPU addresses. | bunnei | 1 | -8/+8 | |
2018-04-23 | GPU: Make the GPU virtual memory manager use 16 page bits and 10 page table bits. | Subv | 1 | -1/+5 | |
Also removed some dead code and added memory map consistency asserts. | |||||
2018-02-12 | Make a GPU class in VideoCore to contain the GPU state. | Subv | 1 | -4/+5 | |
Also moved the GPU MemoryManager class to video_core since it makes more sense for it to be there. | |||||
2018-02-08 | nvdrv: Add MemoryManager class to track GPU memory. | bunnei | 1 | -0/+48 | |