Browse Source
Merge pull request #2572 from FernandoS27/gpu-mem
GPUVM: Correct GPU VM virtual address space
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/video_core/memory_manager.h
|
|
@ -163,8 +163,8 @@ private: |
|
|
static constexpr u64 page_size{1 << page_bits}; |
|
|
static constexpr u64 page_size{1 << page_bits}; |
|
|
static constexpr u64 page_mask{page_size - 1}; |
|
|
static constexpr u64 page_mask{page_size - 1}; |
|
|
|
|
|
|
|
|
/// Address space in bits, this is fairly arbitrary but sufficiently large. |
|
|
|
|
|
static constexpr u32 address_space_width{39}; |
|
|
|
|
|
|
|
|
/// Address space in bits, according to Tegra X1 TRM |
|
|
|
|
|
static constexpr u32 address_space_width{40}; |
|
|
/// Start address for mapping, this is fairly arbitrary but must be non-zero. |
|
|
/// Start address for mapping, this is fairly arbitrary but must be non-zero. |
|
|
static constexpr GPUVAddr address_space_base{0x100000}; |
|
|
static constexpr GPUVAddr address_space_base{0x100000}; |
|
|
/// End of address space, based on address space in bits. |
|
|
/// End of address space, based on address space in bits. |
|
|
|