Public bug reported:

[Impact]

/var/lib/dkms/nvidia/390.157/build/nvidia-drm/nvidia-drm-drv.c: In function 
‘nv_drm_update_drm_driver_features’:
/var/lib/dkms/nvidia/390.157/build/nvidia-drm/nvidia-drm-drv.c:769:18: error: 
‘struct drm_driver’ has no member named ‘dumb_destroy’
  769 |     nv_drm_driver.dumb_destroy     = nv_drm_dumb_destroy;
      |                  ^
make[2]: *** [scripts/Makefile.build:260: 
/var/lib/dkms/nvidia/390.157/build/nvidia-drm/nvidia-drm-drv.o] Error 1

[Fix]

Apply the attached patch.

[How to test]

Build the dkms package and install it.

[Regression potential]

This patch doesn't come from NVIDIA itself, so there's a regression
potential, though i can't state how severe that could be.

** Affects: nvidia-graphics-drivers-390 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: nvidia-graphics-drivers-390 (Ubuntu Mantic)
     Importance: Undecided
         Status: New

** Also affects: nvidia-graphics-drivers-390 (Ubuntu Mantic)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to nvidia-graphics-drivers-390 in Ubuntu.
https://bugs.launchpad.net/bugs/2025266

Title:
  nvidia-dkms-* FTBS with linux 6.4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/2025266/+subscriptions


_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to