summaryrefslogblamecommitdiffstats
path: root/src/video_core/host1x/gpu_device_memory_manager.h
blob: 9ccd84b9a25d87161e3822aba92d76197446e275 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13


                                                     

            







                                       

                            
                            
                                                   
                                                     
                                                                    
                                               




                                                                                  
// 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 = 34;
    using DeviceInterface = typename VideoCore::RasterizerInterface;
    using DeviceMethods = MaxwellDeviceMethods;
};

using MaxwellDeviceMemoryManager = Core::DeviceMemoryManager<MaxwellDeviceTraits>;

} // namespace Tegra