summaryrefslogtreecommitdiffstats
path: root/src/video_core/host1x/gpu_device_memory_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/host1x/gpu_device_memory_manager.h')
-rw-r--r--src/video_core/host1x/gpu_device_memory_manager.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/video_core/host1x/gpu_device_memory_manager.h b/src/video_core/host1x/gpu_device_memory_manager.h
new file mode 100644
index 000000000..30ad52017
--- /dev/null
+++ b/src/video_core/host1x/gpu_device_memory_manager.h
@@ -0,0 +1,20 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/device_memory_manager.h"
+
+namespace VideoCore {
+class RasterizerInterface;
+}
+
+namespace Tegra {
+
+struct MaxwellDeviceTraits {
+ static constexpr bool supports_pinning = true;
+ static constexpr size_t device_virtual_bits = 34;
+ using DeviceInterface = typename VideoCore::RasterizerInterface;
+};
+
+using MaxwellDeviceMemoryManager = Core::DeviceMemoryManager<MaxwellDeviceTraits>;
+
+} // namespace Tegra \ No newline at end of file