Jump to content

AMDgpu (Linux kernel module)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Maxorazon (talk | contribs) at 00:22, 1 February 2022 (ref fix). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
AMDgpu
Initial release1.0 / 20 April 2015; 10 years ago (2015-04-20)[1]
Stable release
5.11.32.21.40 / 17 September 2021; 3 years ago (2021-09-17)[2]
Repositorygithub.com/radeonopencompute/rock-kernel-driver
Written inC
Operating systemLinux
Platformx86-64
TypeDevice driver
LicenseMIT License

AMDgpu is AMD's fully open source unified kernel driver for its GPUs on Linux. It takes the form of an in-tree kernel module. As of 2022, AMDgpu development at AMD is part of ROCm, under the ROCk project.

AMDgpu has been fully upstreamed and new developments continue to do so. AMD Kernel Fusion Driver (KFD) is now integrated in this one kernel module.

As AMDgpu is part of the monolithic linux kernel, it is shipped by most Linux distributions directly. The package suite / install script amdgpu-pro, still distributed by AMD directly from AMD Radeon Software, ships an AMDgpu kernel module somewhat reliably more up-to-date compared to that of kernels shipped in regular operating system distributions.

The development of the kernel module happens first internally at AMD, and discussion with the Linux maintainers happen on the freedesktop

AMDgpu officially supports cards built upon GCN 1.2 or higher (including new instruction sets such as RDNA1-2).
Though as of 2021 support for GCN 1.0/1.1 is incomplete,[3] it can be enabled by a kernel parameter[4][5] and some Linux distributions enabled it by default.[6]

Diagram
Linux device drivers for AMD hardware as of August 2016

See also

References

  1. ^ "Initial amdgpu driver release". 20 April 2015.
  2. ^ "AMDgpu version bump". 17 September 2021.
  3. ^ "Defaulting Radeon GCN 1.0/1.1 GPUs To Better Linux Driver Is Held Up By Analog Outputs". Phoronix. Archived from the original on 2020-08-05. Retrieved 2021-03-09.
  4. ^ "AMD Unleashes Initial AMDGPU Driver Support For GCN 1.0 / Southern Islands GPUs". Phoronix. 2016-05-13. Retrieved 2017-04-05.
  5. ^ "AMDgpu driver documentation". Freedesktop.org.
  6. ^ "Mageia 8 RC1 Brings AMDGPU For GCN 1.0/1.1, NVIDIA GLVND, Linux 5.10 LTS". Phoronix. Archived from the original on 2021-02-07. Retrieved 2021-03-09.