Open ratuka opened 3 months ago
Ok at least I'm not the only one with this exact error on this exact Distro (I've been pulling my hair out for ages over this lmao)
commit 2798ffcc1d6a788b5769b1fbcf0750dfc06ae98a Author: Thomas Zimmermann tzimmermann@suse.de Date: Wed Nov 22 13:09:40 2023 +0100
drm: Remove locking for legacy ioctls and DRM_UNLOCKED
Modern DRM drivers acquire ioctl locks by themselves. Legacy ioctls
for user-space mode setting used to acquire drm_global_mutex. After
removing the ioctl entry points, also remove the locking code. The only
legacy ioctl without global locking was VBLANK_WAIT, which has been
removed as well. Hence remove the related DRM_UNLOCKED flag.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: David Airlie <airlied@gmail.com>
Reviewed-by: Daniel Vetter <daniel@ffwll.ch>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231122122449.11588-12-tzimmermann@suse.de
The new kernel has removed the flag DRM_UNLOCKED, so lead to this issue. So you could simply remove this flag in code and re-compile
Release 550.78
builds okay on Fedora 40 with kernel-6.8.9-300
:
zcobol@april:~/open-gpu-kernel-modules-550.78$ modinfo nvidia
filename: /lib/modules/6.8.9-300.fc40.x86_64/kernel/drivers/video/nvidia.ko
import_ns: DMA_BUF
alias: char-major-195-*
version: 550.78
supported: external
license: Dual MIT/GPL
firmware: nvidia/550.78/gsp_tu10x.bin
firmware: nvidia/550.78/gsp_ga10x.bin
softdep: pre: ecdh_generic,ecdsa_generic
rhelversion: 9.99
srcversion: 559B949A4E28E211ED21D4D
alias: pci:v000010DEd*sv*sd*bc06sc80i00*
alias: pci:v000010DEd*sv*sd*bc03sc02i00*
alias: pci:v000010DEd*sv*sd*bc03sc00i00*
depends:
retpoline: Y
name: nvidia
vermagic: 6.8.9-300.fc40.x86_64 SMP preempt mod_unload
sig_id: PKCS#7
signer: Nvidia Driver Kmod Signing MOK
sig_key: 66:35:85:E7:27:E0:37:7A:5C:D9:65:06:B1:B3:5D:81:FC:FE:76:14
sig_hashalgo: sha256
--- cut ---
zcobol@april:~/open-gpu-kernel-modules-550.78$ cat /etc/os-release
NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
--- cut ---
'make' -j12 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.8.10-300.fc40.x86_64 modules Error! Bad return status for module build on kernel: 6.8.10-300.fc40.x86_64 (x86_64) Consult /var/lib/dkms/nvidia/545.29.02/build/make.log for more information. dkms autoinstall on 6.8.10-300.fc40.x86_64/x86_64 failed for nvidia(10)
DKMS make.log for nvidia-545.29.02 for kernel 6.8.10-300.fc40.x86_64 (x86_64)
cat /etc/os-release
NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="Workstation Edition"
VARIANT_ID=workstation
DKMS make.log for nvidia-545.29.02 for kernel 6.8.11-300.fc40.x86_64 (x86_64)
@ratuka could you try a newer driver, i.e. 555.42.02
? And instead of using dkms autoinstall
build the driver for the current kernel only. Also, try building the driver outside dkms
. It looks like a dkms
issue.
The driver builds okay on my Fedora 40 setup:
zcoboll@april:~$ dkms status
nvidia/555.42.02, 6.8.11-300.fc40.x86_64, x86_64: installed
@ratuka could you try a newer driver, i.e.
555.42.02
? And instead of usingdkms autoinstall
build the driver for the current kernel only. Also, try building the driver outsidedkms
. It looks like adkms
issue.The driver builds okay on my Fedora 40 setup:
zcoboll@april:~$ dkms status nvidia/555.42.02, 6.8.11-300.fc40.x86_64, x86_64: installed
nice, but i'm only dnf update my machine
just for the record (stock fedora 40 with dnf update): DKMS make.log for nvidia-545.29.02 for kernel 6.9.11-200.fc40.x86_64 (x86_64)
$ dkms status nvidia/545.29.02: added
545 does not support 6.9.11. You need to either patch it or update your NVIDIA Version. 535, 550 and 555 branches do work. 545 is deprecated.
NVIDIA Open GPU Kernel Modules Version
545.29.02
Operating System and Version
Fedora Linux 40 (Workstation Edition)
Kernel Release
6.8.7-300.fc40.x86_64
Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
Build Command
dkms autoinstall
Terminal output/Build Log
DKMS make.log for nvidia-545.29.02 for kernel 6.8.7-300.fc40.x86_64 (x86_64)
~~~~ In file included from /var/lib/dkms/nvidia/545.29.02/build/common/inc/nv-linux.h:1734, from /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-mmap.c:27: /var/lib/dkms/nvidia/545.29.02/build/common/inc/nv-proto.h:44:13: note: previous declaration of ‘nv_encode_caching’ with type ‘int(pgprot_t , NvU32, NvU32)’ {aka ‘int(struct pgprot , unsigned int, unsigned int)’} 44 | int nv_encode_caching (pgprot_t , NvU32, NvU32); | ^~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv.c:1215:23: warning: no previous prototype for ‘nv_get_num_dpaux_instances’ [-Wmissing-prototypes] 1215 | NV_STATUS NV_API_CALL nv_get_num_dpaux_instances(nv_state_t nv, NvU32 num_instances) | ^~~~~~/var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-procfs.c:698:1: warning: no previous prototype for ‘exercise_error_forwarding_va’ [-Wmissing-prototypes] 698 | exercise_error_forwarding_va( | ^~~~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-usermap.o /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-dma.c:293:6: warning: no previous prototype for ‘nv_load_dma_map_scatterlist’ [-Wmissing-prototypes] 293 | void nv_load_dma_map_scatterlist( | ^~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-dma.c:489:23: warning: no previous prototype for ‘nv_dma_unmap_sgt’ [-Wmissing-prototypes] 489 | NV_STATUS NV_API_CALL nv_dma_unmap_sgt( | ^~~~CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-vm.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-vtophys.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/os-interface.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/os-mlock.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/os-pci.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/os-registry.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/os-usermap.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-modeset-interface.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-pci-table.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-kthread-q.o /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-vm.c: In function ‘nv_alloc_system_pages’: /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-vm.c:519:18: warning: unused variable ‘alloc_page_shift’ [-Wunused-variable] 519 | unsigned int alloc_page_shift = BIT_IDX_32(alloc_page_size); | ^~~~/var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-vm.c: In function ‘nv_free_system_pages’: /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-vm.c:648:18: warning: unused variable ‘alloc_num_pages’ [-Wunused-variable] 648 | unsigned int alloc_num_pages = NV_CEIL(at->num_pages PAGE_SIZE, alloc_page_size); | ^~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-vm.c:647:18: warning: unused variable ‘alloc_page_shift’ [-Wunused-variable] 647 | unsigned int alloc_page_shift = BIT_IDX_32(alloc_page_size); | ^~~~CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-memdbg.o /var/lib/dkms/nvidia/545.29.02/build/nvidia/os-interface.c:370:7: warning: no previous prototype for ‘os_mem_copy_custom’ [-Wmissing-prototypes] 370 | void *os_mem_copy_custom( | ^~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-ibmnpu.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-report-err.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-rsync.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-msi.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-caps.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv_uvm_interface.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_aead.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_ecc.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_hkdf.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_rand.o /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_aead.c:41:5: warning: no previous prototype for ‘libspdm_aead_prealloc’ [-Wmissing-prototypes] 41 | int libspdm_aead_prealloc(void *context, char const alg) | ^~~~~/var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_aead.c:171:5: warning: no previous prototype for ‘libspdm_aead_prealloced’ [-Wmissing-prototypes] 171 | int libspdm_aead_prealloced(void context, | ^~~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_shash.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_aead_aes_gcm.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_sha.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_hmac_sha.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_hkdf_sha.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_ec.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/libspdm_x509.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nvlink_linux.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/nvlink_caps.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/linux_nvswitch.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/procfs_nvswitch.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia/i2c_nvswitch.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_ats_sva.o /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-ibmnpu.c:395:6: warning: no previous prototype for ‘nv_init_ibmnpu_info’ [-Wmissing-prototypes] 395 | void nv_init_ibmnpu_info(nv_state_t nv) | ^~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-ibmnpu.c:399:6: warning: no previous prototype for ‘nv_destroy_ibmnpu_info’ [-Wmissing-prototypes] 399 | void nv_destroy_ibmnpu_info(nv_state_t nv) | ^~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-ibmnpu.c:403:5: warning: no previous prototype for ‘nv_init_ibmnpu_devices’ [-Wmissing-prototypes] 403 | int nv_init_ibmnpu_devices(nv_state_t nv) | ^~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-ibmnpu.c:408:6: warning: no previous prototype for ‘nv_unregister_ibmnpu_devices’ [-Wmissing-prototypes] 408 | void nv_unregister_ibmnpu_devices(nv_state_t nv) | ^~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-ibmnpu.c:428:5: warning: no previous prototype for ‘nv_get_ibmnpu_chip_id’ [-Wmissing-prototypes] 428 | int nv_get_ibmnpu_chip_id(nv_state_t nv) | ^~~~~/var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-ibmnpu.c:437:6: warning: no previous prototype for ‘nv_ibmnpu_cache_flush_numa_region’ [-Wmissing-prototypes] 437 | void nv_ibmnpu_cache_flush_numa_region(nv_state_t *nv) | ^~~~~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_conf_computing.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_sec2_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_sec2.o /var/lib/dkms/nvidia/545.29.02/build/nvidia/nv-caps.c:269:5: warning: no previous prototype for ‘nv_cap_procfs_init’ [-Wmissing-prototypes] 269 | int nv_cap_procfs_init(void) | ^~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_hopper_sec2.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_common.o /var/lib/dkms/nvidia/545.29.02/build/nvidia/nvlink_linux.c:313:12: warning: no previous prototype for ‘nvlink_core_init’ [-Wmissing-prototypes] 313 | int init nvlink_core_init(void) | ^~~~/var/lib/dkms/nvidia/545.29.02/build/nvidia/nvlink_linux.c:389:6: warning: no previous prototype for ‘nvlink_core_exit’ [-Wmissing-prototypes] 389 | void nvlink_core_exit(void) | ^~~~/var/lib/dkms/nvidia/545.29.02/build/nvidia/linux_nvswitch.c:1705:1: warning: no previous prototype for ‘nvswitch_init’ [-Wmissing-prototypes] 1705 | nvswitch_init | ^~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia/linux_nvswitch.c:1790:1: warning: no previous prototype for ‘nvswitch_exit’ [-Wmissing-prototypes] 1790 | nvswitch_exit | ^~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_linux.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/nvstatus.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/nvCpuUuid.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/nv-kthread-q.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/nv-kthread-q-selftest.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_tools.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_global.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_isr.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_procfs.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_va_space.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_va_space_mm.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_semaphore.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_mem.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/nv-kthread-q-selftest.c:84:6: warning: no previous prototype for ‘on_nvq_assert’ [-Wmissing-prototypes] 84 | void on_nvq_assert(void) | ^~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_rm_mem.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_channel.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_tools.c:2321:5: warning: no previous prototype for ‘uvm_tools_init’ [-Wmissing-prototypes] 2321 | int uvm_tools_init(dev_t uvm_base_dev) | ^~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_tools.c:2382:6: warning: no previous prototype for ‘uvm_tools_exit’ [-Wmissing-prototypes] 2382 | void uvm_tools_exit(void) | ^~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_lock.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu.c:1888:12: warning: no previous prototype for ‘uvm_gpu_get_by_parent_and_swizz_id_locked’ [-Wmissing-prototypes] 1888 | uvm_gpu_t uvm_gpu_get_by_parent_and_swizz_id_locked(uvm_parent_gpu_t parent_gpu, NvU32 swizz_id) | ^~~~~~~~~CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_hal.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_semaphore.c:510:6: warning: no previous prototype for ‘tracking_semaphore_uses_mutex’ [-Wmissing-prototypes] 510 | bool tracking_semaphore_uses_mutex(uvm_gpu_tracking_semaphore_t tracking_semaphore) | ^~~~~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_processors.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_range_tree.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_rb_tree.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_range_allocator.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_va_range.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_va_policy.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_va_block.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_range_group.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_replayable_faults.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_non_replayable_faults.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_access_counters.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_perf_events.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_perf_module.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_mmu.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pte_batch.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_tlb_batch.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_replayable_faults.c: In function ‘check_fault_access_permissions’: /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_replayable_faults.c:1244:69: warning: implicit conversion from ‘uvm_fault_access_type_t’ to ‘uvm_fault_type_t’ [-Wenum-conversion] 1244 | fault_entry->fault_access_type, |~~~^~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_replayable_faults.c:1274:66: warning: implicit conversion from ‘enum~~~~~/var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_non_replayable_faults.c: In function ‘service_managed_fault_in_block_locked’: /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_non_replayable_faults.c:377:64: warning: implicit conversion from ‘uvm_fault_access_type_t’ to ‘uvm_fault_type_t’ [-Wenum-conversion] 377 | fault_entry->fault_access_type, |~~~^~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_va_block.c: In function ‘uvm_va_block_check_logical_permissions’: /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_va_block.c:11616:60: warning: implicit conversion from ‘uvm_fault_type_t’ to ‘uvm_fault_access_type_t’ [-Wenum-conversion] 11616 | uvm_prot_t access_prot = uvm_fault_access_type_to_prot(access_type); | ^~~/var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_va_block.c: In function ‘block_cpu_fault_locked’: /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_va_block.c:11751:53: warning: implicit conversion from ‘uvm_fault_access_type_t’ to ‘uvm_fault_type_t’ [-Wenum-conversion] 11751 | fault_access_type, | ^~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_push.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pushbuffer.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_thread_context.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_mmu.c:2169:11: warning: no previous prototype for ‘create_static_vidmem_mapping’ [-Wmissing-prototypes] 2169 | NV_STATUS create_static_vidmem_mapping(uvm_gpu_t~~~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_tracker.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_host.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_ce.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_mmu.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_fault_buffer.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_access_counter_buffer.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pascal.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pascal_ce.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pascal_host.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pascal_mmu.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_mmu.c:353:21: warning: no previous prototype for ‘uvm_hal_mmu_mode_maxwell’ [-Wmissing-prototypes] 353 | uvm_mmu_mode_hal_t uvm_hal_mmu_mode_maxwell(NvU32 big_page_size) | ^~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_mmu.c:362:6: warning: no previous prototype for ‘uvm_hal_maxwell_mmu_enable_prefetch_faults_unsupported’ [-Wmissing-prototypes] 362 | void uvm_hal_maxwell_mmu_enable_prefetch_faults_unsupported(uvm_parent_gpu_t parent_gpu) | ^~~~~~~~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_mmu.c:367:6: warning: no previous prototype for ‘uvm_hal_maxwell_mmu_disable_prefetch_faults_unsupported’ [-Wmissing-prototypes] 367 | void uvm_hal_maxwell_mmu_disable_prefetch_faults_unsupported(uvm_parent_gpu_t parent_gpu) | ^~~~~~~~~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_mmu.c:372:23: warning: no previous prototype for ‘uvm_hal_maxwell_mmu_engine_id_to_type_unsupported’ [-Wmissing-prototypes] 372 | uvm_mmu_engine_type_t uvm_hal_maxwell_mmu_engine_id_to_type_unsupported(NvU16 mmu_engine_id) | ^~~~~~~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_maxwell_mmu.c:378:7: warning: no previous prototype for ‘uvm_hal_maxwell_mmu_client_id_to_utlb_id_unsupported’ [-Wmissing-prototypes] 378 | NvU16 uvm_hal_maxwell_mmu_client_id_to_utlb_id_unsupported(NvU16 client_id) | ^~~~~~~~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pascal_fault_buffer.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_volta_ce.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_volta_host.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_volta_mmu.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_volta.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_volta_fault_buffer.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_volta_access_counter_buffer.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_turing.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_turing_access_counter_buffer.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pascal_mmu.c:356:21: warning: no previous prototype for ‘uvm_hal_mmu_mode_pascal’ [-Wmissing-prototypes] 356 | uvm_mmu_mode_hal_t uvm_hal_mmu_mode_pascal(NvU32 big_page_size) | ^~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pascal_mmu.c:368:6: warning: no previous prototype for ‘uvm_hal_pascal_mmu_enable_prefetch_faults’ [-Wmissing-prototypes] 368 | void uvm_hal_pascal_mmu_enable_prefetch_faults(uvm_parent_gpu_t parent_gpu) | ^~~~~~~~~/var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pascal_mmu.c:380:6: warning: no previous prototype for ‘uvm_hal_pascal_mmu_disable_prefetch_faults’ [-Wmissing-prototypes] 380 | void uvm_hal_pascal_mmu_disable_prefetch_faults(uvm_parent_gpu_t parent_gpu) | ^~~~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pascal_mmu.c:392:7: warning: no previous prototype for ‘uvm_hal_pascal_mmu_client_id_to_utlb_id’ [-Wmissing-prototypes] 392 | NvU16 uvm_hal_pascal_mmu_client_id_to_utlb_id(NvU16 client_id) | ^~~~~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pascal_fault_buffer.c:329:6: warning: no previous prototype for ‘uvm_hal_pascal_fault_buffer_parse_non_replayable_entry_unsupported’ [-Wmissing-prototypes] 329 | void uvm_hal_pascal_fault_buffer_parse_non_replayable_entry_unsupported(uvm_parent_gpu_t parent_gpu, | ^~~~~~~~~~~~~~CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_turing_fault_buffer.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_turing_mmu.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_turing_host.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_ampere.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_ampere_ce.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_ampere_host.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_ampere_mmu.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_hopper.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_hopper_fault_buffer.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_hopper_ce.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_hopper_host.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_hopper_mmu.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_ada.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_policy.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_perf_utils.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_kvmalloc.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pmm_sysmem.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pmm_gpu.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_hopper_fault_buffer.c:30:6: warning: no previous prototype for ‘uvm_hal_hopper_fault_buffer_get_ve_id’ [-Wmissing-prototypes] 30 | NvU8 uvm_hal_hopper_fault_buffer_get_ve_id(NvU16 mmu_engine_id, uvm_mmu_engine_type_t mmu_engine_type) | ^~~~~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_migrate.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_populate_pageable.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_migrate_pageable.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_map_external.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_user_channel.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_hmm.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_perf_heuristics.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_perf_thrashing.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_populate_pageable.c:56:11: warning: no previous prototype for ‘uvm_handle_fault’ [-Wmissing-prototypes] 56 | NV_STATUS uvm_handle_fault(struct vm_area_struct vma, unsigned long start, unsigned long vma_num_pages, bool write) | ^~~~CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_perf_prefetch.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_ats.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_migrate_pageable.c:510:6: warning: no previous prototype for ‘migrate_vma_cleanup_pages’ [-Wmissing-prototypes] 510 | void migrate_vma_cleanup_pages(unsigned long dst, unsigned long npages) | ^~~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_migrate_pageable.c:556:6: warning: no previous prototype for ‘uvm_migrate_vma_alloc_and_copy_helper’ [-Wmissing-prototypes] 556 | void uvm_migrate_vma_alloc_and_copy_helper(struct vm_area_struct vma, | ^~~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_migrate_pageable.c:645:6: warning: no previous prototype for ‘uvm_migrate_vma_finalize_and_map_helper’ [-Wmissing-prototypes] 645 | void uvm_migrate_vma_finalize_and_map_helper(struct vm_area_struct vma, | ^~~~~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_map_external.c: In function ‘uvm_pte_buffer_init’: /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_map_external.c:104:42: warning: implicit conversion from ‘UvmGpuCachingType’ to ‘UvmRmGpuCachingType’ [-Wenum-conversion] 104 | pte_buffer->mapping_info.cachingType = map_rm_params->caching_type; | ^ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_map_external.c:105:42: warning: implicit conversion from ‘UvmGpuMappingType’ to ‘UvmRmGpuMappingType’ [-Wenum-conversion] 105 | pte_buffer->mapping_info.mappingType = map_rm_params->mapping_type; | ^ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_map_external.c:106:41: warning: implicit conversion from ‘UvmGpuFormatType’ to ‘UvmRmGpuFormatType’ [-Wenum-conversion] 106 | pte_buffer->mapping_info.formatType = map_rm_params->format_type; | ^ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_map_external.c:107:42: warning: implicit conversion from ‘UvmGpuFormatElementBits’ to ‘UvmRmGpuFormatElementBits’ [-Wenum-conversion] 107 | pte_buffer->mapping_info.elementBits = map_rm_params->element_bits; | ^ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_map_external.c:108:46: warning: implicit conversion from ‘UvmGpuCompressionType’ to ‘UvmRmGpuCompressionType’ [-Wenum-conversion] 108 | pte_buffer->mapping_info.compressionType = map_rm_params->compression_type; | ^ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_ats_ibm.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_ats_faults.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_test_rng.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_range_tree_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_range_allocator_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_gpu_semaphore_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_mem_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_rm_mem_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_page_tree_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_tracker_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_push_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_channel_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_ce_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_host_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_lock_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_perf_utils_test.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_page_tree_test.c:1480:8: warning: no previous prototype for ‘get_page_sizes’ [-Wmissing-prototypes] 1480 | size_t get_page_sizes(uvm_gpu_t gpu, NvU32 page_sizes) | ^~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_kvmalloc_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pmm_test.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_channel_test.c:687:11: warning: no previous prototype for ‘test_conf_computing_channel_selection’ [-Wmissing-prototypes] 687 | NV_STATUS test_conf_computing_channel_selection(uvm_va_space_t va_space) | ^~~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_channel_test.c:749:11: warning: no previous prototype for ‘test_write_ctrl_gpfifo_noop’ [-Wmissing-prototypes] 749 | NV_STATUS test_write_ctrl_gpfifo_noop(uvm_va_space_t va_space) | ^~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_channel_test.c:788:11: warning: no previous prototype for ‘test_write_ctrl_gpfifo_and_pushes’ [-Wmissing-prototypes] 788 | NV_STATUS test_write_ctrl_gpfifo_and_pushes(uvm_va_space_t va_space) | ^~~~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_channel_test.c:836:11: warning: no previous prototype for ‘test_write_ctrl_gpfifo_tight’ [-Wmissing-prototypes] 836 | NV_STATUS test_write_ctrl_gpfifo_tight(uvm_va_space_t va_space) | ^~~~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pmm_sysmem_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_perf_events_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_perf_module_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_get_rm_ptes_test.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pmm_test.c:909:11: warning: no previous prototype for ‘__test_pmm_async_alloc_type’ [-Wmissing-prototypes] 909 | NV_STATUS __test_pmm_async_alloc_type(uvm_va_space_t va_space, | ^~~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_fault_buffer_flush_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_peer_identity_mappings_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_va_block_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_range_group_tree_test.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pmm_sysmem_test.c:1077:11: warning: no previous prototype for ‘do_test_cpu_chunk_free’ [-Wmissing-prototypes] 1077 | NV_STATUS do_test_cpu_chunk_free(uvm_cpu_chunk_t chunk, uvm_va_space_t va_space, uvm_processor_mask_t test_gpus) | ^~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_pmm_sysmem_test.c:1173:11: warning: no previous prototype for ‘test_cpu_chunk_free’ [-Wmissing-prototypes] 1173 | NV_STATUS test_cpu_chunk_free(uvm_va_space_t va_space, uvm_processor_mask_t test_gpus) | ^~~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_thread_context_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-uvm/uvm_rb_tree_test.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-modeset/nvidia-modeset-linux.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-modeset/nv-kthread-q.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-drv.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-utils.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-crtc.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-encoder.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-connector.o /var/lib/dkms/nvidia/545.29.02/build/nvidia-modeset/nvidia-modeset-linux.c:1076:24: warning: no previous prototype for ‘nvkms_open_common’ [-Wmissing-prototypes] 1076 | struct nvkms_per_open nvkms_open_common(enum NvKmsClientType type, | ^~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-modeset/nvidia-modeset-linux.c:1128:6: warning: no previous prototype for ‘nvkms_close_pm_locked’ [-Wmissing-prototypes] 1128 | void nvkms_close_pm_locked(struct nvkms_per_open *popen) | ^~~~~/var/lib/dkms/nvidia/545.29.02/build/nvidia-modeset/nvidia-modeset-linux.c:1191:5: warning: no previous prototype for ‘nvkms_ioctl_common’ [-Wmissing-prototypes] 1191 | int nvkms_ioctl_common | ^~~~~~ CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-gem.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-fb.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-modeset.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-fence.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-linux.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-helper.o CC [M] /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nv-kthread-q.o In file included from /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-drv.c:64: /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-drv.c:1489:40: error: ‘DRM_UNLOCKED’ undeclared here (not in a function); did you mean ‘VM_LOCKED’? 1489 | DRM_RENDER_ALLOW|DRM_UNLOCKED), | ^~~~ ./include/drm/drm_ioctl.h:155:26: note: in definition of macro ‘DRM_IOCTL_DEF_DRV’ 155 | .flags = _flags, \ | ^~make[3]: [scripts/Makefile.build:243: /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-drv.o] Error 1 make[3]: Waiting for unfinished jobs.... /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-gem.c:115:16: error: initialization of ‘int ()(struct drm_gem_object , struct iosys_map )’ from incompatible pointer type ‘void ()(struct drm_gem_object )’ [-Wincompatible-pointer-types] 115 | .vmap = nv_drm_gem_prime_vmap, | ^~~~~/var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-gem.c:115:16: note: (near initialization for ‘nv_drm_gem_funcs.vmap’) /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-gem.c:116:16: error: initialization of ‘void ()(struct drm_gem_object , struct iosys_map )’ from incompatible pointer type ‘void ()(struct drm_gem_object , void )’ [-Wincompatible-pointer-types] 116 | .vunmap = nv_drm_gem_prime_vunmap, | ^~~~~~~ /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-gem.c:116:16: note: (near initialization for ‘nv_drm_gem_funcs.vunmap’) make[3]: [scripts/Makefile.build:243: /var/lib/dkms/nvidia/545.29.02/build/nvidia-drm/nvidia-drm-gem.o] Error 1 make[2]: [/usr/src/kernels/6.8.7-300.fc40.x86_64/Makefile:1939: /var/lib/dkms/nvidia/545.29.02/build] Error 2 make[1]: [Makefile:252: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/kernels/6.8.7-300.fc40.x86_64' make: [Makefile:82: modules] Error 2More Info
No response