diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-12-21 00:04:03 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-01-19 03:12:30 +0100 |
commit | 2f0418c10134b4c8e5ae47ace623b5db57c0435c (patch) | |
tree | 775c82e0b3b07090b1a3c83859bebe2c0f0e1369 /src/video_core/host1x/gpu_device_memory_manager.h | |
parent | Merge pull request #12702 from german77/android-input (diff) | |
download | yuzu-2f0418c10134b4c8e5ae47ace623b5db57c0435c.tar yuzu-2f0418c10134b4c8e5ae47ace623b5db57c0435c.tar.gz yuzu-2f0418c10134b4c8e5ae47ace623b5db57c0435c.tar.bz2 yuzu-2f0418c10134b4c8e5ae47ace623b5db57c0435c.tar.lz yuzu-2f0418c10134b4c8e5ae47ace623b5db57c0435c.tar.xz yuzu-2f0418c10134b4c8e5ae47ace623b5db57c0435c.tar.zst yuzu-2f0418c10134b4c8e5ae47ace623b5db57c0435c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/host1x/gpu_device_memory_manager.h | 20 |
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 |