Skip to content

Commit 4159579

Browse files
committed
575.51.02
1 parent e8113f6 commit 4159579

File tree

1,142 files changed

+308899
-272087
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,142 files changed

+308899
-272087
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# NVIDIA Linux Open GPU Kernel Module Source
22

33
This is the source release of the NVIDIA Linux open GPU kernel modules,
4-
version 570.133.20.
4+
version 575.51.02.
55

66

77
## How to Build
@@ -17,7 +17,7 @@ as root:
1717

1818
Note that the kernel modules built here must be used with GSP
1919
firmware and user-space NVIDIA GPU driver components from a corresponding
20-
570.133.20 driver release. This can be achieved by installing
20+
575.51.02 driver release. This can be achieved by installing
2121
the NVIDIA GPU driver from the .run file using the `--no-kernel-modules`
2222
option. E.g.,
2323

@@ -185,7 +185,7 @@ table below).
185185
For details on feature support and limitations, see the NVIDIA GPU driver
186186
end user README here:
187187

188-
https://us.download.nvidia.com/XFree86/Linux-x86_64/570.133.20/README/kernel_open.html
188+
https://us.download.nvidia.com/XFree86/Linux-x86_64/575.51.02/README/kernel_open.html
189189

190190
For vGPU support, please refer to the README.vgpu packaged in the vGPU Host
191191
Package for more details.
@@ -350,6 +350,7 @@ Subsystem Device ID.
350350
| Quadro RTX 4000 with Max-Q Design | 1EB6 1462 12C6 |
351351
| Quadro RTX 4000 with Max-Q Design | 1EB6 17AA 22B8 |
352352
| Quadro RTX 4000 with Max-Q Design | 1EB6 17AA 22BA |
353+
| Tesla T4 | 1EB8 10DE 12A2 |
353354
| NVIDIA GeForce RTX 2070 SUPER | 1EC2 |
354355
| NVIDIA GeForce RTX 2070 SUPER | 1EC7 |
355356
| NVIDIA GeForce RTX 2080 | 1ED0 |
@@ -964,6 +965,7 @@ Subsystem Device ID.
964965
| NVIDIA GeForce RTX 5080 Laptop GPU | 2C19 |
965966
| NVIDIA GeForce RTX 5090 Laptop GPU | 2C58 |
966967
| NVIDIA GeForce RTX 5080 Laptop GPU | 2C59 |
968+
| NVIDIA GeForce RTX 5060 Ti | 2D04 |
967969
| NVIDIA GeForce RTX 5070 | 2F04 |
968970
| NVIDIA GeForce RTX 5070 Ti Laptop GPU | 2F18 |
969971
| NVIDIA GeForce RTX 5070 Ti Laptop GPU | 2F58 |

kernel-open/Kbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ EXTRA_CFLAGS += -I$(src)/common/inc
8686
EXTRA_CFLAGS += -I$(src)
8787
EXTRA_CFLAGS += -Wall $(DEFINES) $(INCLUDES) -Wno-cast-qual -Wno-format-extra-args
8888
EXTRA_CFLAGS += -D__KERNEL__ -DMODULE -DNVRM
89-
EXTRA_CFLAGS += -DNV_VERSION_STRING=\"570.133.20\"
89+
EXTRA_CFLAGS += -DNV_VERSION_STRING=\"575.51.02\"
9090

9191
ifneq ($(SYSSRCHOST1X),)
9292
EXTRA_CFLAGS += -I$(SYSSRCHOST1X)

kernel-open/Makefile

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,31 @@ else
7171
CC ?= cc
7272
LD ?= ld
7373
OBJDUMP ?= objdump
74+
AWK ?= awk
75+
# Bake the following awk program in a string. The program is needed to add C++
76+
# to the languages excluded from BTF generation.
77+
#
78+
# Also, unconditionally return success (0) from the awk program, rather than
79+
# propagating pahole's return status (with 'exit system(pahole_cmd)'), to
80+
# workaround an DW_TAG_rvalue_reference_type error in
81+
# kernel/nvidia-modeset.ko.
82+
#
83+
# BEGIN {
84+
# pahole_cmd = "pahole"
85+
# for (i = 1; i < ARGC; i++) {
86+
# if (ARGV[i] ~ /--lang_exclude=/) {
87+
# pahole_cmd = pahole_cmd sprintf(" %s,c++", ARGV[i])
88+
# } else {
89+
# pahole_cmd = pahole_cmd sprintf(" %s", ARGV[i])
90+
# }
91+
# }
92+
# system(pahole_cmd)
93+
# }
94+
PAHOLE_AWK_PROGRAM = BEGIN { pahole_cmd = \"pahole\"; for (i = 1; i < ARGC; i++) { if (ARGV[i] ~ /--lang_exclude=/) { pahole_cmd = pahole_cmd sprintf(\" %s,c++\", ARGV[i]); } else { pahole_cmd = pahole_cmd sprintf(\" %s\", ARGV[i]); } } system(pahole_cmd); }
95+
# If scripts/pahole-flags.sh is not present in the kernel tree, add PAHOLE and
96+
# PAHOLE_AWK_PROGRAM assignments to PAHOLE_VARIABLES; otherwise assign the
97+
# empty string to PAHOLE_VARIABLES.
98+
PAHOLE_VARIABLES=$(if $(wildcard $(KERNEL_SOURCES)/scripts/pahole-flags.sh),,"PAHOLE=$(AWK) '$(PAHOLE_AWK_PROGRAM)'")
7499

75100
ifndef ARCH
76101
ARCH := $(shell uname -m | sed -e 's/i.86/i386/' \
@@ -86,7 +111,7 @@ else
86111
ifneq ($(filter $(ARCH),i386 x86_64),)
87112
KERNEL_ARCH = x86
88113
else
89-
ifeq ($(filter $(ARCH),arm64 powerpc),)
114+
ifeq ($(filter $(ARCH),arm64 powerpc riscv),)
90115
$(error Unsupported architecture $(ARCH))
91116
endif
92117
endif
@@ -112,7 +137,8 @@ else
112137

113138
.PHONY: modules module clean clean_conftest modules_install
114139
modules clean modules_install:
115-
@$(MAKE) "LD=$(LD)" "CC=$(CC)" "OBJDUMP=$(OBJDUMP)" $(KBUILD_PARAMS) $@
140+
@$(MAKE) "LD=$(LD)" "CC=$(CC)" "OBJDUMP=$(OBJDUMP)" \
141+
$(PAHOLE_VARIABLES) $(KBUILD_PARAMS) $@
116142
@if [ "$@" = "modules" ]; then \
117143
for module in $(NV_KERNEL_MODULES); do \
118144
if [ -x split-object-file.sh ]; then \
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/*
2+
* SPDX-FileCopyrightText: Copyright (c) 2020-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3+
* SPDX-License-Identifier: MIT
4+
*
5+
* Permission is hereby granted, free of charge, to any person obtaining a
6+
* copy of this software and associated documentation files (the "Software"),
7+
* to deal in the Software without restriction, including without limitation
8+
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
9+
* and/or sell copies of the Software, and to permit persons to whom the
10+
* Software is furnished to do so, subject to the following conditions:
11+
*
12+
* The above copyright notice and this permission notice shall be included in
13+
* all copies or substantial portions of the Software.
14+
*
15+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18+
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20+
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21+
* DEALINGS IN THE SOFTWARE.
22+
*/
23+
#ifndef _OS_DCE_CLIENT_IPC_H_
24+
#define _OS_DCE_CLIENT_IPC_H_
25+
26+
// RM IPC Client Types
27+
28+
#define DCE_CLIENT_RM_IPC_TYPE_SYNC 0x0
29+
#define DCE_CLIENT_RM_IPC_TYPE_EVENT 0x1
30+
#define DCE_CLIENT_RM_IPC_TYPE_MAX 0x2
31+
32+
void dceclientHandleAsyncRpcCallback(NvU32 handle, NvU32 interfaceType,
33+
NvU32 msgLength, void *data,
34+
void *usrCtx);
35+
#endif

0 commit comments

Comments
 (0)