Since commit 96a7b60f6ddb2bc966fac800c1dd18876a6e3c3f dumb_destroy func were removed but nvidia dkms seems to look for that CC [M] /var/lib/dkms/nvidia/525.105.17/build/nvidia-drm/nvidia-drm-encoder.o CC [M] /var/lib/dkms/nvidia/525.105.17/build/nvidia-drm/nvidia-drm-connector.o /var/lib/dkms/nvidia/525.105.17/build/nvidia-drm/nvidia-drm-drv.c: In function ‘nv_drm_update_drm_driver_features’: /var/lib/dkms/nvidia/525.105.17/build/nvidia-drm/nvidia-drm-drv.c:924:18: error: ‘struct drm_driver’ has no member named ‘dumb_destroy’ 924 | nv_drm_driver.dumb_destroy = nv_drm_dumb_destroy; | ^ make[2]: *** [scripts/Makefile.build:252: /var/lib/dkms/nvidia/525.105.17/build/nvidia-drm/nvidia-drm-drv.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/lib/dkms/nvidia/525.105.17/build/nvidia-drm/nvidia-drm-crtc.c: In function ‘__nv_drm_plane_atomic_destroy_state’: /var/lib/dkms/nvidia/525.105.17/build/nvidia-drm/nvidia-drm-crtc.c:678:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] 678 | struct nv_drm_plane_state *nv_drm_plane_state = | ^~~~~~ make[1]: *** [Makefile:2025: /var/lib/dkms/nvidia/525.105.17/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.3.0-rc6-next-20230414' make: *** [Makefile:82: modules] Error 2 Should I contact NVIDIA or this will be added again in kernel?
Yeah, that's a known issue and no this won't be added back because of an out of tree driver.