Bug 111103 - [Patch] to compile amdgpu-dkms 19.20 on debian stretch & buster
Summary: [Patch] to compile amdgpu-dkms 19.20 on debian stretch & buster
Status: RESOLVED WONTFIX
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/AMDgpu-pro (show other bugs)
Version: DRI git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-11 06:55 UTC by Fab Stz
Modified: 2019-07-29 20:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
[Patch] to compile amdgpu-dkms 19.20 on debian stretch & buster (3.36 KB, patch)
2019-07-11 06:55 UTC, Fab Stz
no flags Details | Splinter Review
[Patch] to compile amdgpu-dkms 19.20 on debian stretch & buster (v2) (3.83 KB, patch)
2019-07-17 07:03 UTC, Fab Stz
no flags Details | Splinter Review

Description Fab Stz 2019-07-11 06:55:55 UTC
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.
Comment 1 Fab Stz 2019-07-17 07:03:04 UTC
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
Comment 2 Jeremy Newton 2019-07-29 20:00:40 UTC
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.