Fernando Sahmkow
4d65645d80
MemoryManager: Reduce the page table size based on last big page address.
2 years ago
Fernando Sahmkow
241c64e43b
Core: Eliminate core/memory dependancies.
2 years ago
Fernando Sahmkow
eda09c091a
SMMU: Fix 8Gb layout.
2 years ago
Fernando Sahmkow
bb7b14acd5
GPU SMMU: Expand to 34 bits
2 years ago
Fernando Sahmkow
9db159da71
SMMU: Initial adaptation to video_core.
2 years ago
Kelebek1
42638691b5
Use spans over guest memory where possible instead of copying data.
3 years ago
Kelebek1
c7430e51e3
Remove memory allocations in some hot paths
3 years ago
Kelebek1
6bd6e24d6e
Use current GPU address when unmapping GPU pages, not the base
3 years ago
Fernando Sahmkow
d9b4380457
Memory manager: Fix possible softlock
3 years ago
Fernando Sahmkow
ff3cf7c1d9
MemoryManager: Fix race conditions.
3 years ago
Max Dunbar
8b5becf71b
Fixes 'Continous' typo
3 years ago
Liam
6eaef51cf2
memory: rename global memory references to application memory
3 years ago
Merry
6b50650633
Revert "MemoryManager: use fastmem directly."
This reverts commit 7f18e3bb89 .
3 years ago
Fernando Sahmkow
d777ec15f8
BufferBase: Don't ignore GPU pages.
3 years ago
Fernando Sahmkow
7f18e3bb89
MemoryManager: use fastmem directly.
3 years ago
Fernando Sahmkow
8eafb91af0
video_core: Cache GPU internal writes.
3 years ago
Fernando Sahmkow
3ea10762d2
RasterizerMemory: Add filtering for flushing/invalidation operations.
3 years ago
Fernando Sahmkow
12a76465b9
MacroHLE: Reduce massive calculations on sizing estimation.
3 years ago
Fernando Sahmkow
7842543573
MacroHLE: Add HLE replacement for base vertex and base instance.
3 years ago
Fernando Sahmkow
209ce46a9f
MacroHLE: Add Index Buffer size estimation.
3 years ago
FengChen
9d1c9f1f58
video_core:Fix vmm kinds size error
3 years ago
Morph
afea768e8d
general: Resolve -Wunused-but-set-variable
3 years ago
FengChen
2d53a37461
video_core: Implement memory manager page kind
3 years ago
Fernando Sahmkow
2f61540d44
General: Fix clang format.
4 years ago
Fernando Sahmkow
03a978b04b
Buffer Cache: Deduce vertex array limit from memory layout when limit is the highest possible.
4 years ago
bunnei
616e83dd94
DMA & InlineToMemory Engines Rework.
4 years ago
Fernando Sahmkow
a1b6ba1602
Memory Manager: ensure safety of GPU to CPU address.
4 years ago
Fernando Sahmkow
6a3eca65ea
MemoryManager: Fix errors popping out.
4 years ago
Fernando Sahmkow
8f0981702a
MemoryManager: Finish up the initial implementation.
4 years ago
Fernando Sahmkow
67bb131e37
MemoryManager: initial multi paging system implementation.
4 years ago
Fernando Sahmkow
bc66debfdc
Texture cache: Fix the remaining issues with memory mnagement and unmapping.
4 years ago
Fernando Sahmkow
0925f2386a
Refactor VideoCore to use AS sepparate from Channel.
4 years ago
Fernando Sahmkow
19d8ea6bd6
NVDRV: Remake ASGPU
4 years ago
Fernando Sahmkow
80a4737010
MemoryManager: Temporary Fix for NVDEC.
4 years ago
Fernando Sahmkow
a4346d16ed
VideoCore: Update MemoryManager
4 years ago
Fernando Sahmkow
8847b6645c
VideoCore: implement channels on gpu caches.
4 years ago
Kyle Kienapfel
ea00332a67
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
4 years ago
Liam
c1771c98f3
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Morph
2b87305d31
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
b837219423
video_core: Reduce unused includes
4 years ago
ameerj
4c10c0a514
video_core/memory_manager: Fixes for sparse memory management
4 years ago
ameerj
5c644fe97b
video_core/memory_manager: Deduplicate Read/WriteBlock
4 years ago
Morph
421ff5ea79
video_core/memory_manager: Add missing <algorithm> include
4 years ago
Fernando Sahmkow
c01e168072
GPU_MemoryManger: Fix GetSubmappedRange.
5 years ago
FernandoS27
7d40446b99
shader: Address feedback
5 years ago
FernandoS27
8232c10ed1
shader: Implement TLD
5 years ago
Fernando Sahmkow
a358a281bf
Buffer cache: Fixes, Clang and Feedback.
5 years ago
Fernando Sahmkow
4fbb74e45b
GPUMemoryManager: Force inmediate invalidation when writting block.
5 years ago
Fernando Sahmkow
73d501ed4b
Texture Cache: Address feedback.
5 years ago
Fernando Sahmkow
083e0527fd
Texture Cache: Improve accuracy of sparse texture detection.
5 years ago