Bug 217348 - Regression nvidia dkms driver installation
Summary: Regression nvidia dkms driver installation
Status: RESOLVED WILL_NOT_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: drivers_video-dri
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-17 15:15 UTC by Jaime Pérez
Modified: 2023-04-18 09:27 UTC (History)
2 users (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Jaime Pérez 2023-04-17 15:15:49 UTC
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?
Comment 1 Christian König 2023-04-17 15:18:08 UTC
Yeah, that's a known issue and no this won't be added back because of an out of tree driver.

Note You need to log in before you can comment on or make changes to this bug.