After Kernel 6.17, one of the APIs (drm_gem_vram_pin) has become private, and it's used only by in-tree drivers. A couple of APIs have changed the signature as well. Set a couple of functions marked as "unused" behind version ifdefs.
Personal PPA build: https://launchpad.net/~alessiofaina/+archive/ubuntu/dkms-build-tests/+packages -> https://launchpad.net/~alessiofaina/+archive/ubuntu/dkms-build-tests/+sourcepub/18172804/+listing-archive-extra Forwarded upstream: https://github.com/teddywlq/smifb2/pull/36 Compile tested only: I cannot test the driver fully working, as I don't have a physical card to try. autopkgtest results ============================================================================================= Building module(s).... done. Signing module /var/lib/dkms/smifb2/2.4.1/build/smifb.ko /usr/sbin/dkms: line 1524: zstd: command not found Installing /lib/modules/7.0.0-3-generic/updates/dkms/smifb.ko Running depmod... done. I: Testing if smifb2 modules are correctly installed. smifb2/2.4.1, 7.0.0-3-generic, x86_64: installed I: Summary: I: PASS smifb2/2.4.1 6.19.0-9-generic I: PASS smifb2/2.4.1 7.0.0-3-generic smifb2/2.4.1/7.0.0-3-generic/x86_64/log/make.log smifb2/2.4.1/6.19.0-9-generic/x86_64/log/make.log autopkgtest [17:43:31]: test dkms-autopkgtest: -----------------------] autopkgtest [17:43:31]: test dkms-autopkgtest: - - - - - - - - - - results - - - - - - - - - - dkms-autopkgtest PASS (superficial) autopkgtest [17:43:32]: @@@@@@@@@@@@@@@@@@@@ summary dkms-autopkgtest PASS (superficial) =============================================================================================== ** Patch added: "dkms_resolute.patch" https://bugs.launchpad.net/ubuntu/+source/smifb2/+bug/2144583/+attachment/5953392/+files/dkms_resolute.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2144583 Title: smifb2-dkms fails to build agains Kernel 6.19 and 7.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/smifb2/+bug/2144583/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
