Skip to content

Commit 3084c04

Browse files
nivgauravjuvekar
authored andcommitted
555.42.02
(cherry picked from commit 5a1c474)
1 parent caa2dd1 commit 3084c04

File tree

1,004 files changed

+166887
-145325
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,004 files changed

+166887
-145325
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Changelog
22

3-
## Release 550 Entries
3+
## Release 555 Entries
44

5-
### [550.100] 2024-07-09
5+
### [555.42.02] 2024-05-21
66

7-
### [550.90.07] 2024-06-04
7+
## Release 550 Entries
88

99
### [550.78] 2024-04-25
1010

README.md

Lines changed: 5 additions & 7 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 550.100.
4+
version 555.42.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-
550.100 driver release. This can be achieved by installing
20+
555.42.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

@@ -74,7 +74,7 @@ kernel.
7474

7575
The NVIDIA open kernel modules support the same range of Linux kernel
7676
versions that are supported with the proprietary NVIDIA kernel modules.
77-
This is currently Linux kernel 3.10 or newer.
77+
This is currently Linux kernel 4.15 or newer.
7878

7979

8080
## How to Contribute
@@ -188,7 +188,7 @@ encountered specific to them.
188188
For details on feature support and limitations, see the NVIDIA GPU driver
189189
end user README here:
190190

191-
https://us.download.nvidia.com/XFree86/Linux-x86_64/550.100/README/kernel_open.html
191+
https://us.download.nvidia.com/XFree86/Linux-x86_64/555.42.02/README/kernel_open.html
192192

193193
For vGPU support, please refer to the README.vgpu packaged in the vGPU Host
194194
Package for more details.
@@ -757,8 +757,6 @@ Subsystem Device ID.
757757
| NVIDIA H100 80GB HBM3 | 2330 10DE 16C0 |
758758
| NVIDIA H100 80GB HBM3 | 2330 10DE 16C1 |
759759
| NVIDIA H100 PCIe | 2331 10DE 1626 |
760-
| NVIDIA H200 | 2335 10DE 18BE |
761-
| NVIDIA H200 | 2335 10DE 18BF |
762760
| NVIDIA H100 | 2339 10DE 17FC |
763761
| NVIDIA H800 NVL | 233A 10DE 183A |
764762
| NVIDIA GH200 120GB | 2342 10DE 16EB |
@@ -858,6 +856,7 @@ Subsystem Device ID.
858856
| NVIDIA RTX A500 Embedded GPU | 25FB |
859857
| NVIDIA GeForce RTX 4090 | 2684 |
860858
| NVIDIA GeForce RTX 4090 D | 2685 |
859+
| NVIDIA GeForce RTX 4070 Ti SUPER | 2689 |
861860
| NVIDIA RTX 6000 Ada Generation | 26B1 1028 16A1 |
862861
| NVIDIA RTX 6000 Ada Generation | 26B1 103C 16A1 |
863862
| NVIDIA RTX 6000 Ada Generation | 26B1 10DE 16A1 |
@@ -875,7 +874,6 @@ Subsystem Device ID.
875874
| NVIDIA L40S | 26B9 10DE 1851 |
876875
| NVIDIA L40S | 26B9 10DE 18CF |
877876
| NVIDIA L20 | 26BA 10DE 1957 |
878-
| NVIDIA L20 | 26BA 10DE 1990 |
879877
| NVIDIA GeForce RTX 4080 SUPER | 2702 |
880878
| NVIDIA GeForce RTX 4080 | 2704 |
881879
| NVIDIA GeForce RTX 4070 Ti SUPER | 2705 |

kernel-open/Kbuild

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ EXTRA_CFLAGS += -I$(src)/common/inc
7272
EXTRA_CFLAGS += -I$(src)
7373
EXTRA_CFLAGS += -Wall $(DEFINES) $(INCLUDES) -Wno-cast-qual -Wno-format-extra-args
7474
EXTRA_CFLAGS += -D__KERNEL__ -DMODULE -DNVRM
75-
EXTRA_CFLAGS += -DNV_VERSION_STRING=\"550.100\"
75+
EXTRA_CFLAGS += -DNV_VERSION_STRING=\"555.42.02\"
7676

7777
ifneq ($(SYSSRCHOST1X),)
7878
EXTRA_CFLAGS += -I$(SYSSRCHOST1X)
@@ -118,7 +118,7 @@ ifeq ($(ARCH),x86_64)
118118
endif
119119

120120
ifeq ($(ARCH),powerpc)
121-
EXTRA_CFLAGS += -mlittle-endian -mno-strict-align -mno-altivec
121+
EXTRA_CFLAGS += -mlittle-endian -mno-strict-align
122122
endif
123123

124124
EXTRA_CFLAGS += -DNV_UVM_ENABLE
@@ -172,6 +172,7 @@ NV_CFLAGS_FROM_CONFTEST := $(shell $(NV_CONFTEST_CMD) build_cflags)
172172
NV_CONFTEST_CFLAGS = $(NV_CFLAGS_FROM_CONFTEST) $(EXTRA_CFLAGS) -fno-pie
173173
NV_CONFTEST_CFLAGS += $(call cc-disable-warning,pointer-sign)
174174
NV_CONFTEST_CFLAGS += $(call cc-option,-fshort-wchar,)
175+
NV_CONFTEST_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types,)
175176
NV_CONFTEST_CFLAGS += -Wno-error
176177

177178
NV_CONFTEST_COMPILE_TEST_HEADERS := $(obj)/conftest/macros.h

kernel-open/Makefile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ else
2828
else
2929
KERNEL_UNAME ?= $(shell uname -r)
3030
KERNEL_MODLIB := /lib/modules/$(KERNEL_UNAME)
31-
KERNEL_SOURCES := $(shell test -d $(KERNEL_MODLIB)/source && echo $(KERNEL_MODLIB)/source || echo $(KERNEL_MODLIB)/build)
31+
KERNEL_SOURCES := $(shell ((test -d $(KERNEL_MODLIB)/source && echo $(KERNEL_MODLIB)/source) || (test -d $(KERNEL_MODLIB)/build/source && echo $(KERNEL_MODLIB)/build/source)) || echo $(KERNEL_MODLIB)/build)
3232
endif
3333

3434
KERNEL_OUTPUT := $(KERNEL_SOURCES)
@@ -42,7 +42,11 @@ else
4242
else
4343
KERNEL_UNAME ?= $(shell uname -r)
4444
KERNEL_MODLIB := /lib/modules/$(KERNEL_UNAME)
45-
ifeq ($(KERNEL_SOURCES), $(KERNEL_MODLIB)/source)
45+
# $(filter patter...,text) - Returns all whitespace-separated words in text that
46+
# do match any of the pattern words, removing any words that do not match.
47+
# Set the KERNEL_OUTPUT only if either $(KERNEL_MODLIB)/source or
48+
# $(KERNEL_MODLIB)/build/source path matches the KERNEL_SOURCES.
49+
ifneq ($(filter $(KERNEL_SOURCES),$(KERNEL_MODLIB)/source $(KERNEL_MODLIB)/build/source),)
4650
KERNEL_OUTPUT := $(KERNEL_MODLIB)/build
4751
KBUILD_PARAMS := KBUILD_OUTPUT=$(KERNEL_OUTPUT)
4852
endif

kernel-open/common/inc/nv-linux.h

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,10 @@
5858
#include <linux/version.h>
5959
#include <linux/utsname.h>
6060

61-
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 32)
62-
#error "This driver does not support kernels older than 2.6.32!"
63-
#elif LINUX_VERSION_CODE < KERNEL_VERSION(2, 7, 0)
64-
# define KERNEL_2_6
65-
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 0, 0)
66-
# define KERNEL_3
67-
#else
68-
#error "This driver does not support development kernels!"
61+
#if LINUX_VERSION_CODE == KERNEL_VERSION(4, 4, 0)
62+
// Version 4.4 is allowed, temporarily, although not officially supported.
63+
#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)
64+
#error "This driver does not support kernels older than Linux 4.15!"
6965
#endif
7066

7167
#if defined (CONFIG_SMP) && !defined (__SMP__)
@@ -836,16 +832,16 @@ static inline dma_addr_t nv_phys_to_dma(struct device *dev, NvU64 pa)
836832
#define NV_PRINT_AT(nv_debug_level,at) \
837833
{ \
838834
nv_printf(nv_debug_level, \
839-
"NVRM: VM: %s:%d: 0x%p, %d page(s), count = %d, flags = 0x%08x, " \
835+
"NVRM: VM: %s:%d: 0x%p, %d page(s), count = %d, " \
840836
"page_table = 0x%p\n", __FUNCTION__, __LINE__, at, \
841837
at->num_pages, NV_ATOMIC_READ(at->usage_count), \
842-
at->flags, at->page_table); \
838+
at->page_table); \
843839
}
844840

845841
#define NV_PRINT_VMA(nv_debug_level,vma) \
846842
{ \
847843
nv_printf(nv_debug_level, \
848-
"NVRM: VM: %s:%d: 0x%lx - 0x%lx, 0x%08x bytes @ 0x%016llx, 0x%p, 0x%p\n", \
844+
"NVRM: VM: %s:%d: 0x%lx - 0x%lx, 0x%08lx bytes @ 0x%016llx, 0x%p, 0x%p\n", \
849845
__FUNCTION__, __LINE__, vma->vm_start, vma->vm_end, NV_VMA_SIZE(vma), \
850846
NV_VMA_OFFSET(vma), NV_VMA_PRIVATE(vma), NV_VMA_FILE(vma)); \
851847
}
@@ -1078,6 +1074,8 @@ static inline void nv_kmem_ctor_dummy(void *arg)
10781074
kmem_cache_destroy(kmem_cache); \
10791075
}
10801076

1077+
#define NV_KMEM_CACHE_ALLOC_ATOMIC(kmem_cache) \
1078+
kmem_cache_alloc(kmem_cache, GFP_ATOMIC)
10811079
#define NV_KMEM_CACHE_ALLOC(kmem_cache) \
10821080
kmem_cache_alloc(kmem_cache, GFP_KERNEL)
10831081
#define NV_KMEM_CACHE_FREE(ptr, kmem_cache) \
@@ -1104,6 +1102,23 @@ static inline void *nv_kmem_cache_zalloc(struct kmem_cache *k, gfp_t flags)
11041102
#endif
11051103
}
11061104

1105+
static inline int nv_kmem_cache_alloc_stack_atomic(nvidia_stack_t **stack)
1106+
{
1107+
nvidia_stack_t *sp = NULL;
1108+
#if defined(NVCPU_X86_64)
1109+
if (rm_is_altstack_in_use())
1110+
{
1111+
sp = NV_KMEM_CACHE_ALLOC_ATOMIC(nvidia_stack_t_cache);
1112+
if (sp == NULL)
1113+
return -ENOMEM;
1114+
sp->size = sizeof(sp->stack);
1115+
sp->top = sp->stack + sp->size;
1116+
}
1117+
#endif
1118+
*stack = sp;
1119+
return 0;
1120+
}
1121+
11071122
static inline int nv_kmem_cache_alloc_stack(nvidia_stack_t **stack)
11081123
{
11091124
nvidia_stack_t *sp = NULL;

kernel-open/common/inc/nv-mm.h

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929
typedef int vm_fault_t;
3030
#endif
3131

32-
/* pin_user_pages
33-
* Presence of pin_user_pages() also implies the presence of unpin-user_page().
34-
* Both were added in the v5.6-rc1
32+
/*
33+
* pin_user_pages()
3534
*
36-
* pin_user_pages() was added by commit eddb1c228f7951d399240
37-
* ("mm/gup: introduce pin_user_pages*() and FOLL_PIN") in v5.6-rc1 (2020-01-30)
35+
* Presence of pin_user_pages() also implies the presence of unpin-user_page().
36+
* Both were added in the v5.6.
3837
*
39-
* Removed vmas parameter from pin_user_pages() by commit 40896a02751
40-
* ("mm/gup: remove vmas parameter from pin_user_pages()")
41-
* in linux-next, expected in v6.5-rc1 (2023-05-17)
38+
* pin_user_pages() was added by commit eddb1c228f79
39+
* ("mm/gup: introduce pin_user_pages*() and FOLL_PIN") in v5.6.
4240
*
41+
* Removed vmas parameter from pin_user_pages() by commit 4c630f307455
42+
* ("mm/gup: remove vmas parameter from pin_user_pages()") in v6.5.
4343
*/
4444

4545
#include <linux/mm.h>
@@ -63,25 +63,28 @@ typedef int vm_fault_t;
6363
#define NV_UNPIN_USER_PAGE put_page
6464
#endif // NV_PIN_USER_PAGES_PRESENT
6565

66-
/* get_user_pages
66+
/*
67+
* get_user_pages()
6768
*
68-
* The 8-argument version of get_user_pages was deprecated by commit
69-
* (2016 Feb 12: cde70140fed8429acf7a14e2e2cbd3e329036653)for the non-remote case
69+
* The 8-argument version of get_user_pages() was deprecated by commit
70+
* cde70140fed8 ("mm/gup: Overload get_user_pages() functions") in v4.6-rc1.
7071
* (calling get_user_pages with current and current->mm).
7172
*
72-
* Completely moved to the 6 argument version of get_user_pages -
73-
* 2016 Apr 4: c12d2da56d0e07d230968ee2305aaa86b93a6832
73+
* Completely moved to the 6 argument version of get_user_pages() by
74+
* commit c12d2da56d0e ("mm/gup: Remove the macro overload API migration
75+
* helpers from the get_user*() APIs") in v4.6-rc4.
7476
*
75-
* write and force parameters were replaced with gup_flags by -
76-
* 2016 Oct 12: 768ae309a96103ed02eb1e111e838c87854d8b51
77+
* write and force parameters were replaced with gup_flags by
78+
* commit 768ae309a961 ("mm: replace get_user_pages() write/force parameters
79+
* with gup_flags") in v4.9.
7780
*
7881
* A 7-argument version of get_user_pages was introduced into linux-4.4.y by
79-
* commit 8e50b8b07f462ab4b91bc1491b1c91bd75e4ad40 which cherry-picked the
80-
* replacement of the write and force parameters with gup_flags
82+
* commit 8e50b8b07f462 ("mm: replace get_user_pages() write/force parameters
83+
* with gup_flags") which cherry-picked the replacement of the write and
84+
* force parameters with gup_flags.
8185
*
82-
* Removed vmas parameter from get_user_pages() by commit 7bbf9c8c99
83-
* ("mm/gup: remove unused vmas parameter from get_user_pages()")
84-
* in linux-next, expected in v6.5-rc1 (2023-05-17)
86+
* Removed vmas parameter from get_user_pages() by commit 54d020692b34
87+
* ("mm/gup: remove unused vmas parameter from get_user_pages()") in v6.5.
8588
*
8689
*/
8790

@@ -112,18 +115,19 @@ typedef int vm_fault_t;
112115
}
113116
#endif // NV_GET_USER_PAGES_HAS_ARGS_FLAGS
114117

115-
/* pin_user_pages_remote
118+
/*
119+
* pin_user_pages_remote()
116120
*
117-
* pin_user_pages_remote() was added by commit eddb1c228f7951d399240
118-
* ("mm/gup: introduce pin_user_pages*() and FOLL_PIN") in v5.6 (2020-01-30)
121+
* pin_user_pages_remote() was added by commit eddb1c228f79
122+
* ("mm/gup: introduce pin_user_pages*() and FOLL_PIN") in v5.6.
119123
*
120124
* pin_user_pages_remote() removed 'tsk' parameter by commit
121-
* 64019a2e467a ("mm/gup: remove task_struct pointer for all gup code")
122-
* in v5.9-rc1 (2020-08-11). *
125+
* 64019a2e467a ("mm/gup: remove task_struct pointer for all gup code")
126+
* in v5.9.
123127
*
124128
* Removed unused vmas parameter from pin_user_pages_remote() by commit
125-
* 83bcc2e132("mm/gup: remove unused vmas parameter from pin_user_pages_remote()")
126-
* in linux-next, expected in v6.5-rc1 (2023-05-14)
129+
* 0b295316b3a9 ("mm/gup: remove unused vmas parameter from
130+
* pin_user_pages_remote()") in v6.5.
127131
*
128132
*/
129133

@@ -143,7 +147,7 @@ typedef int vm_fault_t;
143147

144148
/*
145149
* get_user_pages_remote() was added by commit 1e9877902dc7
146-
* ("mm/gup: Introduce get_user_pages_remote()") in v4.6 (2016-02-12).
150+
* ("mm/gup: Introduce get_user_pages_remote()") in v4.6.
147151
*
148152
* Note that get_user_pages_remote() requires the caller to hold a reference on
149153
* the task_struct (if non-NULL and if this API has tsk argument) and the mm_struct.
@@ -153,19 +157,17 @@ typedef int vm_fault_t;
153157
*
154158
* get_user_pages_remote() write/force parameters were replaced
155159
* with gup_flags by commit 9beae1ea8930 ("mm: replace get_user_pages_remote()
156-
* write/force parameters with gup_flags") in v4.9 (2016-10-13).
160+
* write/force parameters with gup_flags") in v4.9.
157161
*
158162
* get_user_pages_remote() added 'locked' parameter by commit 5b56d49fc31d
159-
* ("mm: add locked parameter to get_user_pages_remote()") in
160-
* v4.10 (2016-12-14).
163+
* ("mm: add locked parameter to get_user_pages_remote()") in v4.10.
161164
*
162165
* get_user_pages_remote() removed 'tsk' parameter by
163166
* commit 64019a2e467a ("mm/gup: remove task_struct pointer for
164-
* all gup code") in v5.9-rc1 (2020-08-11).
167+
* all gup code") in v5.9.
165168
*
166-
* Removed vmas parameter from get_user_pages_remote() by commit a4bde14d549
167-
* ("mm/gup: remove vmas parameter from get_user_pages_remote()")
168-
* in linux-next, expected in v6.5-rc1 (2023-05-14)
169+
* Removed vmas parameter from get_user_pages_remote() by commit ca5e863233e8
170+
* ("mm/gup: remove vmas parameter from get_user_pages_remote()") in v6.5.
169171
*
170172
*/
171173

kernel-open/common/inc/nv.h

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: Copyright (c) 1999-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
* SPDX-FileCopyrightText: Copyright (c) 1999-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
33
* SPDX-License-Identifier: MIT
44
*
55
* Permission is hereby granted, free of charge, to any person obtaining a
@@ -609,6 +609,15 @@ typedef enum
609609
NV_POWER_STATE_RUNNING
610610
} nv_power_state_t;
611611

612+
typedef struct
613+
{
614+
const char *vidmem_power_status;
615+
const char *dynamic_power_status;
616+
const char *gc6_support;
617+
const char *gcoff_support;
618+
const char *s0ix_status;
619+
} nv_power_info_t;
620+
612621
#define NV_PRIMARY_VGA(nv) ((nv)->primary_vga)
613622

614623
#define NV_IS_CTL_DEVICE(nv) ((nv)->flags & NV_FLAG_CONTROL)
@@ -778,7 +787,7 @@ nv_state_t* NV_API_CALL nv_get_ctl_state (void);
778787

779788
void NV_API_CALL nv_set_dma_address_size (nv_state_t *, NvU32 );
780789

781-
NV_STATUS NV_API_CALL nv_alias_pages (nv_state_t *, NvU32, NvU32, NvU32, NvU64, NvU64 *, void **);
790+
NV_STATUS NV_API_CALL nv_alias_pages (nv_state_t *, NvU32, NvU64, NvU32, NvU32, NvU64, NvU64 *, void **);
782791
NV_STATUS NV_API_CALL nv_alloc_pages (nv_state_t *, NvU32, NvU64, NvBool, NvU32, NvBool, NvBool, NvS32, NvU64 *, void **);
783792
NV_STATUS NV_API_CALL nv_free_pages (nv_state_t *, NvU32, NvBool, NvU32, void *);
784793

@@ -822,6 +831,7 @@ void NV_API_CALL nv_acpi_methods_init (NvU32 *);
822831
void NV_API_CALL nv_acpi_methods_uninit (void);
823832

824833
NV_STATUS NV_API_CALL nv_acpi_method (NvU32, NvU32, NvU32, void *, NvU16, NvU32 *, void *, NvU16 *);
834+
NV_STATUS NV_API_CALL nv_acpi_d3cold_dsm_for_upstream_port (nv_state_t *, NvU8 *, NvU32, NvU32, NvU32 *);
825835
NV_STATUS NV_API_CALL nv_acpi_dsm_method (nv_state_t *, NvU8 *, NvU32, NvBool, NvU32, void *, NvU16, NvU32 *, void *, NvU16 *);
826836
NV_STATUS NV_API_CALL nv_acpi_ddc_method (nv_state_t *, void *, NvU32 *, NvBool);
827837
NV_STATUS NV_API_CALL nv_acpi_dod_method (nv_state_t *, NvU32 *, NvU32 *);
@@ -990,10 +1000,10 @@ NV_STATUS NV_API_CALL rm_p2p_init_mapping (nvidia_stack_t *, NvU64, NvU6
9901000
NV_STATUS NV_API_CALL rm_p2p_destroy_mapping (nvidia_stack_t *, NvU64);
9911001
NV_STATUS NV_API_CALL rm_p2p_get_pages (nvidia_stack_t *, NvU64, NvU32, NvU64, NvU64, NvU64 *, NvU32 *, NvU32 *, NvU32 *, NvU8 **, void *);
9921002
NV_STATUS NV_API_CALL rm_p2p_get_gpu_info (nvidia_stack_t *, NvU64, NvU64, NvU8 **, void **);
993-
NV_STATUS NV_API_CALL rm_p2p_get_pages_persistent (nvidia_stack_t *, NvU64, NvU64, void **, NvU64 *, NvU32 *, void *, void *);
1003+
NV_STATUS NV_API_CALL rm_p2p_get_pages_persistent (nvidia_stack_t *, NvU64, NvU64, void **, NvU64 *, NvU32 *, void *, void *, void **);
9941004
NV_STATUS NV_API_CALL rm_p2p_register_callback (nvidia_stack_t *, NvU64, NvU64, NvU64, void *, void (*)(void *), void *);
9951005
NV_STATUS NV_API_CALL rm_p2p_put_pages (nvidia_stack_t *, NvU64, NvU32, NvU64, void *);
996-
NV_STATUS NV_API_CALL rm_p2p_put_pages_persistent(nvidia_stack_t *, void *, void *);
1006+
NV_STATUS NV_API_CALL rm_p2p_put_pages_persistent(nvidia_stack_t *, void *, void *, void *);
9971007
NV_STATUS NV_API_CALL rm_p2p_dma_map_pages (nvidia_stack_t *, nv_dma_device_t *, NvU8 *, NvU64, NvU32, NvU64 *, void **);
9981008
NV_STATUS NV_API_CALL rm_dma_buf_dup_mem_handle (nvidia_stack_t *, nv_state_t *, NvHandle, NvHandle, NvHandle, NvHandle, void *, NvHandle, NvU64, NvU64, NvHandle *, void **);
9991009
void NV_API_CALL rm_dma_buf_undup_mem_handle(nvidia_stack_t *, nv_state_t *, NvHandle, NvHandle);
@@ -1027,9 +1037,7 @@ void NV_API_CALL rm_enable_dynamic_power_management(nvidia_stack_t *, nv_s
10271037
NV_STATUS NV_API_CALL rm_ref_dynamic_power(nvidia_stack_t *, nv_state_t *, nv_dynamic_power_mode_t);
10281038
void NV_API_CALL rm_unref_dynamic_power(nvidia_stack_t *, nv_state_t *, nv_dynamic_power_mode_t);
10291039
NV_STATUS NV_API_CALL rm_transition_dynamic_power(nvidia_stack_t *, nv_state_t *, NvBool, NvBool *);
1030-
const char* NV_API_CALL rm_get_vidmem_power_status(nvidia_stack_t *, nv_state_t *);
1031-
const char* NV_API_CALL rm_get_dynamic_power_management_status(nvidia_stack_t *, nv_state_t *);
1032-
const char* NV_API_CALL rm_get_gpu_gcx_support(nvidia_stack_t *, nv_state_t *, NvBool);
1040+
void NV_API_CALL rm_get_power_info(nvidia_stack_t *, nv_state_t *, nv_power_info_t *);
10331041

10341042
void NV_API_CALL rm_acpi_notify(nvidia_stack_t *, nv_state_t *, NvU32);
10351043
void NV_API_CALL rm_acpi_nvpcf_notify(nvidia_stack_t *);

0 commit comments

Comments
 (0)