git: 12545b85834f - main - fwget: add needed firmware for AMD Raphael GPUs

From: Warner Losh <imp_at_FreeBSD.org>
Date: Sun, 07 Jul 2024 11:45:50 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=12545b85834f32e0fdb831489503c3c4f6db715a

commit 12545b85834f32e0fdb831489503c3c4f6db715a
Author:     Danilo Egea Gondolfo <danilo@FreeBSD.org>
AuthorDate: 2024-06-30 17:56:22 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-07-07 11:45:37 +0000

    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 5f89b12dce7c..7ad41be12d57 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
 }