Files
geramyloveless 5702b392ca firmware/: vendor GFX11+GFX12 microcode + bundle into host app
linux-firmware blobs for the GFX11 (RDNA3) and GFX12 (RDNA4)
families ship in the repo under firmware/. project.yml now copies
that directory into MacAMDGPUHost.app/Contents/Resources/firmware/
as part of the host target's Resources build phase, so end-users
don't have to clone linux-firmware separately.

Coverage:
  • RDNA3 (gfx1100/1101/1102/1103/1150/1151/1152/1153):
      gc_11_*.bin   (70 files), psp_13_*.bin (24),
      smu_13_*.bin  (6),         sdma_6_*.bin (8).
  • RDNA4 (gfx1200/1201):
      gc_12_*.bin   (20),        psp_14_*.bin (14),
      smu_14_*.bin  (3),         sdma_7_*.bin (2).

For the R9700 specifically the dext loads:
  psp_14_0_3_sos.bin, smu_14_0_3.bin, sdma_7_0_1.bin,
  gc_12_0_1_{rlc,imu,pfp,me,mec,uni_mes}.bin.

License: firmware/LICENSE.amdgpu (verbatim copy of the AMD-firmware
distribution license from linux-firmware) and the relevant
firmware/WHENCE.amdgpu provenance excerpts ship alongside.

Host-app change:
  • firmwareDir defaults to Bundle.main.resourceURL/firmware so the
    bring-up ladder works out-of-the-box once the dext is approved.
    "Pick Firmware Folder…" remains as an override for developers
    who want to test against a different microcode tree.

.gitignore: firmware/ unignored. README and firmware/README updated
to reflect the bundled-by-default model.

Total app bundle size: ~35 MB (was ~1 MB pre-firmware).
2026-05-14 11:46:40 -07:00
..

Firmware Blobs

Microcode for AMD GPUs supported by mac_amdgpu. Sourced verbatim from linux-firmware.

License: see LICENSE.amdgpu. Provenance metadata (release date, upstream commit) for each binary is in WHENCE.amdgpu.

Coverage

The repo currently vendors microcode for the GFX11 (RDNA3) and GFX12 (RDNA4) families:

Family GC prefix PSP prefix SMU prefix SDMA prefix
RDNA3 gc_11_* psp_13_* smu_13_* sdma_6_*
RDNA4 gc_12_* psp_14_* smu_14_* sdma_7_*

Target hardware mapping

  • R9700 (Radeon AI PRO R9700, PCI 0x1002:0x7551, gfx1201) → gc_12_0_1_*, psp_14_0_3_*, smu_14_0_3.bin, sdma_7_0_1.bin.
  • Other GFX12 cards → gc_12_0_0_* or other IP subversions.
  • RX 7900-class (gfx1100) → gc_11_0_0_*, psp_13_0_0_*, smu_13_0_0.bin, sdma_6_0_0.bin.

How they're loaded

The host app's "Pick Firmware Folder…" button points at this directory (firmware/). The bring-up ladder then calls LoadFirmware for the SOS + PSP-loaded IP firmware blobs in the order the dext's PSP code expects.

Updating

Re-pull linux-firmware and re-copy the same prefixes:

git clone --depth 1 \
  https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git \
  /tmp/linux-firmware
cp /tmp/linux-firmware/amdgpu/gc_1{1,2}_*.bin firmware/
cp /tmp/linux-firmware/amdgpu/psp_1{3,4}_*.bin firmware/
cp /tmp/linux-firmware/amdgpu/smu_1{3,4}_*.bin firmware/
cp /tmp/linux-firmware/amdgpu/sdma_{6,7}_*.bin firmware/
cp /tmp/linux-firmware/LICENSE.amdgpu firmware/