summaryrefslogtreecommitdiffstats
path: root/src/video_core/host1x/gpu_device_memory_manager.h
blob: a406ce96595ad363d3f1292707831f5aa7a4b353 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later

#pragma once

#include "core/device_memory_manager.h"

namespace VideoCore {
class RasterizerInterface;
}

namespace Tegra {

struct MaxwellDeviceMethods;

struct MaxwellDeviceTraits {
    static constexpr bool supports_pinning = false;
    static constexpr size_t device_virtual_bits = 32;
    using DeviceInterface = typename VideoCore::RasterizerInterface;
    using DeviceMethods = typename MaxwellDeviceMethods;
};

using MaxwellDeviceMemoryManager = Core::DeviceMemoryManager<MaxwellDeviceTraits>;

} // namespace Tegra