diff options
| author | 2019-06-11 21:09:57 -0400 | |
|---|---|---|
| committer | 2019-06-11 21:09:57 -0400 | |
| commit | f981efdf8d83e80257dedbd4e7e340ad85f240cb (patch) | |
| tree | be85955f9dfd8aced5685ada47d72eca7cf8ca63 /src | |
| parent | Merge pull request #2571 from lioncash/ref (diff) | |
| parent | GPUVM: Correct GPU VM virtual address space (diff) | |
| download | yuzu-f981efdf8d83e80257dedbd4e7e340ad85f240cb.tar.gz yuzu-f981efdf8d83e80257dedbd4e7e340ad85f240cb.tar.xz yuzu-f981efdf8d83e80257dedbd4e7e340ad85f240cb.zip | |
Merge pull request #2572 from FernandoS27/gpu-mem
GPUVM: Correct GPU VM virtual address space
Diffstat (limited to 'src')
| -rw-r--r-- | src/video_core/memory_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index 113f9d8f3..43a84bd52 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h | |||
| @@ -163,8 +163,8 @@ private: | |||
| 163 | static constexpr u64 page_size{1 << page_bits}; | 163 | static constexpr u64 page_size{1 << page_bits}; |
| 164 | static constexpr u64 page_mask{page_size - 1}; | 164 | static constexpr u64 page_mask{page_size - 1}; |
| 165 | 165 | ||
| 166 | /// Address space in bits, this is fairly arbitrary but sufficiently large. | 166 | /// Address space in bits, according to Tegra X1 TRM |
| 167 | static constexpr u32 address_space_width{39}; | 167 | static constexpr u32 address_space_width{40}; |
| 168 | /// Start address for mapping, this is fairly arbitrary but must be non-zero. | 168 | /// Start address for mapping, this is fairly arbitrary but must be non-zero. |
| 169 | static constexpr GPUVAddr address_space_base{0x100000}; | 169 | static constexpr GPUVAddr address_space_base{0x100000}; |
| 170 | /// End of address space, based on address space in bits. | 170 | /// End of address space, based on address space in bits. |