News: 0001469740

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

AMD's Linux Kernel Compute Driver For ROCm Begins Preparing For RDNA4 GPUs

([Radeon] 5 Hours Ago AMDKFD + GFX12)


In addition to [1]debuting their "Peano" LLVM compiler back-end for Ryzen AI NPUs on Friday, AMD also submitted a new batch of feature code for their AMDGPU kernel graphics driver and AMDKFD kernel compute driver of new feature code aiming for the upcoming [2]Linux 6.11 merge window.

With this new round of AMDGPU/AMDKFD driver updates for the next Linux kernel version there are continued preparations for upcoming RDNA 4 graphics processors with GFX12 IP. The AMDGPU driver sees DCN 4.0.x support, GC 12.0 support, GMC 12.0 support, SMU 13 updates, MES 12 support, and a variety of other new hardware IP updates and enablement. There is also updates for RDNA 3.5 graphics being found with upcoming Ryzen AI 300 series NPUs.

The AMDGPU driver also has DisplayPort Multi-Stream Transport (DP MST) fixes, cursor fixes, fixing HDP flush for platforms with larger than 4K page sizes, and various other low-level changes.

The AMDKFD kernel compute driver updates are a big deal this time around. First, it contains more work around [3]better compute support for "small" Ryzen APUs . The code for Linux 6.11 is allowing for contiguous vRAM allocations and simplifies the APU vRAM handling. The other big change is the GC 12.0 support in the AMDKFD driver in beginning to prepare this "Kernel Fusion Driver" for RDNA4/GFX12 hardware. There is also SDMA 7.0 IP enabled too.

Here's to hoping that when the RDNA 4 graphics cards do launch in months down the road, AMD will be ready with at-launch support for ROCm on their next-gen consumer GPUs...

See [4]this pull request for the full list of these AMDGPU/AMDKFD feature patches aiming for Linux 6.11. Expect more AMD feature work for Linux 6.11 to be published in the next few weeks.



[1] https://www.phoronix.com/news/AMD-Peano-LLVM-Ryzen-AI

[2] https://www.phoronix.com/search/Linux+6.11

[3] https://www.phoronix.com/news/Linux-6.10-AMDKFD-Small-APUs

[4] https://lore.kernel.org/dri-devel/20240607195900.902537-1-alexander.deucher@amd.com/T/#u



phoronix

By the middle 1880's, practically all the roads except those in
the South, were of the present standard gauge. The southern roads were
still five feet between rails.
It was decided to change the gauge of all southern roads to standard,
in one day. This remarkable piece of work was carried out on a Sunday in May
of 1886. For weeks beforehand, shops had been busy pressing wheels in on the
axles to the new and narrower gauge, to have a supply of rolling stock which
could run on the new track as soon as it was ready. Finally, on the day set,
great numbers of gangs of track layers went to work at dawn. Everywhere one
rail was loosened, moved in three and one-half inches, and spiked down in its
new position. By dark, trains from anywhere in the United States could operate
over the tracks in the South, and a free interchange of freight cars everywhere
was possible.
-- Robert Henry, "Trains", 1957