AMDgpu (Linux kernel module): Difference between revisions

Content deleted Content added
m ref fix
Enriched trunk
Line 2:
{{About||AMDGPU (LLVM backend)|LLVM#Back_ends}}
{{About||amdgpu and amdgpu-pro install scripts|AMD Radeon Software}}
 
{{Infobox software
| name = AMDgpu
Line 26 ⟶ 27:
| license = [[MIT License]]
}}
 
==Development==
'''AMDgpu''' is [[AMD]]'s fully [[Open-source software|open source]] unified [[device driver|kernel driver]] for its GPUs on [[Linux]].
It takes the form of an [https://www.kernel.org/doc/html/latest/gpu/amdgpu/index.html in-tree] [[Loadable kernel module|kernel module]]. As of 2022, AMDgpu development at AMD is part of [[ROCm#ROCk_-_Kernel_driver|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.<br>
 
==Distribution==
AMDgpu has been fully upstreamed and new developments continue to do so.
 
As AMDgpu is part of the [[monolithic linuxkernel|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.
 
==Community==
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.org]] mailing lists<ref>{{Cite web|title=The dri-devel Archives|url=https://lists.freedesktop.org/archives/dri-devel/|access-date=2021-02-01}}</ref><ref>{{Cite web|title=The amd-gfx Archives|url=https://lists.freedesktop.org/archives/amd-gfx/|access-date=2021-02-01}}</ref> - freedesktop, which is home to major Linux graphics projects such as [[Mesa (computer graphics)|Mesa]], [[libdrm]], [[XOrg|Xorg]], [[Wayland (display server protocol)|Wayland]], provides the hardware infrastructure consisting of dozens of GPUs for Linux-kernel-graphics [[continuous integration]].
 
==Suport==
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 [[Graphics Core Next|GCN 1.2]] or higher (including new instruction sets such as [[RDNA]]1&2, CDNA...).
 
===Support issues===
AMDgpu officially supports cards built upon [[Graphics Core Next|GCN 1.2]] or higher (including new instruction sets such as RDNA1-2).<br>Though {{as of|2021|lc=y}} support for GCN 1.0/1.1 is incomplete,<ref>{{Cite web|title=Defaulting Radeon GCN 1.0/1.1 GPUs To Better Linux Driver Is Held Up By Analog Outputs|url=https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-GCN-1.0-Analog-Block|url-status=live|access-date=2021-03-09|website=Phoronix|archive-url=https://web.archive.org/web/20200805222842/https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-GCN-1.0-Analog-Block |archive-date=2020-08-05 }}</ref> it can be enabled by a kernel parameter<ref>{{cite news|url=https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-SI-Experimental-Code|title=AMD Unleashes Initial AMDGPU Driver Support For GCN 1.0 / Southern Islands GPUs|work=Phoronix|date=2016-05-13|access-date=2017-04-05}}</ref><ref>{{cite web|title=AMDgpu driver documentation|url=https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html|website=Freedesktop.org}}</ref> and some [[Linux distribution|Linux distributions]] enabled it by default.<ref>{{Cite web|title=Mageia 8 RC1 Brings AMDGPU For GCN 1.0/1.1, NVIDIA GLVND, Linux 5.10 LTS|url=https://www.phoronix.com/scan.php?page=news_item&px=Mageia-8-RC1-Released|url-status=live|access-date=2021-03-09|website=Phoronix|archive-url=https://web.archive.org/web/20210207043011/https://www.phoronix.com/scan.php?page=news_item&px=Mageia-8-RC1-Released |archive-date=2021-02-07 }}</ref>
 
[[File:Linux AMD graphics stack.svg|thumb|alt=Diagram|Linux device drivers for AMD hardware as of August 2016]]