mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 05:32:00 +00:00
nouveau/gsp: move to 535.113.01
This moves the initial effort to the latest 535 firmware. The gsp msg structs have changed, and the message passing also. The wpr also seems to have some struct changes. This version of the firmware will be what we are stuck on for a while, until we can refactor the driver and work out a better path forward. Reviewed-by: Danilo Krummrich <dakr@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
7e6bd6409b
commit
b5bad8c16b
@ -1,8 +1,8 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_alloc_alloc_channel_h__
|
||||
#define __src_common_sdk_nvidia_inc_alloc_alloc_channel_h__
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/nvlimits.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/nvlimits.h>
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
@ -116,6 +116,9 @@ typedef struct NV_MEMORY_DESC_PARAMS {
|
||||
#define NVOS04_FLAGS_SKIP_CTXBUFFER_ALLOC_FALSE 0x00000000
|
||||
#define NVOS04_FLAGS_SKIP_CTXBUFFER_ALLOC_TRUE 0x00000001
|
||||
|
||||
#define CC_CHAN_ALLOC_IV_SIZE_DWORD 3U
|
||||
#define CC_CHAN_ALLOC_NONCE_SIZE_DWORD 8U
|
||||
|
||||
typedef struct NV_CHANNEL_ALLOC_PARAMS {
|
||||
|
||||
NvHandle hObjectError; // error context DMA
|
||||
@ -154,6 +157,12 @@ typedef struct NV_CHANNEL_ALLOC_PARAMS {
|
||||
NV_DECLARE_ALIGNED(NV_MEMORY_DESC_PARAMS eccErrorNotifierMem, 8); // reserved
|
||||
NvU32 ProcessID; // reserved
|
||||
NvU32 SubProcessID; // reserved
|
||||
// IV used for CPU-side encryption / GPU-side decryption.
|
||||
NvU32 encryptIv[CC_CHAN_ALLOC_IV_SIZE_DWORD]; // reserved
|
||||
// IV used for CPU-side decryption / GPU-side encryption.
|
||||
NvU32 decryptIv[CC_CHAN_ALLOC_IV_SIZE_DWORD]; // reserved
|
||||
// Nonce used CPU-side signing / GPU-side signature verification.
|
||||
NvU32 hmacNonce[CC_CHAN_ALLOC_NONCE_SIZE_DWORD]; // reserved
|
||||
} NV_CHANNEL_ALLOC_PARAMS;
|
||||
|
||||
typedef NV_CHANNEL_ALLOC_PARAMS NV_CHANNELGPFIFO_ALLOCATION_PARAMETERS;
|
@ -1,8 +1,8 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_class_cl0000_h__
|
||||
#define __src_common_sdk_nvidia_inc_class_cl0000_h__
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/nvlimits.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/nvlimits.h>
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_class_cl0005_h__
|
||||
#define __src_common_sdk_nvidia_inc_class_cl0005_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_class_cl0080_h__
|
||||
#define __src_common_sdk_nvidia_inc_class_cl0080_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_class_cl2080_h__
|
||||
#define __src_common_sdk_nvidia_inc_class_cl2080_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2002-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_class_cl2080_notification_h__
|
||||
#define __src_common_sdk_nvidia_inc_class_cl2080_notification_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_class_cl84a0_h__
|
||||
#define __src_common_sdk_nvidia_inc_class_cl84a0_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2001-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_class_cl90f1_h__
|
||||
#define __src_common_sdk_nvidia_inc_class_cl90f1_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2011 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_class_clc0b5sw_h__
|
||||
#define __src_common_sdk_nvidia_inc_class_clc0b5sw_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2014-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl0073_ctrl0073common_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl0073_ctrl0073common_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl0073_ctrl0073dfp_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl0073_ctrl0073dfp_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2005-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,8 +1,8 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl0073_ctrl0073dp_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl0073_ctrl0073dp_h__
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073common.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073common.h>
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2005-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl0073_ctrl0073specific_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl0073_ctrl0073specific_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl0073_ctrl0073system_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl0073_ctrl0073system_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2005-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl0080_ctrl0080fifo_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl0080_ctrl0080fifo_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2006-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl0080_ctrl0080gpu_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl0080_ctrl0080gpu_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2004-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl0080_ctrl0080gr_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl0080_ctrl0080gr_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2004-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080bios_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080bios_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2005-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080ce_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080ce_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2014-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080event_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080event_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2006-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080fb_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080fb_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2006-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080fifo_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080fifo_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2006-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080gpu_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080gpu_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2006-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080gr_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080gr_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2006-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080internal_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl2080_ctrl2080internal_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2020-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrl90f1_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrl90f1_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2014-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_ctrl_ctrla06f_ctrla06fgpfifo_h__
|
||||
#define __src_common_sdk_nvidia_inc_ctrl_ctrla06f_ctrla06fgpfifo_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2007-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_nvlimits_h__
|
||||
#define __src_common_sdk_nvidia_inc_nvlimits_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2017 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_sdk_nvidia_inc_nvos_h__
|
||||
#define __src_common_sdk_nvidia_inc_nvos_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_shared_msgq_inc_msgq_msgq_priv_h__
|
||||
#define __src_common_shared_msgq_inc_msgq_msgq_priv_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2018-2019 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_common_uproc_os_common_include_libos_init_args_h__
|
||||
#define __src_common_uproc_os_common_include_libos_init_args_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2018-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_arch_nvalloc_common_inc_gsp_gsp_fw_sr_meta_h__
|
||||
#define __src_nvidia_arch_nvalloc_common_inc_gsp_gsp_fw_sr_meta_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_arch_nvalloc_common_inc_gsp_gsp_fw_wpr_meta_h__
|
||||
#define __src_nvidia_arch_nvalloc_common_inc_gsp_gsp_fw_wpr_meta_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
@ -115,21 +115,42 @@ typedef struct
|
||||
// be moved to a different comm. mechanism between the bootstrapper
|
||||
// and the GSP-RM tasks.
|
||||
|
||||
// Shared partition RPC memory (physical address)
|
||||
NvU64 partitionRpcAddr;
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
// Shared partition RPC memory (physical address)
|
||||
NvU64 partitionRpcAddr;
|
||||
|
||||
// Offsets relative to partitionRpcAddr
|
||||
NvU16 partitionRpcRequestOffset;
|
||||
NvU16 partitionRpcReplyOffset;
|
||||
// Offsets relative to partitionRpcAddr
|
||||
NvU16 partitionRpcRequestOffset;
|
||||
NvU16 partitionRpcReplyOffset;
|
||||
|
||||
// Code section and dataSection offset and size.
|
||||
NvU32 elfCodeOffset;
|
||||
NvU32 elfDataOffset;
|
||||
NvU32 elfCodeSize;
|
||||
NvU32 elfDataSize;
|
||||
// Code section and dataSection offset and size.
|
||||
NvU32 elfCodeOffset;
|
||||
NvU32 elfDataOffset;
|
||||
NvU32 elfCodeSize;
|
||||
NvU32 elfDataSize;
|
||||
|
||||
// Used during GSP-RM resume to check for revocation
|
||||
NvU32 lsUcodeVersion;
|
||||
// Used during GSP-RM resume to check for revocation
|
||||
NvU32 lsUcodeVersion;
|
||||
};
|
||||
|
||||
struct
|
||||
{
|
||||
// Pad for the partitionRpc* fields, plus 4 bytes
|
||||
NvU32 partitionRpcPadding[4];
|
||||
|
||||
// CrashCat (contiguous) buffer size/location - occupies same bytes as the
|
||||
// elf(Code|Data)(Offset|Size) fields above.
|
||||
// TODO: move to GSP_FMC_INIT_PARAMS
|
||||
NvU64 sysmemAddrOfCrashReportQueue;
|
||||
NvU32 sizeOfCrashReportQueue;
|
||||
|
||||
// Pad for the lsUcodeVersion field
|
||||
NvU32 lsUcodeVersionPadding[1];
|
||||
};
|
||||
};
|
||||
|
||||
// Number of VF partitions allocating sub-heaps from the WPR heap
|
||||
// Used during boot to ensure the heap is adequately sized
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_arch_nvalloc_common_inc_rmRiscvUcode_h__
|
||||
#define __src_nvidia_arch_nvalloc_common_inc_rmRiscvUcode_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2018-2019 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_arch_nvalloc_common_inc_rmgspseq_h__
|
||||
#define __src_nvidia_arch_nvalloc_common_inc_rmgspseq_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2019-2020 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_generated_g_allclasses_h__
|
||||
#define __src_nvidia_generated_g_allclasses_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_generated_g_chipset_nvoc_h__
|
||||
#define __src_nvidia_generated_g_chipset_nvoc_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_generated_g_fbsr_nvoc_h__
|
||||
#define __src_nvidia_generated_g_fbsr_nvoc_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2009-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_generated_g_gpu_nvoc_h__
|
||||
#define __src_nvidia_generated_g_gpu_nvoc_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2004-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_generated_g_kernel_channel_nvoc_h__
|
||||
#define __src_nvidia_generated_g_kernel_channel_nvoc_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2020-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_generated_g_kernel_fifo_nvoc_h__
|
||||
#define __src_nvidia_generated_g_kernel_fifo_nvoc_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_generated_g_mem_desc_nvoc_h__
|
||||
#define __src_nvidia_generated_g_mem_desc_nvoc_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_generated_g_os_nvoc_h__
|
||||
#define __src_nvidia_generated_g_os_nvoc_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,9 +1,9 @@
|
||||
#ifndef __src_nvidia_generated_g_rpc_structures_h__
|
||||
#define __src_nvidia_generated_g_rpc_structures_h__
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_sdk-structures.h>
|
||||
#include <nvrm/535.54.03/nvidia/kernel/inc/vgpu/sdk-structures.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_sdk-structures.h>
|
||||
#include <nvrm/535.113.01/nvidia/kernel/inc/vgpu/sdk-structures.h>
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2008-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,8 +1,8 @@
|
||||
#ifndef __src_nvidia_generated_g_sdk_structures_h__
|
||||
#define __src_nvidia_generated_g_sdk_structures_h__
|
||||
#include <nvrm/535.54.03/nvidia/kernel/inc/vgpu/rpc_headers.h>
|
||||
#include <nvrm/535.113.01/nvidia/kernel/inc/vgpu/rpc_headers.h>
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2008-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,8 +1,8 @@
|
||||
#ifndef __src_nvidia_inc_kernel_gpu_gpu_acpi_data_h__
|
||||
#define __src_nvidia_inc_kernel_gpu_gpu_acpi_data_h__
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073system.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073system.h>
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_inc_kernel_gpu_gpu_engine_type_h__
|
||||
#define __src_nvidia_inc_kernel_gpu_gpu_engine_type_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_inc_kernel_gpu_gsp_gsp_fw_heap_h__
|
||||
#define __src_nvidia_inc_kernel_gpu_gsp_gsp_fw_heap_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_inc_kernel_gpu_gsp_gsp_init_args_h__
|
||||
#define __src_nvidia_inc_kernel_gpu_gsp_gsp_init_args_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2020-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,18 +1,18 @@
|
||||
#ifndef __src_nvidia_inc_kernel_gpu_gsp_gsp_static_config_h__
|
||||
#define __src_nvidia_inc_kernel_gpu_gsp_gsp_static_config_h__
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gpu.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gr.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080bios.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fb.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gr.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_chipset_nvoc.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_gpu_nvoc.h>
|
||||
#include <nvrm/535.54.03/nvidia/inc/kernel/gpu/gpu_acpi_data.h>
|
||||
#include <nvrm/535.54.03/nvidia/inc/kernel/gpu/nvbitmask.h>
|
||||
#include <nvrm/535.54.03/nvidia/kernel/inc/vgpu/rpc_headers.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gpu.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gr.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080bios.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fb.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gr.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_chipset_nvoc.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_gpu_nvoc.h>
|
||||
#include <nvrm/535.113.01/nvidia/inc/kernel/gpu/gpu_acpi_data.h>
|
||||
#include <nvrm/535.113.01/nvidia/inc/kernel/gpu/nvbitmask.h>
|
||||
#include <nvrm/535.113.01/nvidia/kernel/inc/vgpu/rpc_headers.h>
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_inc_kernel_gpu_intr_engine_idx_h__
|
||||
#define __src_nvidia_inc_kernel_gpu_intr_engine_idx_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 1993-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,8 +1,8 @@
|
||||
#ifndef __src_nvidia_inc_kernel_gpu_nvbitmask_h__
|
||||
#define __src_nvidia_inc_kernel_gpu_nvbitmask_h__
|
||||
#include <nvrm/535.54.03/nvidia/inc/kernel/gpu/gpu_engine_type.h>
|
||||
#include <nvrm/535.113.01/nvidia/inc/kernel/gpu/gpu_engine_type.h>
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_inc_kernel_os_nv_memory_type_h__
|
||||
#define __src_nvidia_inc_kernel_os_nv_memory_type_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2020 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_kernel_inc_vgpu_rpc_global_enums_h__
|
||||
#define __src_nvidia_kernel_inc_vgpu_rpc_global_enums_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
#ifndef X
|
||||
# define X(UNIT, RPC) NV_VGPU_MSG_FUNCTION_##RPC,
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_kernel_inc_vgpu_rpc_headers_h__
|
||||
#define __src_nvidia_kernel_inc_vgpu_rpc_headers_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2017-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -1,7 +1,7 @@
|
||||
#ifndef __src_nvidia_kernel_inc_vgpu_sdk_structures_h__
|
||||
#define __src_nvidia_kernel_inc_vgpu_sdk_structures_h__
|
||||
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */
|
||||
/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.113.01 */
|
||||
|
||||
/*
|
||||
* SPDX-FileCopyrightText: Copyright (c) 2020-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
@ -26,8 +26,8 @@
|
||||
#include <engine/fifo.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/class/cl2080_notification.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/class/clc0b5sw.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/class/cl2080_notification.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/class/clc0b5sw.h>
|
||||
|
||||
struct r535_ce_obj {
|
||||
struct nvkm_object object;
|
||||
|
@ -37,16 +37,16 @@
|
||||
#include <nvhw/drf.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/class/cl2080_notification.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dfp.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dp.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073specific.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073system.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_allclasses.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_mem_desc_nvoc.h>
|
||||
#include <nvrm/535.54.03/nvidia/inc/kernel/os/nv_memory_type.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/class/cl2080_notification.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dfp.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dp.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073specific.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073system.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_allclasses.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_mem_desc_nvoc.h>
|
||||
#include <nvrm/535.113.01/nvidia/inc/kernel/os/nv_memory_type.h>
|
||||
|
||||
#include <linux/acpi.h>
|
||||
|
||||
|
@ -34,16 +34,16 @@
|
||||
#include <nvhw/drf.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/alloc/alloc_channel.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/class/cl2080_notification.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080ce.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fifo.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrla06f/ctrla06fgpfifo.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_kernel_channel_nvoc.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_kernel_fifo_nvoc.h>
|
||||
#include <nvrm/535.54.03/nvidia/inc/kernel/gpu/gpu_engine_type.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/alloc/alloc_channel.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/class/cl2080_notification.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080ce.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fifo.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrla06f/ctrla06fgpfifo.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_kernel_channel_nvoc.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_kernel_fifo_nvoc.h>
|
||||
#include <nvrm/535.113.01/nvidia/inc/kernel/gpu/gpu_engine_type.h>
|
||||
|
||||
static u32
|
||||
r535_chan_doorbell_handle(struct nvkm_chan *chan)
|
||||
|
@ -31,11 +31,11 @@
|
||||
#include <nvhw/drf.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/alloc/alloc_channel.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080fifo.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_kernel_channel_nvoc.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/alloc/alloc_channel.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080fifo.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_kernel_channel_nvoc.h>
|
||||
|
||||
#define r535_gr(p) container_of((p), struct r535_gr, base)
|
||||
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <engine/fifo.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/nvos.h>
|
||||
|
||||
struct r535_nvdec_obj {
|
||||
struct nvkm_object object;
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <engine/fifo.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/nvos.h>
|
||||
|
||||
struct r535_nvenc_obj {
|
||||
struct nvkm_object object;
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <engine/fifo.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/nvos.h>
|
||||
|
||||
struct r535_nvjpg_obj {
|
||||
struct nvkm_object object;
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <engine/fifo.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/nvos.h>
|
||||
|
||||
struct r535_ofa_obj {
|
||||
struct nvkm_object object;
|
||||
|
@ -28,9 +28,9 @@
|
||||
#include <subdev/mmu/vmm.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_rpc-structures.h>
|
||||
#include <nvrm/535.54.03/nvidia/kernel/inc/vgpu/rpc_global_enums.h>
|
||||
#include <nvrm/535.54.03/nvidia/kernel/inc/vgpu/rpc_headers.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_rpc-structures.h>
|
||||
#include <nvrm/535.113.01/nvidia/kernel/inc/vgpu/rpc_global_enums.h>
|
||||
#include <nvrm/535.113.01/nvidia/kernel/inc/vgpu/rpc_headers.h>
|
||||
|
||||
static void
|
||||
r535_bar_flush(struct nvkm_bar *bar)
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "priv.h"
|
||||
|
||||
static const struct nvkm_gsp_func
|
||||
ad102_gsp_r535_54_03 = {
|
||||
ad102_gsp_r535_113_01 = {
|
||||
.flcn = &ga102_gsp_flcn,
|
||||
.fwsec = &ga102_gsp_fwsec,
|
||||
|
||||
@ -45,7 +45,7 @@ ad102_gsp_r535_54_03 = {
|
||||
|
||||
static struct nvkm_gsp_fwif
|
||||
ad102_gsps[] = {
|
||||
{ 0, r535_gsp_load, &ad102_gsp_r535_54_03, "535.54.03", true },
|
||||
{ 0, r535_gsp_load, &ad102_gsp_r535_113_01, "535.113.01", true },
|
||||
{}
|
||||
};
|
||||
|
||||
|
@ -39,7 +39,7 @@ ga100_gsp_flcn = {
|
||||
};
|
||||
|
||||
static const struct nvkm_gsp_func
|
||||
ga100_gsp_r535_54_03 = {
|
||||
ga100_gsp_r535_113_01 = {
|
||||
.flcn = &ga100_gsp_flcn,
|
||||
.fwsec = &tu102_gsp_fwsec,
|
||||
|
||||
@ -61,7 +61,7 @@ ga100_gsp_r535_54_03 = {
|
||||
|
||||
static struct nvkm_gsp_fwif
|
||||
ga100_gsps[] = {
|
||||
{ 0, r535_gsp_load, &ga100_gsp_r535_54_03, "535.54.03" },
|
||||
{ 0, r535_gsp_load, &ga100_gsp_r535_113_01, "535.113.01" },
|
||||
{ -1, gv100_gsp_nofw, &gv100_gsp },
|
||||
{}
|
||||
};
|
||||
|
@ -150,7 +150,7 @@ ga102_gsp_flcn = {
|
||||
};
|
||||
|
||||
static const struct nvkm_gsp_func
|
||||
ga102_gsp_r535_54_03 = {
|
||||
ga102_gsp_r535_113_01 = {
|
||||
.flcn = &ga102_gsp_flcn,
|
||||
.fwsec = &ga102_gsp_fwsec,
|
||||
|
||||
@ -178,7 +178,7 @@ ga102_gsp = {
|
||||
|
||||
static struct nvkm_gsp_fwif
|
||||
ga102_gsps[] = {
|
||||
{ 0, r535_gsp_load, &ga102_gsp_r535_54_03, "535.54.03" },
|
||||
{ 0, r535_gsp_load, &ga102_gsp_r535_113_01, "535.113.01" },
|
||||
{ -1, gv100_gsp_nofw, &ga102_gsp },
|
||||
{}
|
||||
};
|
||||
|
@ -30,37 +30,46 @@
|
||||
#include <nvfw/fw.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/class/cl0000.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/class/cl0005.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/class/cl0080.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/class/cl2080.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080event.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.54.03/common/shared/msgq/inc/msgq/msgq_priv.h>
|
||||
#include <nvrm/535.54.03/common/uproc/os/common/include/libos_init_args.h>
|
||||
#include <nvrm/535.54.03/nvidia/arch/nvalloc/common/inc/gsp/gsp_fw_sr_meta.h>
|
||||
#include <nvrm/535.54.03/nvidia/arch/nvalloc/common/inc/gsp/gsp_fw_wpr_meta.h>
|
||||
#include <nvrm/535.54.03/nvidia/arch/nvalloc/common/inc/rmRiscvUcode.h>
|
||||
#include <nvrm/535.54.03/nvidia/arch/nvalloc/common/inc/rmgspseq.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_allclasses.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_os_nvoc.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_rpc-structures.h>
|
||||
#include <nvrm/535.54.03/nvidia/inc/kernel/gpu/gsp/gsp_fw_heap.h>
|
||||
#include <nvrm/535.54.03/nvidia/inc/kernel/gpu/gsp/gsp_init_args.h>
|
||||
#include <nvrm/535.54.03/nvidia/inc/kernel/gpu/gsp/gsp_static_config.h>
|
||||
#include <nvrm/535.54.03/nvidia/inc/kernel/gpu/intr/engine_idx.h>
|
||||
#include <nvrm/535.54.03/nvidia/kernel/inc/vgpu/rpc_global_enums.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/class/cl0000.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/class/cl0005.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/class/cl0080.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/class/cl2080.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080event.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.113.01/common/shared/msgq/inc/msgq/msgq_priv.h>
|
||||
#include <nvrm/535.113.01/common/uproc/os/common/include/libos_init_args.h>
|
||||
#include <nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/gsp/gsp_fw_sr_meta.h>
|
||||
#include <nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/gsp/gsp_fw_wpr_meta.h>
|
||||
#include <nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/rmRiscvUcode.h>
|
||||
#include <nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/rmgspseq.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_allclasses.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_os_nvoc.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_rpc-structures.h>
|
||||
#include <nvrm/535.113.01/nvidia/inc/kernel/gpu/gsp/gsp_fw_heap.h>
|
||||
#include <nvrm/535.113.01/nvidia/inc/kernel/gpu/gsp/gsp_init_args.h>
|
||||
#include <nvrm/535.113.01/nvidia/inc/kernel/gpu/gsp/gsp_static_config.h>
|
||||
#include <nvrm/535.113.01/nvidia/inc/kernel/gpu/intr/engine_idx.h>
|
||||
#include <nvrm/535.113.01/nvidia/kernel/inc/vgpu/rpc_global_enums.h>
|
||||
|
||||
#include <linux/acpi.h>
|
||||
|
||||
#define GSP_MSG_MIN_SIZE GSP_PAGE_SIZE
|
||||
#define GSP_MSG_MAX_SIZE GSP_PAGE_MIN_SIZE * 16
|
||||
|
||||
struct r535_gsp_msg {
|
||||
u8 auth_tag_buffer[16];
|
||||
u8 aad_buffer[16];
|
||||
u32 checksum;
|
||||
u32 sequence;
|
||||
u32 elem_count;
|
||||
u32 pad;
|
||||
u8 data[];
|
||||
};
|
||||
|
||||
#define GSP_MSG_HDR_SIZE offsetof(struct r535_gsp_msg, data)
|
||||
|
||||
static void *
|
||||
r535_gsp_msgq_wait(struct nvkm_gsp *gsp, u32 repc, u32 *prepc, int *ptime)
|
||||
{
|
||||
@ -70,7 +79,7 @@ r535_gsp_msgq_wait(struct nvkm_gsp *gsp, u32 repc, u32 *prepc, int *ptime)
|
||||
u8 *msg;
|
||||
u32 len;
|
||||
|
||||
size = DIV_ROUND_UP(sizeof(*mqe) + repc, GSP_PAGE_SIZE);
|
||||
size = DIV_ROUND_UP(GSP_MSG_HDR_SIZE + repc, GSP_PAGE_SIZE);
|
||||
if (WARN_ON(!size || size >= gsp->msgq.cnt))
|
||||
return ERR_PTR(-EINVAL);
|
||||
|
||||
@ -135,20 +144,25 @@ r535_gsp_cmdq_push(struct nvkm_gsp *gsp, void *argv)
|
||||
struct r535_gsp_msg *cqe;
|
||||
u32 argc = cmd->checksum;
|
||||
u64 *ptr = (void *)cmd;
|
||||
u64 *end = (void *)cmd->data + argc;
|
||||
u64 *end;
|
||||
u64 csum = 0;
|
||||
int free, time = 1000000;
|
||||
u32 wptr, size;
|
||||
u32 off = 0;
|
||||
|
||||
argc = ALIGN(GSP_MSG_HDR_SIZE + argc, GSP_PAGE_SIZE);
|
||||
|
||||
end = (u64 *)((char *)ptr + argc);
|
||||
cmd->pad = 0;
|
||||
cmd->checksum = 0;
|
||||
cmd->sequence = gsp->cmdq.seq++;
|
||||
cmd->elem_count = DIV_ROUND_UP(argc, 0x1000);
|
||||
|
||||
while (ptr < end)
|
||||
csum ^= *ptr++;
|
||||
|
||||
cmd->checksum = upper_32_bits(csum) ^ lower_32_bits(csum);
|
||||
|
||||
argc = sizeof(*cmd) + argc;
|
||||
wptr = *gsp->cmdq.wptr;
|
||||
do {
|
||||
do {
|
||||
@ -193,8 +207,10 @@ static void *
|
||||
r535_gsp_cmdq_get(struct nvkm_gsp *gsp, u32 argc)
|
||||
{
|
||||
struct r535_gsp_msg *cmd;
|
||||
u32 size = GSP_MSG_HDR_SIZE + argc;
|
||||
|
||||
cmd = kvzalloc(sizeof(*cmd) + argc, GFP_KERNEL);
|
||||
size = ALIGN(size, GSP_MSG_MIN_SIZE);
|
||||
cmd = kvzalloc(size, GFP_KERNEL);
|
||||
if (!cmd)
|
||||
return ERR_PTR(-ENOMEM);
|
||||
|
||||
@ -2168,10 +2184,10 @@ r535_gsp_load(struct nvkm_gsp *gsp, int ver, const struct nvkm_gsp_fwif *fwif)
|
||||
}
|
||||
|
||||
#define NVKM_GSP_FIRMWARE(chip) \
|
||||
MODULE_FIRMWARE("nvidia/"#chip"/gsp/booter_load-535.54.03.bin"); \
|
||||
MODULE_FIRMWARE("nvidia/"#chip"/gsp/booter_unload-535.54.03.bin"); \
|
||||
MODULE_FIRMWARE("nvidia/"#chip"/gsp/bootloader-535.54.03.bin"); \
|
||||
MODULE_FIRMWARE("nvidia/"#chip"/gsp/gsp-535.54.03.bin")
|
||||
MODULE_FIRMWARE("nvidia/"#chip"/gsp/booter_load-535.113.01.bin"); \
|
||||
MODULE_FIRMWARE("nvidia/"#chip"/gsp/booter_unload-535.113.01.bin"); \
|
||||
MODULE_FIRMWARE("nvidia/"#chip"/gsp/bootloader-535.113.01.bin"); \
|
||||
MODULE_FIRMWARE("nvidia/"#chip"/gsp/gsp-535.113.01.bin")
|
||||
|
||||
NVKM_GSP_FIRMWARE(tu102);
|
||||
NVKM_GSP_FIRMWARE(tu104);
|
||||
|
@ -163,7 +163,7 @@ tu102_gsp_flcn = {
|
||||
};
|
||||
|
||||
static const struct nvkm_gsp_func
|
||||
tu102_gsp_r535_54_03 = {
|
||||
tu102_gsp_r535_113_01 = {
|
||||
.flcn = &tu102_gsp_flcn,
|
||||
.fwsec = &tu102_gsp_fwsec,
|
||||
|
||||
@ -185,7 +185,7 @@ tu102_gsp_r535_54_03 = {
|
||||
|
||||
static struct nvkm_gsp_fwif
|
||||
tu102_gsps[] = {
|
||||
{ 0, r535_gsp_load, &tu102_gsp_r535_54_03, "535.54.03" },
|
||||
{ 0, r535_gsp_load, &tu102_gsp_r535_113_01, "535.113.01" },
|
||||
{ -1, gv100_gsp_nofw, &gv100_gsp },
|
||||
{}
|
||||
};
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "priv.h"
|
||||
|
||||
static const struct nvkm_gsp_func
|
||||
tu116_gsp_r535_54_03 = {
|
||||
tu116_gsp_r535_113_01 = {
|
||||
.flcn = &tu102_gsp_flcn,
|
||||
.fwsec = &tu102_gsp_fwsec,
|
||||
|
||||
@ -44,7 +44,7 @@ tu116_gsp_r535_54_03 = {
|
||||
|
||||
static struct nvkm_gsp_fwif
|
||||
tu116_gsps[] = {
|
||||
{ 0, r535_gsp_load, &tu116_gsp_r535_54_03, "535.54.03" },
|
||||
{ 0, r535_gsp_load, &tu116_gsp_r535_113_01, "535.113.01" },
|
||||
{ -1, gv100_gsp_nofw, &gv100_gsp },
|
||||
{}
|
||||
};
|
||||
|
@ -26,12 +26,12 @@
|
||||
#include <nvhw/drf.h>
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/class/cl84a0.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_fbsr_nvoc.h>
|
||||
#include <nvrm/535.54.03/nvidia/generated/g_rpc-structures.h>
|
||||
#include <nvrm/535.54.03/nvidia/kernel/inc/vgpu/rpc_global_enums.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/class/cl84a0.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_fbsr_nvoc.h>
|
||||
#include <nvrm/535.113.01/nvidia/generated/g_rpc-structures.h>
|
||||
#include <nvrm/535.113.01/nvidia/kernel/inc/vgpu/rpc_global_enums.h>
|
||||
|
||||
struct fbsr_item {
|
||||
const char *type;
|
||||
|
@ -22,9 +22,9 @@
|
||||
#include "vmm.h"
|
||||
|
||||
#include <nvrm/nvtypes.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/class/cl90f1.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl90f1.h>
|
||||
#include <nvrm/535.54.03/common/sdk/nvidia/inc/nvos.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/class/cl90f1.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl90f1.h>
|
||||
#include <nvrm/535.113.01/common/sdk/nvidia/inc/nvos.h>
|
||||
|
||||
static int
|
||||
r535_mmu_promote_vmm(struct nvkm_vmm *vmm)
|
||||
|
Loading…
Reference in New Issue
Block a user