Created attachment 144757 [details] [review] [Patch] to compile amdgpu-dkms 19.20 on debian stretch & buster Hello, Please find attached a patch so that one can compile the amdgpu-dkms 19.20 driver toward kernel 4.19 on debian stretch (with stretch-backports), and also on debian buster (version 10) which runs linux-4.19 The patch is made of: - a change to the Makefile so that it can compile well on debian and find the kernel version (using [make kernelversion]) - a few changes to the code in file amdgpu_mn.c Appearently, in 19.20 there are still some problems to compile towards 4.19 because some #ifdef don't seem correct because "mmu_notifier_range" doesn't exist in 4.19.
Created attachment 144809 [details] [review] [Patch] to compile amdgpu-dkms 19.20 on debian stretch & buster (v2) Same patch as before but using #if to manage different kernel versions
Hi thanks for the patch! We are re-hauling the dkms package for 19.40, so please hold tight. In the future, it should work on more kernels without patches. Closing as WONTFIX for now
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.