mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-06 16:19:58 +00:00
515.65.01
This commit is contained in:
committed by
Liam Middlebrook
parent
fd95f2c984
commit
54b4babe66
@@ -5288,22 +5288,6 @@ compile_test() {
|
||||
rm -f conftest$$.c
|
||||
;;
|
||||
|
||||
acpi_bus_get_device)
|
||||
#
|
||||
# Determine if the acpi_bus_get_device() function is present
|
||||
#
|
||||
# acpi_bus_get_device() was removed by commit ac2a3feefad5
|
||||
# ("ACPI: bus: Eliminate acpi_bus_get_device()") in
|
||||
# v5.18-rc2 (2022-04-05).
|
||||
#
|
||||
CODE="
|
||||
#include <linux/acpi.h>
|
||||
int conftest_acpi_bus_get_device(void) {
|
||||
return acpi_bus_get_device();
|
||||
}"
|
||||
compile_check_conftest "$CODE" "NV_ACPI_BUS_GET_DEVICE_PRESENT" "" "functions"
|
||||
;;
|
||||
|
||||
dma_resv_add_fence)
|
||||
#
|
||||
# Determine if the dma_resv_add_fence() function is present.
|
||||
@@ -5365,6 +5349,23 @@ compile_test() {
|
||||
compile_check_conftest "$CODE" "NV_RESERVATION_OBJECT_RESERVE_SHARED_HAS_NUM_FENCES_ARG" "" "types"
|
||||
;;
|
||||
|
||||
get_task_ioprio)
|
||||
#
|
||||
# Determine if the __get_task_ioprio() function is present.
|
||||
#
|
||||
# __get_task_ioprio was added by commit 893e5d32d583
|
||||
# ("block: Generalize get_current_ioprio() for any task") for
|
||||
# v5.20 linux-next (2022-06-23).
|
||||
#
|
||||
CODE="
|
||||
#include <linux/ioprio.h>
|
||||
void conftest_get_task_ioprio(void) {
|
||||
__get_task_ioprio();
|
||||
}"
|
||||
|
||||
compile_check_conftest "$CODE" "NV_GET_TASK_IOPRIO_PRESENT" "" "functions"
|
||||
;;
|
||||
|
||||
# When adding a new conftest entry, please use the correct format for
|
||||
# specifying the relevant upstream Linux kernel commit.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user