aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/host1x/host1x.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <[email protected]>2023-12-29 09:50:04 +0100
committerLiam <[email protected]>2024-01-18 21:12:30 -0500
commit96fd1348aea9d70cb502a94cbd0412be6edb0189 (patch)
treeb264d2437dd4fda8c8257566bb5a5d8eb096131a /src/video_core/host1x/host1x.cpp
parentbad705f245f1591d8a92cd57bfbc87dd2cdb0fea (diff)
downloadyuzu-android-96fd1348aea9d70cb502a94cbd0412be6edb0189.tar.gz
yuzu-android-96fd1348aea9d70cb502a94cbd0412be6edb0189.zip
GPU SMMU: Expand to 34 bits
Diffstat (limited to 'src/video_core/host1x/host1x.cpp')
-rw-r--r--src/video_core/host1x/host1x.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/host1x/host1x.cpp b/src/video_core/host1x/host1x.cpp
index d05bcaf26..b7f9a08cf 100644
--- a/src/video_core/host1x/host1x.cpp
+++ b/src/video_core/host1x/host1x.cpp
@@ -9,7 +9,9 @@ namespace Tegra {
namespace Host1x {
Host1x::Host1x(Core::System& system_)
- : system{system_}, syncpoint_manager{}, memory_manager(system.DeviceMemory()) {}
+ : system{system_}, syncpoint_manager{},
+ memory_manager(system.DeviceMemory()), gmmu_manager{system, memory_manager, 32, 12},
+ allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {}
} // namespace Host1x