Adding support for AMD GPU Navi 10

Trenton Schulz trueos at norwegianrockcat.com
Sat May 23 17:44:40 UTC 2020


Hello,

I recently purchased a new desktop machine and it came with an AMD Radeon 5700 XT card. It’s a Navi 10 card and, as expected, it doesn’t load on FreeBSD even -current and the devel kmod.

From searching online, I see that support was added to the Linux 5.3 kernel. I also noticed from the kms-drm repo that there is a pull request for to add support for 5.1. So, I was motivated and decided to be fearless and try and “sync” the amdgpu driver with what was in the 5.3 kernel. I was somewhat successful in that I got some of the newer files to compile, but it seems that it probably need some additional bits.

It was at this point that I realized that I should probably try to do this correctly. That is, try and help in upgrading the devel port to 5.3. But, it seems that there is a procedure where the git commit history from Linux is pulled in. How does one do this? I searched the archives, but nothing immediately jumped out.

The next question is that I don’t want to stomp on someone else’s toes. So, if there are people working on or have plans on trying to do this, I can try to help them out or if nothing else, try and test things out? Maybe I could even document how we go about upgrading to a new version of the Linux DRM? 

It would be really nice to be able do use something beyond the scfb driver with the graphics card. :-)

Best regards,

-- 
Trenton


More information about the freebsd-x11 mailing list