AMDgpu (Linux kernel module): Difference between revisions

Content deleted Content added
Development: updated amdgpu/amdkfd based on David Airlie's inputs on IRC OFTC#dri-devel
 
(16 intermediate revisions by 10 users not shown)
Line 1:
{{short description|AMD GPU driver for Linux}}
{{About||AMDGPU (LLVM backend)|LLVM#Back_endsBackends}}
{{About||amdgpu and amdgpu-pro install scripts|AMD Radeon Software}}
 
Line 12:
| collapsible =
| author =
| developer = [[AMD]]
| released = 1.0 / {{Start date and age|2015|04|20|df=yes}}<ref name=INITIAL>{{cite web|url=https://lists.freedesktop.org/archives/dri-devel/2015-April/081501.html|title=Initial amdgpu driver release|date=20 April 2015}}</ref>
| discontinued =
| latest release version = 5.11.32.21.40
| latest release date = {{Start date and age|2021|09|17|df=yes}}<ref>{{cite web|url=https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/commit/5e2158164e449dcf2d956bea8b732f5b5290355d|title=AMDgpu version bump|website=[[GitHub]] |date=17 September 2021}}</ref>
| latest preview version =
| latest preview date =
Line 27:
| license = [[MIT License]]
}}
 
'''AMDgpu''' is an [[open source]] [[device driver]] for the [[Linux]] operating system developed by [[AMD]] to support its [[Radeon]] lineup of [[graphics card]]s (GPUs). It was announced in 2014 as the successor to the previous <code>radeon</code> device driver as part of AMD's new "unified" driver strategy,<ref>{{Cite web |last=Larabel |first=Michael |date=October 8, 2014 |title=The Slides Announcing The New "AMDGPU" Kernel Driver |url=https://www.phoronix.com/news/MTgwODA |access-date=April 11, 2023 |website=Phoronix |language=en}}</ref> and was released on April 20, 2015.<ref>{{Cite web |last=Larabel |first=Michael |date=April 20, 2015 |title=AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support |url=https://www.phoronix.com/news/AMD-AMDGPU-Released |access-date=April 11, 2023 |website=Phoronix |language=en}}</ref>
 
==Development==
It takes the form of an [https://www.kernel.org/doc/html/latest/gpu/amdgpu/index.html in-tree] [[Loadable kernel module|kernel module]].
'''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, AMD Kernel Fusion Driver ('''KFD''') is now integrated in this one kernel module. AMD KFD development at AMD is part of [[ROCm#ROCk_-_Kernel_driver|ROCm]], under the ROCk project.
Line 40 ⟶ 41:
 
==Community==
The development of the kernel module happens first internally atbetween AMD, and discussion with the Linux maintainers, discussions 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 isbeing 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]].
 
==SuportSupport==
AMDgpu officially supports cards built upon [[Graphics Core Next|GCN 1.2]] or higher, including new instruction sets such as [[RDNA (microarchitecture)|RDNA]]1&2, CDNA.
 
===Support issues===
Though {{as of|20212022|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]]
Line 60 ⟶ 61:
== External links ==
* {{cite web|url=https://www.kernel.org/doc/html/latest/gpu/amdgpu/index.html|publisher=[[Linux kernel]]|title=AMDgpu driver|date=2022-01-23}}
 
{{Linux-stub}}
 
{{AMD}}
Line 68 ⟶ 67:
{{Portal bar|Computer programming|Free and open-source software|Linux|Engineering|Electronics|Technology|Mathematics}}
 
[[Category:Advanced Micro DevicesAMD software]]
[[Category:Free device drivers]]
[[Category:Linux drivers]]
 
{{Linux-stub}}