nouveau/gsp: move to latest fw and small fixes
Subsystems (4)
Dave Airlie
maintainerThis moves Ben's work to the latest GSP stable firmware 535.113.01. We will be stuck on this for a while.
There is also a fix for a message signature, and additions of two registry entries, which seem to help recover from crashes.
Dave.
Dave Airlie
maintainerPATCH 1/3 nouveau/gsp: move to 535.113.01
From: Dave Airlie <[email protected]>
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.
---
.../sdk/nvidia/inc/alloc/alloc_channel.h | 13 +++-
.../common/sdk/nvidia/inc/class/cl0000.h | 4 +-
.../common/sdk/nvidia/inc/class/cl0005.h | 2 +-
.../common/sdk/nvidia/inc/class/cl0080.h | 2 +-
.../common/sdk/nvidia/inc/class/cl2080.h | 2 +-
.../nvidia/inc/class/cl2080_notification.h | 2 +-
.../common/sdk/nvidia/inc/class/cl84a0.h | 2 +-
.../common/sdk/nvidia/inc/class/cl90f1.h | 2 +-
.../common/sdk/nvidia/inc/class/clc0b5sw.h | 2 +-
.../nvidia/inc/ctrl/ctrl0073/ctrl0073common.h | 2 +-
.../nvidia/inc/ctrl/ctrl0073/ctrl0073dfp.h | 2 +-
.../sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dp.h | 4 +-
.../inc/ctrl/ctrl0073/ctrl0073specific.h | 2 +-
.../nvidia/inc/ctrl/ctrl0073/ctrl0073system.h | 2 +-
.../nvidia/inc/ctrl/ctrl0080/ctrl0080fifo.h | 2 +-
.../nvidia/inc/ctrl/ctrl0080/ctrl0080gpu.h | 2 +-
.../sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gr.h | 2 +-
.../nvidia/inc/ctrl/ctrl2080/ctrl2080bios.h | 2 +-
.../sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080ce.h | 2 +-
.../nvidia/inc/ctrl/ctrl2080/ctrl2080event.h | 2 +-
.../sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fb.h | 2 +-
.../nvidia/inc/ctrl/ctrl2080/ctrl2080fifo.h | 2 +-
.../nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h | 2 +-
.../sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gr.h | 2 +-
.../inc/ctrl/ctrl2080/ctrl2080internal.h | 2 +-
.../common/sdk/nvidia/inc/ctrl/ctrl90f1.h | 2 +-
.../nvidia/inc/ctrl/ctrla06f/ctrla06fgpfifo.h | 2 +-
.../common/sdk/nvidia/inc/nvlimits.h | 2 +-
.../common/sdk/nvidia/inc/nvos.h | 2 +-
.../common/shared/msgq/inc/msgq/msgq_priv.h | 2 +-
.../uproc/os/common/include/libos_init_args.h | 2 +-
.../nvalloc/common/inc/gsp/gsp_fw_sr_meta.h | 2 +-
.../nvalloc/common/inc/gsp/gsp_fw_wpr_meta.h | 47 ++++++++----
.../arch/nvalloc/common/inc/rmRiscvUcode.h | 2 +-
.../nvidia/arch/nvalloc/common/inc/rmgspseq.h | 2 +-
.../nvidia/generated/g_allclasses.h | 2 +-
.../nvidia/generated/g_chipset_nvoc.h | 2 +-
.../nvidia/generated/g_fbsr_nvoc.h | 2 +-
.../nvidia/generated/g_gpu_nvoc.h | 2 +-
.../nvidia/generated/g_kernel_channel_nvoc.h | 2 +-
.../nvidia/generated/g_kernel_fifo_nvoc.h | 2 +-
.../nvidia/generated/g_mem_desc_nvoc.h | 2 +-
.../nvidia/generated/g_os_nvoc.h | 2 +-
.../nvidia/generated/g_rpc-structures.h | 6 +-
.../nvidia/generated/g_sdk-structures.h | 4 +-
.../nvidia/inc/kernel/gpu/gpu_acpi_data.h | 4 +-
.../nvidia/inc/kernel/gpu/gpu_engine_type.h | 2 +-
.../nvidia/inc/kernel/gpu/gsp/gsp_fw_heap.h | 2 +-
.../nvidia/inc/kernel/gpu/gsp/gsp_init_args.h | 2 +-
.../inc/kernel/gpu/gsp/gsp_static_config.h | 26 +++----
.../nvidia/inc/kernel/gpu/intr/engine_idx.h | 2 +-
.../nvidia/inc/kernel/gpu/nvbitmask.h | 4 +-
.../nvidia/inc/kernel/os/nv_memory_type.h | 2 +-
.../nvidia/kernel/inc/vgpu/rpc_global_enums.h | 2 +-
.../nvidia/kernel/inc/vgpu/rpc_headers.h | 2 +-
.../nvidia/kernel/inc/vgpu/sdk-structures.h | 2 +-
drivers/gpu/drm/nouveau/nvkm/engine/ce/r535.c | 4 +-
.../gpu/drm/nouveau/nvkm/engine/disp/r535.c | 20 ++---
.../gpu/drm/nouveau/nvkm/engine/fifo/r535.c | 20 ++---
drivers/gpu/drm/nouveau/nvkm/engine/gr/r535.c | 10 +--
.../gpu/drm/nouveau/nvkm/engine/nvdec/r535.c | 2 +-
.../gpu/drm/nouveau/nvkm/engine/nvenc/r535.c | 2 +-
.../gpu/drm/nouveau/nvkm/engine/nvjpg/r535.c | 2 +-
.../gpu/drm/nouveau/nvkm/engine/ofa/r535.c | 2 +-
.../gpu/drm/nouveau/nvkm/subdev/bar/r535.c | 6 +-
.../gpu/drm/nouveau/nvkm/subdev/gsp/ad102.c | 4 +-
.../gpu/drm/nouveau/nvkm/subdev/gsp/ga100.c | 4 +-
.../gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c | 4 +-
.../gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 76 +++++++++++--------
.../gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c | 4 +-
.../gpu/drm/nouveau/nvkm/subdev/gsp/tu116.c | 4 +-
.../drm/nouveau/nvkm/subdev/instmem/r535.c | 12 +--
.../gpu/drm/nouveau/nvkm/subdev/mmu/r535.c | 6 +-
73 files changed, 217 insertions(+), 171 deletions(-)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/alloc/alloc_channel.h (93%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/class/cl0000.h (94%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/class/cl0005.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/class/cl0080.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/class/cl2080.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/class/cl2080_notification.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/class/cl84a0.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/class/cl90f1.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/class/clc0b5sw.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073common.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dfp.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dp.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073specific.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073system.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080fifo.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gpu.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gr.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080bios.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080ce.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080event.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fb.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fifo.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gr.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrl90f1.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/ctrl/ctrla06f/ctrla06fgpfifo.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/nvlimits.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/sdk/nvidia/inc/nvos.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/shared/msgq/inc/msgq/msgq_priv.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/common/uproc/os/common/include/libos_init_args.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/arch/nvalloc/common/inc/gsp/gsp_fw_sr_meta.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/arch/nvalloc/common/inc/gsp/gsp_fw_wpr_meta.h (81%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/arch/nvalloc/common/inc/rmRiscvUcode.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/arch/nvalloc/common/inc/rmgspseq.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/generated/g_allclasses.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/generated/g_chipset_nvoc.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/generated/g_fbsr_nvoc.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/generated/g_gpu_nvoc.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/generated/g_kernel_channel_nvoc.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/generated/g_kernel_fifo_nvoc.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/generated/g_mem_desc_nvoc.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/generated/g_os_nvoc.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/generated/g_rpc-structures.h (95%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/generated/g_sdk-structures.h (94%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/inc/kernel/gpu/gpu_acpi_data.h (95%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/inc/kernel/gpu/gpu_engine_type.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/inc/kernel/gpu/gsp/gsp_fw_heap.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/inc/kernel/gpu/gsp/gsp_init_args.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/inc/kernel/gpu/gsp/gsp_static_config.h (86%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/inc/kernel/gpu/intr/engine_idx.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/inc/kernel/gpu/nvbitmask.h (93%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/inc/kernel/os/nv_memory_type.h (97%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/kernel/inc/vgpu/rpc_global_enums.h (99%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/kernel/inc/vgpu/rpc_headers.h (98%)
rename drivers/gpu/drm/nouveau/include/nvrm/{535.54.03 => 535.113.01}/nvidia/kernel/inc/vgpu/sdk-structures.h (97%)drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/alloc/alloc_channel.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/alloc/alloc_channel.h +11 -2
@@ -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); // reservedNvU32 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 ;
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/class/cl0000.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/cl0000.h +2 -2
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/class/cl0005.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/cl0005.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/class/cl0080.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/cl0080.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/class/cl2080.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/cl2080.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/class/cl2080_notification.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/cl2080_notification.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/class/cl84a0.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/cl84a0.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/class/cl90f1.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/cl90f1.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/class/clc0b5sw.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/class/clc0b5sw.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073common.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073common.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dfp.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dfp.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dp.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073dp.h +2 -2
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073specific.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073specific.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073system.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0073/ctrl0073system.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080fifo.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080fifo.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gpu.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gpu.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gr.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl0080/ctrl0080gr.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080bios.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080bios.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080ce.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080ce.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080event.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080event.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fb.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fb.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fifo.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080fifo.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gpu.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gr.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080gr.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl2080/ctrl2080internal.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrl90f1.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrl90f1.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/ctrl/ctrla06f/ctrla06fgpfifo.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/ctrl/ctrla06f/ctrla06fgpfifo.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/nvlimits.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/nvlimits.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/sdk/nvidia/inc/nvos.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/sdk/nvidia/inc/nvos.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/shared/msgq/inc/msgq/msgq_priv.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/shared/msgq/inc/msgq/msgq_priv.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/common/uproc/os/common/include/libos_init_args.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/common/uproc/os/common/include/libos_init_args.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/gsp/gsp_fw_sr_meta.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/arch/nvalloc/common/inc/gsp/gsp_fw_sr_meta.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/gsp/gsp_fw_wpr_meta.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/arch/nvalloc/common/inc/gsp/gsp_fw_wpr_meta.h +34 -13
62 lines not on this page · raw message
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/rmRiscvUcode.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/arch/nvalloc/common/inc/rmRiscvUcode.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/arch/nvalloc/common/inc/rmgspseq.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/arch/nvalloc/common/inc/rmgspseq.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/g_allclasses.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_allclasses.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/g_chipset_nvoc.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_chipset_nvoc.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/g_fbsr_nvoc.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_fbsr_nvoc.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/g_gpu_nvoc.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_gpu_nvoc.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/g_kernel_channel_nvoc.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_kernel_channel_nvoc.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/g_kernel_fifo_nvoc.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_kernel_fifo_nvoc.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/g_mem_desc_nvoc.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_mem_desc_nvoc.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/g_os_nvoc.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_os_nvoc.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/g_rpc-structures.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_rpc-structures.h +3 -3
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/generated/g_sdk-structures.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/generated/g_sdk-structures.h +2 -2
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/inc/kernel/gpu/gpu_acpi_data.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/inc/kernel/gpu/gpu_acpi_data.h +2 -2
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/inc/kernel/gpu/gpu_engine_type.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/inc/kernel/gpu/gpu_engine_type.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/inc/kernel/gpu/gsp/gsp_fw_heap.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/inc/kernel/gpu/gsp/gsp_fw_heap.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/inc/kernel/gpu/gsp/gsp_init_args.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/inc/kernel/gpu/gsp/gsp_init_args.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/inc/kernel/gpu/gsp/gsp_static_config.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/inc/kernel/gpu/gsp/gsp_static_config.h +13 -13
@@ -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> - -/* Excerpt of RM headers from https://github.com/NVIDIA/open-gpu-kernel-modules/tree/535.54.03 */ +#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.113.01 */ /* * SPDX-FileCopyrightText: Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/inc/kernel/gpu/intr/engine_idx.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/inc/kernel/gpu/intr/engine_idx.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/inc/kernel/gpu/nvbitmask.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/inc/kernel/gpu/nvbitmask.h +2 -2
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/inc/kernel/os/nv_memory_type.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/inc/kernel/os/nv_memory_type.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/kernel/inc/vgpu/rpc_global_enums.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/kernel/inc/vgpu/rpc_global_enums.h +1 -1
@@ -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,
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/kernel/inc/vgpu/rpc_headers.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/kernel/inc/vgpu/rpc_headers.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/include/nvrm/535.113.01/nvidia/kernel/inc/vgpu/sdk-structures.h renamed from drivers/gpu/drm/nouveau/include/nvrm/535.54.03/nvidia/kernel/inc/vgpu/sdk-structures.h +1 -1
@@ -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.
drivers/gpu/drm/nouveau/nvkm/engine/ce/r535.c +2 -2
@@ -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;
drivers/gpu/drm/nouveau/nvkm/engine/disp/r535.c +10 -10
@@ -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>
drivers/gpu/drm/nouveau/nvkm/engine/fifo/r535.c +10 -10
@@ -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)
drivers/gpu/drm/nouveau/nvkm/engine/gr/r535.c +5 -5
@@ -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)
drivers/gpu/drm/nouveau/nvkm/engine/nvdec/r535.c +1 -1
@@ -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;
drivers/gpu/drm/nouveau/nvkm/engine/nvenc/r535.c +1 -1
@@ -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;
drivers/gpu/drm/nouveau/nvkm/engine/nvjpg/r535.c +1 -1
@@ -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;
drivers/gpu/drm/nouveau/nvkm/engine/ofa/r535.c +1 -1
@@ -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;
drivers/gpu/drm/nouveau/nvkm/subdev/bar/r535.c +3 -3
@@ -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)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ad102.c +2 -2
@@ -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 }, {} };
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga100.c +2 -2
@@ -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 }, {} };
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ga102.c +2 -2
@@ -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 }, {} };
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +46 -30
128 lines not on this page · raw message
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu102.c +2 -2
@@ -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 }, {} };
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/tu116.c +2 -2
@@ -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 }, {} };
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/r535.c +6 -6
@@ -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;
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/r535.c +3 -3
@@ -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)
Signature · 1 line
2.41.0
Dave Airlie
maintainerPATCH 2/3 nouveau/gsp: fix message signature.
In reply to Dave AirlieFrom: Dave Airlie <[email protected]>
This original one was backwards, compared to traces from nvidia driver.
--- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +1 -1
@@ -693,7 +693,7 @@ r535_gsp_rpc_get(struct nvkm_gsp *gsp, u32 fn, u32 argc)return NULL ; rpc->header_version =0x03000000 ; - rpc->signature = ('V' <<24 ) | ('R' <<16 ) | ('P' <<8 ) |'C' ; + rpc->signature = ('C' <<24 ) | ('P' <<16 ) | ('R' <<8 ) |'V' ; rpc->function = fn; rpc->rpc_result =0xffffffff ; rpc->rpc_result_private =0xffffffff ;
Signature · 1 line
2.41.0
Dave Airlie
maintainerPATCH 3/3 nouveau/gsp: add some basic registry entries.
In reply to Dave AirlieFrom: Dave Airlie <[email protected]>
The nvidia driver sets these two basic registry entries always, so copy it.
--- .../gpu/drm/nouveau/nvkm/subdev/gsp/r535.c | 45 ++++++++++++++----- 1 file changed, 35 insertions(+), 10 deletions(-)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +35 -10
@@ -1029,26 +1029,51 @@ r535_gsp_rpc_unloading_guest_driver(struct nvkm_gsp *gsp, bool suspend)return nvkm_gsp_rpc_wr (gsp, rpc, true); } +/* dword only */ +struct nv_gsp_registry_entries { +const char *name; +uint32_t value; +}; + +#define NV_GSP_REG_NUM_ENTRIES 2 + +static const struct nv_gsp_registry_entries r535_registry_entries[NV_GSP_REG_NUM_ENTRIES ] = { + {"RMSecBusResetEnable" ,1 }, + {"RMForcePcieConfigSave" ,1 }, +}; +static int r535_gsp_rpc_set_registry (struct nvkm_gsp *gsp) {PACKED_REGISTRY_TABLE *rpc;char *strings; +int str_offset; +int i; +size_t rpc_size =sizeof (*rpc) +sizeof (rpc->entries[0 ]) *NV_GSP_REG_NUM_ENTRIES ; - rpc =nvkm_gsp_rpc_get (gsp,NV_VGPU_MSG_FUNCTION_SET_REGISTRY , -sizeof (*rpc) +sizeof (rpc->entries[0 ]) +1 ); +/* add strings + null terminator */ +for (i =0 ; i <NV_GSP_REG_NUM_ENTRIES ; i++) + rpc_size +=strlen (r535_registry_entries[i].name) +1 ; + + rpc =nvkm_gsp_rpc_get (gsp,NV_VGPU_MSG_FUNCTION_SET_REGISTRY , rpc_size);if (IS_ERR (rpc))return PTR_ERR (rpc); rpc->size =sizeof (*rpc); - rpc->numEntries =1 ; - rpc->entries[0].nameOffset = offsetof(typeof(*rpc), entries[1]); - rpc->entries[0 ].type =1 ; - rpc->entries[0 ].data =0 ; - rpc->entries[0 ].length =4 ; - - strings = (char *)&rpc->entries[1 ]; - strings[0 ] ='\0' ; + rpc->numEntries =NV_GSP_REG_NUM_ENTRIES ; + + str_offset = offsetof(typeof(*rpc), entries[NV_GSP_REG_NUM_ENTRIES]); + strings = (char *)&rpc->entries[NV_GSP_REG_NUM_ENTRIES ]; +for (i =0 ; i <NV_GSP_REG_NUM_ENTRIES ; i++) { +int name_len =strlen (r535_registry_entries[i].name) +1 ; + rpc->entries[i].nameOffset = str_offset; + rpc->entries[i].type =1 ; + rpc->entries[i].data = r535_registry_entries[i].value; + rpc->entries[i].length =4 ; +memcpy (strings, r535_registry_entries[i].name, name_len); + strings += name_len; + str_offset += name_len; + }return nvkm_gsp_rpc_wr (gsp, rpc, false); }
Signature · 1 line
2.41.0
Re: [Nouveau] [PATCH 3/3] nouveau/gsp: add some basic registry entries.
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c r535_gsp_rpc_unloading_guest_driver(struct nvkm_gsp *gsp, bool suspend) · line 1043
Quoted 6 lines · Dave Airlie
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +6
-0+#define NV_GSP_REG_NUM_ENTRIES 2 + +static const struct nv_gsp_registry_entries r535_registry_entries[NV_GSP_REG_NUM_ENTRIES ] = { + {"RMSecBusResetEnable" ,1 }, + {"RMForcePcieConfigSave" ,1 }, +};
How about :
static const struct nv_gsp_registry_entries r535_registry_entries[] = {
{ "RMSecBusResetEnable", 1 },
{ "RMForcePcieConfigSave", 1 },
};
#define NV_GSP_REG_NUM_ENTRIES ARRAY_SIZE(r535_registry_entries)
Dave Airlie
maintainerRe: [Nouveau] [PATCH 3/3] nouveau/gsp: add some basic registry entries.
Quoted 11 lines · Timur Tabi
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c r535_gsp_rpc_unloading_guest_driver(struct nvkm_gsp *gsp, bool suspend) · line 1043
Quoted 6 lines · Dave Airlie
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +6
-0+#define NV_GSP_REG_NUM_ENTRIES 2 + +static const struct nv_gsp_registry_entries r535_registry_entries[NV_GSP_REG_NUM_ENTRIES ] = { + {"RMSecBusResetEnable" ,1 }, + {"RMForcePcieConfigSave" ,1 }, +};How about :
Quoted 6 lines
static const struct
nv_gsp_registry_entriesr535_registry_entries[] = {
{ "RMSecBusResetEnable", 1 },
{ "RMForcePcieConfigSave", 1 },
};#define
NV_GSP_REG_NUM_ENTRIESARRAY_SIZE(r535_registry_entries)
Good plan. I'll change that now.
Dave.
Re: [Nouveau] [PATCH 3/3] nouveau/gsp: add some basic registry entries.
Quoted 9 lines · Dave Airlie
Quoted 7 lines
static const struct
nv_gsp_registry_entriesr535_registry_entries[] = { { "RMSecBusResetEnable", 1 },
{ "RMForcePcieConfigSave", 1 },
};#define
NV_GSP_REG_NUM_ENTRIESARRAY_SIZE(r535_registry_entries)Good plan. I'll change that now.
BTW, I looked into these two options. Basically, these options enable "secondary bus reset", although I'm not exactly sure what that means. It does enable saving of PCI config registers, so perhaps it preserves those registers for Nouveau when GSP-RM does a PCI reset.
Also, like I mentioned on IRC earlier, I've got a bunch of patches that provide mroe robust registry control, including setting options from the command-line. I'll post those upstream once the dust has settled.
Re: [Nouveau] [PATCH 3/3] nouveau/gsp: add some basic registry entries.
In reply to Dave AirlieOn Tue, 2023-10-31 at 15:18 +1000, Dave Airlie wrote:
+ strings = (char *)&rpc->entries[NV_GSP_REG_NUM_ENTRIES];
I get a UBSAN index-out-of-bounds error on boot at this line.
[ 17.765746] nouveau 0000:65:00.0: gsp: cmdq: wptr 1 [ 17.765748] ================================================================================ [ 17.774170] UBSAN: array-index-out-of-bounds in drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:1065:33 [ 17.783449] index 2 is out of range for type 'PACKED_REGISTRY_ENTRY [*]' [ 17.790132] CPU: 0 PID: 234 Comm: kworker/0:4 Not tainted 6.6.0-rc5+ #1 [ 17.790135] Hardware name: ASUS X299-A/PRIME X299-A, BIOS 2002 09/25/2019 [ 17.790136] Workqueue: events work_for_cpu_fn [ 17.790143] Call Trace: [ 17.790145] <TASK> [ 17.790148] dump_stack_lvl+0x48/0x70 [ 17.790155] dump_stack+0x10/0x20 [ 17.790156] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 17.790160] r535_gsp_oneinit+0xf81/0x1530 [nouveau] [ 17.790292] ? __dev_printk+0x39/0xa0 [ 17.790295] ? _dev_info+0x75/0xa0 [ 17.790298] tu102_gsp_oneinit+0x9b/0xd0 [nouveau]
I'm not sure what the fix is. Do we need __attribute__((no_sanitize("array-bounds"))) on PACKED_REGISTRY_TABLE?
Dave Airlie
maintainerRe: [Nouveau] [PATCH 3/3] nouveau/gsp: add some basic registry entries.
Quoted 25 lines · Timur Tabi
On Tue, 2023-10-31 at 15:18 +1000, Dave Airlie wrote:
+ strings = (char *)&rpc->entries[NV_GSP_REG_NUM_ENTRIES];
I get a UBSAN index-out-of-bounds error on boot at this line.
[ 17.765746] nouveau 0000:65:00.0: gsp: cmdq: wptr 1 [ 17.765748] ================================================================================ [ 17.774170] UBSAN: array-index-out-of-bounds in drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c:1065:33 [ 17.783449] index 2 is out of range for type 'PACKED_REGISTRY_ENTRY [*]' [ 17.790132] CPU: 0 PID: 234 Comm: kworker/0:4 Not tainted 6.6.0-rc5+ #1 [ 17.790135] Hardware name: ASUS X299-A/PRIME X299-A, BIOS 2002 09/25/2019 [ 17.790136] Workqueue: events work_for_cpu_fn [ 17.790143] Call Trace: [ 17.790145] <TASK> [ 17.790148] dump_stack_lvl+0x48/0x70 [ 17.790155] dump_stack+0x10/0x20 [ 17.790156] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 17.790160] r535_gsp_oneinit+0xf81/0x1530 [nouveau] [ 17.790292] ? __dev_printk+0x39/0xa0 [ 17.790295] ? _dev_info+0x75/0xa0 [ 17.790298] tu102_gsp_oneinit+0x9b/0xd0 [nouveau]
Quoted 1 line
I'm not sure what the fix is. Do we need __attribute__((no_sanitize("array-bounds"))) on
PACKED_REGISTRY_TABLE?
yes that is probably the right answer for this, if we want to reuse the structs that we get from the nvidia driver.
Dave.
Re: [Nouveau] [PATCH 3/3] nouveau/gsp: add some basic registry entries.
On Wed, 2023-11-08 at 04:54 +1000, Dave Airlie wrote:
yes that is probably the right answer for this, if we want to reuse the structs that we get from the nvidia driver.
ok, I'll submit a patch.
Re: [Nouveau] [PATCH 3/3] nouveau/gsp: add some basic registry entries.
In reply to Dave AirlieQuoted 13 lines · Dave Airlie
rpc->size = sizeof(*rpc);drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +4
-8- rpc->numEntries =1 ; - rpc->entries[0].nameOffset = offsetof(typeof(*rpc), entries[1]); - rpc->entries[0 ].type =1 ; - rpc->entries[0 ].data =0 ; - rpc->entries[0 ].length =4 ; - - strings = (char *)&rpc->entries[1 ]; - strings[0 ] ='\0' ; + rpc->numEntries =NV_GSP_REG_NUM_ENTRIES ; + + str_offset = offsetof(typeof(*rpc), entries[NV_GSP_REG_NUM_ENTRIES]); + strings = (char *)&rpc->entries[NV_GSP_REG_NUM_ENTRIES ];
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c r535_gsp_rpc_unloading_guest_driver(struct nvkm_gsp *gsp, bool suspend) · line 1076
Quoted 10 lines
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +10
-0+for (i =0 ; i <NV_GSP_REG_NUM_ENTRIES ; i++) { +int name_len =strlen (r535_registry_entries[i].name) +1 ; + rpc->entries[i].nameOffset = str_offset; + rpc->entries[i].type =1 ; + rpc->entries[i].data = r535_registry_entries[i].value; + rpc->entries[i].length =4 ; +memcpy (strings, r535_registry_entries[i].name, name_len); + strings += name_len; + str_offset += name_len; + }
I'm working on a patch that replaces this code with a dynamically-generated registry so that we can set registry keys via the driver's command-line (like the Nvidia driver). However, you have a bug here. rpc->size must be the total size of the RPC, including all the PACKED_REGISTRY_ENTRY structs and the strings that follow them. You can see this by looking at RmPackageRegistry() and regCountEntriesAndSize() in OpenRM.
Dave Airlie
maintainerRe: [Nouveau] [PATCH 3/3] nouveau/gsp: add some basic registry entries.
Quoted 21 lines · Timur Tabi
Quoted 19 lines · Dave Airlie
rpc->size = sizeof(*rpc);drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +10
-8- rpc->numEntries =1 ; - rpc->entries[0].nameOffset = offsetof(typeof(*rpc), entries[1]); - rpc->entries[0 ].type =1 ; - rpc->entries[0 ].data =0 ; - rpc->entries[0 ].length =4 ; - - strings = (char *)&rpc->entries[1 ]; - strings[0 ] ='\0' ; + rpc->numEntries =NV_GSP_REG_NUM_ENTRIES ; + + str_offset = offsetof(typeof(*rpc), entries[NV_GSP_REG_NUM_ENTRIES]); + strings = (char *)&rpc->entries[NV_GSP_REG_NUM_ENTRIES ]; +for (i =0 ; i <NV_GSP_REG_NUM_ENTRIES ; i++) { +int name_len =strlen (r535_registry_entries[i].name) +1 ; + rpc->entries[i].nameOffset = str_offset; + rpc->entries[i].type =1 ; + rpc->entries[i].data = r535_registry_entries[i].value; + rpc->entries[i].length =4 ;
Quoted 8 lines
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c r535_gsp_rpc_unloading_guest_driver(struct nvkm_gsp *gsp, bool suspend) · line 1076
Quoted 4 lines
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c +4
-0+memcpy (strings, r535_registry_entries[i].name, name_len); + strings += name_len; + str_offset += name_len; + }I'm working on a patch that replaces this code with a dynamically-generated registry so that we can set registry keys via the driver's command-line (like the Nvidia driver).
I'm not sure we'd want that, except maybe as a debugging aid, I'd really like to have nouveau just pick the correct set of registry entries, but I suppose there might be some cases where setting the from the command line would be good for testing.
Quoted 4 lines
a bug here.
rpc->sizemust be the total size of the RPC, including all thePACKED_REGISTRY_ENTRYstructs and the strings that follow them. You can see this by looking atRmPackageRegistry()andregCountEntriesAndSize()in OpenRM.
Oh interesting, I'll take a look today.
Dave.
Danilo Krummrich
Reviewed-byFor the series:
Quoted 9 lines · Dave Airlie
This moves Ben's work to the latest GSP stable firmware 535.113.01. We will be stuck on this for a while.
There is also a fix for a message signature, and additions of two registry entries, which seem to help recover from crashes.
Dave.