From 12545b85834f32e0fdb831489503c3c4f6db715a Mon Sep 17 00:00:00 2001 From: Danilo Egea Gondolfo Date: Sun, 30 Jun 2024 18:56:22 +0100 Subject: [PATCH] fwget: add needed firmware for AMD Raphael GPUs This GPU is found in Ryzen 7000 series CPUs. For future reference, the list of firmware versions for amdgpu drivers can be found in [1]. [1] - https://docs.kernel.org/gpu/amdgpu/driver-misc.html Reviewed by: imp, Christos Longros Pull Request: https://github.com/freebsd/freebsd-src/pull/1308 --- usr.sbin/fwget/pci/pci_video_amd | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/usr.sbin/fwget/pci/pci_video_amd b/usr.sbin/fwget/pci/pci_video_amd index 5f89b12dce7ca6..7ad41be12d572f 100644 --- a/usr.sbin/fwget/pci/pci_video_amd +++ b/usr.sbin/fwget/pci/pci_video_amd @@ -26,6 +26,9 @@ pci_video_amd() { + # A table listing the required firmware versions for each GPU series + # is available at https://docs.kernel.org/gpu/amdgpu/driver-misc.html + case "$1" in 0x678*|0x679*) addpkg "gpu-firmware-amd-kmod-tahiti" @@ -150,5 +153,12 @@ pci_video_amd() addpkg "gpu-firmware-amd-kmod-sdma-6-0-1" addpkg "gpu-firmware-amd-kmod-vcn-4-0-2" ;; + 0x164e) + addpkg "gpu-firmware-amd-kmod-gc-10-3-6" + addpkg "gpu-firmware-amd-kmod-psp-13-0-5" + addpkg "gpu-firmware-amd-kmod-dcn-3-1-5" + addpkg "gpu-firmware-amd-kmod-sdma-5-2-6" + addpkg "gpu-firmware-amd-kmod-vcn-3-1-2" + ;; esac }