aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/host1x/host1x.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2023-12-24 18:20:02 +0100
committerLiam <byteslice@airmail.cc>2024-01-18 21:12:30 -0500
commiteb4f7f35ea0c4ef0eead9748ad5e2d87a8e19329 (patch)
treee167a5d5ad73dbd78dc4b5c165b12a1220a167f4 /src/video_core/host1x/host1x.cpp
parent04b4af6044570e647c27a3e0af3dfd94e0014860 (diff)
NVDRV: Implement sessions and initial implementation of SMMU
Diffstat (limited to 'src/video_core/host1x/host1x.cpp')
-rw-r--r--src/video_core/host1x/host1x.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/host1x/host1x.cpp b/src/video_core/host1x/host1x.cpp
index 7c317a85d4..d05bcaf260 100644
--- a/src/video_core/host1x/host1x.cpp
+++ b/src/video_core/host1x/host1x.cpp
@@ -9,8 +9,7 @@ namespace Tegra {
namespace Host1x {
Host1x::Host1x(Core::System& system_)
- : system{system_}, syncpoint_manager{}, memory_manager{system, 32, 12},
- allocator{std::make_unique<Common::FlatAllocator<u32, 0, 32>>(1 << 12)} {}
+ : system{system_}, syncpoint_manager{}, memory_manager(system.DeviceMemory()) {}
} // namespace Host1x