2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

GPUVM: Correct GPU VM virtual address space

This commit is contained in:
Fernando Sahmkow 2019-06-09 17:47:15 -04:00
parent ac54f1a967
commit f79823fda7

View file

@ -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. /// Address space in bits, according to Tegra X1 TRM
static constexpr u32 address_space_width{39}; 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.