Commit Graph

113 Commits (c10e720ba9cb979577b3af53adb1347f13ec4ad5)

Author SHA1 Message Date
Fernando Sahmkow f740d8b9be MemoryManager: Reduce the page table size based on last big page address. 2 years ago
Fernando Sahmkow 23430e6772 Core: Eliminate core/memory dependancies. 2 years ago
Fernando Sahmkow a874ab0133 SMMU: Fix 8Gb layout. 2 years ago
Fernando Sahmkow 96fd1348ae GPU SMMU: Expand to 34 bits 2 years ago
Fernando Sahmkow 0a2536a0df SMMU: Initial adaptation to video_core. 2 years ago
Kelebek1 6f7cb69c94 Use spans over guest memory where possible instead of copying data. 2 years ago
Kelebek1 5da70f7197 Remove memory allocations in some hot paths 2 years ago
Kelebek1 711190bb67 Use current GPU address when unmapping GPU pages, not the base 2 years ago
Fernando Sahmkow 1c13c74295 Memory manager: Fix possible softlock 2 years ago
Fernando Sahmkow 9a7c172f76 MemoryManager: Fix race conditions. 3 years ago
Max Dunbar e446f368d7 Fixes 'Continous' typo 3 years ago
Liam 41d99aa89d memory: rename global memory references to application memory 3 years ago
Merry dc7ab4c5d6 Revert "MemoryManager: use fastmem directly."
This reverts commit af5ecb0b15.
3 years ago
Fernando Sahmkow b56ad93bbc BufferBase: Don't ignore GPU pages. 3 years ago
Fernando Sahmkow af5ecb0b15 MemoryManager: use fastmem directly. 3 years ago
Fernando Sahmkow 6c7eb81f7d video_core: Cache GPU internal writes. 3 years ago
Fernando Sahmkow 3630bfaef3 RasterizerMemory: Add filtering for flushing/invalidation operations. 3 years ago
Fernando Sahmkow 18637766ef MacroHLE: Reduce massive calculations on sizing estimation. 3 years ago
Fernando Sahmkow aad0cbf024 MacroHLE: Add HLE replacement for base vertex and base instance. 3 years ago
Fernando Sahmkow 93ac5a6a6d MacroHLE: Add Index Buffer size estimation. 3 years ago
FengChen aa97f39ba8 video_core:Fix vmm kinds size error 3 years ago
Morph 42c4ef7373 general: Resolve -Wunused-but-set-variable 3 years ago
FengChen 99507d0188 video_core: Implement memory manager page kind 3 years ago
Fernando Sahmkow fe24c65153 General: Fix clang format. 3 years ago
Fernando Sahmkow 770e19f51a Buffer Cache: Deduce vertex array limit from memory layout when limit is the highest possible. 3 years ago
bunnei f5fd6b5c86 DMA & InlineToMemory Engines Rework. 3 years ago
Fernando Sahmkow 7cfa28a666 Memory Manager: ensure safety of GPU to CPU address. 3 years ago
Fernando Sahmkow 5a568b1655 MemoryManager: Fix errors popping out. 3 years ago
Fernando Sahmkow 359f22b808 MemoryManager: Finish up the initial implementation. 3 years ago
Fernando Sahmkow 4d60410dd9 MemoryManager: initial multi paging system implementation. 3 years ago
Fernando Sahmkow f350c3d74e Texture cache: Fix the remaining issues with memory mnagement and unmapping. 3 years ago
Fernando Sahmkow e462191482 Refactor VideoCore to use AS sepparate from Channel. 3 years ago
Fernando Sahmkow feb49c822d NVDRV: Remake ASGPU 3 years ago
Fernando Sahmkow 0f4ae3cc52 MemoryManager: Temporary Fix for NVDEC. 3 years ago
Fernando Sahmkow cbaf3fb433 VideoCore: Update MemoryManager 3 years ago
Fernando Sahmkow 139ea93512 VideoCore: implement channels on gpu caches. 3 years ago
Kyle Kienapfel 14e9de6678 code: dodge PAGE_SIZE #define
Some header files, specifically for OSX and Musl libc define PAGE_SIZE to be a number
This is great except in yuzu we're using PAGE_SIZE as a variable

Specific example
`static constexpr u64 PAGE_SIZE = u64(1) << PAGE_BITS;`

PAGE_SIZE PAGE_BITS PAGE_MASK are all similar variables.
Simply deleted the underscores, and then added YUZU_ prefix

Might be worth noting that there are multiple uses in different classes/namespaces
This list may not be exhaustive

Core::Memory   12 bits (4096)
QueryCacheBase 12 bits
ShaderCache    14 bits (16384)
TextureCache   20 bits (1048576, or 1MB)

Fixes #8779
3 years ago
Liam 084d7d6b01 common: Change semantics of UNREACHABLE to unconditionally crash 3 years ago
Morph 99ceb03a1c general: Convert source file copyright comments over to SPDX
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.
4 years ago
ameerj 1bc7d61b57 video_core: Reduce unused includes 4 years ago
ameerj 285b6dbc39 video_core/memory_manager: Fixes for sparse memory management 4 years ago
ameerj 2428214c4b video_core/memory_manager: Deduplicate Read/WriteBlock 4 years ago
Morph 554c46d186 video_core/memory_manager: Add missing <algorithm> include 4 years ago
Fernando Sahmkow ef2066b272 GPU_MemoryManger: Fix GetSubmappedRange. 4 years ago
FernandoS27 4d0d29fc20 shader: Address feedback 4 years ago
FernandoS27 dc1a9a3bed shader: Implement TLD 4 years ago
Fernando Sahmkow 8f9f142956 Texture Cache: Address feedback. 4 years ago
Fernando Sahmkow fd98fcf7f0 Texture Cache: Improve accuracy of sparse texture detection. 4 years ago
Fernando Sahmkow 38165fb7e3 Texture Cache: Initial Implementation of Sparse Textures. 4 years ago
ameerj 859ba21f6d buffer_cache: Simplify uniform disabling logic 4 years ago