git: 99c8d913ea5c - main - graphics/gpu-firmware-gpu-amd: Add new port

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Sun, 01 May 2022 17:24:29 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=99c8d913ea5c402b77ea59179b33438b5ce86523

commit 99c8d913ea5c402b77ea59179b33438b5ce86523
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-10-14 14:08:48 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-05-01 17:23:26 +0000

    graphics/gpu-firmware-gpu-amd: Add new port
    
    This is a port with the firmware for all and only amd GPUs.
    Each generation is a flavor so one can just install the needed
    firmware.
    
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
---
 graphics/Makefile                        |   1 +
 graphics/gpu-firmware-amd-kmod/Makefile  |  67 ++++++
 graphics/gpu-firmware-amd-kmod/distinfo  |   3 +
 graphics/gpu-firmware-amd-kmod/pkg-descr |   5 +
 graphics/gpu-firmware-amd-kmod/pkg-plist | 358 +++++++++++++++++++++++++++++++
 5 files changed, 434 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 63f7a5837ef5..dc1ec00586da 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -297,6 +297,7 @@
     SUBDIR += gpsmanshp
     SUBDIR += gpu-firmware-kmod
     SUBDIR += gpu-firmware-intel-kmod
+    SUBDIR += gpu-firmware-amd-kmod
     SUBDIR += gpxsee
     SUBDIR += gracula
     SUBDIR += grads
diff --git a/graphics/gpu-firmware-amd-kmod/Makefile b/graphics/gpu-firmware-amd-kmod/Makefile
new file mode 100644
index 000000000000..8136d115997d
--- /dev/null
+++ b/graphics/gpu-firmware-amd-kmod/Makefile
@@ -0,0 +1,67 @@
+# Created by: Emmanuel Vadot <manu@FreeBSD.org>
+
+PORTNAME=	gpu-firmware-amd-kmod
+PORTVERSION=	20211014
+CATEGORIES=	graphics
+
+MAINTAINER=	x11@FreeBSD.org
+COMMENT=	Firmware modules for ${FLAVOR} AMD GPUs
+
+LICENSE=	AMD
+LICENSE_NAME=	AMD firmware license (amdgpu/radeon)
+LICENSE_FILE=	${WRKSRC}/LICENSE.radeon
+LICENSE_PERMS=	dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
+
+ONLY_FOR_ARCHS=		aarch64 amd64 i386 powerpc64 powerpc64le
+ONLY_FOR_ARCHS_REASON=	AMD GPUs are only available on aarch64, x86 and powerpc64
+
+PKGNAMESUFFIX=	-${FLAVOR:C/_/-/g}
+FLAVORS=	banks \
+		bonaire \
+		carrizo \
+		fiji \
+		hainan \
+		hawaii \
+		kabini \
+		kaveri \
+		mullins \
+		navi10 \
+		navi12 \
+		navi14 \
+		oland \
+		picasso \
+		pitcairn \
+		polaris10 \
+		polaris11 \
+		polaris12 \
+		raven \
+		raven2 \
+		renoir \
+		si58 \
+		stoney \
+		tahiti \
+		tonga \
+		topaz \
+		vega10 \
+		vega12 \
+		vega20 \
+		vegam \
+		verde
+FLAVOR?=	banks
+
+USES=		kmod uidfix
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	freebsd
+GH_PROJECT=	drm-kmod-firmware
+GH_TAGNAME=	20211014_1
+
+MAKE_ENV=	KMODS="amdgpukmsfw"
+MAKE_ENV+=	AMDGPUKMODS="${FLAVOR}"
+
+.include <bsd.port.pre.mk>
+
+PLIST_SUB+=	${FLAVORS:N${FLAVOR}:@v@${v:tu}="\@comment "@}
+PLIST_SUB+=	${FLAVOR:tu}=""
+
+.include <bsd.port.post.mk>
diff --git a/graphics/gpu-firmware-amd-kmod/distinfo b/graphics/gpu-firmware-amd-kmod/distinfo
new file mode 100644
index 000000000000..c78289515416
--- /dev/null
+++ b/graphics/gpu-firmware-amd-kmod/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634226410
+SHA256 (freebsd-drm-kmod-firmware-20211014-20211014_1_GH0.tar.gz) = cf39652b616579f6461d56af21d6827f666a75c5e3193a8fb69747bb49d4cdad
+SIZE (freebsd-drm-kmod-firmware-20211014-20211014_1_GH0.tar.gz) = 19953773
diff --git a/graphics/gpu-firmware-amd-kmod/pkg-descr b/graphics/gpu-firmware-amd-kmod/pkg-descr
new file mode 100644
index 000000000000..209c9491c382
--- /dev/null
+++ b/graphics/gpu-firmware-amd-kmod/pkg-descr
@@ -0,0 +1,5 @@
+Firmware modules for the drm-kmod drivers.
+
+Firmware files for AMD GPUs supported by the amdgpu driver.
+
+WWW: https://github.com/freebsd/drm-kmod-firmware
diff --git a/graphics/gpu-firmware-amd-kmod/pkg-plist b/graphics/gpu-firmware-amd-kmod/pkg-plist
new file mode 100644
index 000000000000..8bfd5e0bd242
--- /dev/null
+++ b/graphics/gpu-firmware-amd-kmod/pkg-plist
@@ -0,0 +1,358 @@
+%%BANKS%%/%%KMODDIR%%/amdgpu_banks_k_2_smc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_ce_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_k_smc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_mc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_me_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_mec_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_pfp_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_rlc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_sdma1_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_sdma_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_smc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_uvd_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/amdgpu_bonaire_vce_bin.ko
+%%CARRIZO%%/%%KMODDIR%%/amdgpu_carrizo_ce_bin.ko
+%%CARRIZO%%/%%KMODDIR%%/amdgpu_carrizo_me_bin.ko
+%%CARRIZO%%/%%KMODDIR%%/amdgpu_carrizo_mec2_bin.ko
+%%CARRIZO%%/%%KMODDIR%%/amdgpu_carrizo_mec_bin.ko
+%%CARRIZO%%/%%KMODDIR%%/amdgpu_carrizo_pfp_bin.ko
+%%CARRIZO%%/%%KMODDIR%%/amdgpu_carrizo_rlc_bin.ko
+%%CARRIZO%%/%%KMODDIR%%/amdgpu_carrizo_sdma1_bin.ko
+%%CARRIZO%%/%%KMODDIR%%/amdgpu_carrizo_sdma_bin.ko
+%%CARRIZO%%/%%KMODDIR%%/amdgpu_carrizo_uvd_bin.ko
+%%CARRIZO%%/%%KMODDIR%%/amdgpu_carrizo_vce_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_ce_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_mc_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_me_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_mec2_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_mec_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_pfp_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_rlc_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_sdma1_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_sdma_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_smc_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_uvd_bin.ko
+%%FIJI%%/%%KMODDIR%%/amdgpu_fiji_vce_bin.ko
+%%HAINAN%%/%%KMODDIR%%/amdgpu_hainan_ce_bin.ko
+%%HAINAN%%/%%KMODDIR%%/amdgpu_hainan_k_smc_bin.ko
+%%HAINAN%%/%%KMODDIR%%/amdgpu_hainan_mc_bin.ko
+%%HAINAN%%/%%KMODDIR%%/amdgpu_hainan_me_bin.ko
+%%HAINAN%%/%%KMODDIR%%/amdgpu_hainan_pfp_bin.ko
+%%HAINAN%%/%%KMODDIR%%/amdgpu_hainan_rlc_bin.ko
+%%HAINAN%%/%%KMODDIR%%/amdgpu_hainan_smc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_ce_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_k_smc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_mc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_me_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_mec_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_pfp_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_rlc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_sdma1_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_sdma_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_smc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_uvd_bin.ko
+%%HAWAII%%/%%KMODDIR%%/amdgpu_hawaii_vce_bin.ko
+%%KABINI%%/%%KMODDIR%%/amdgpu_kabini_ce_bin.ko
+%%KABINI%%/%%KMODDIR%%/amdgpu_kabini_me_bin.ko
+%%KABINI%%/%%KMODDIR%%/amdgpu_kabini_mec_bin.ko
+%%KABINI%%/%%KMODDIR%%/amdgpu_kabini_pfp_bin.ko
+%%KABINI%%/%%KMODDIR%%/amdgpu_kabini_rlc_bin.ko
+%%KABINI%%/%%KMODDIR%%/amdgpu_kabini_sdma1_bin.ko
+%%KABINI%%/%%KMODDIR%%/amdgpu_kabini_sdma_bin.ko
+%%KABINI%%/%%KMODDIR%%/amdgpu_kabini_uvd_bin.ko
+%%KABINI%%/%%KMODDIR%%/amdgpu_kabini_vce_bin.ko
+%%KAVERI%%/%%KMODDIR%%/amdgpu_kaveri_ce_bin.ko
+%%KAVERI%%/%%KMODDIR%%/amdgpu_kaveri_me_bin.ko
+%%KAVERI%%/%%KMODDIR%%/amdgpu_kaveri_mec2_bin.ko
+%%KAVERI%%/%%KMODDIR%%/amdgpu_kaveri_mec_bin.ko
+%%KAVERI%%/%%KMODDIR%%/amdgpu_kaveri_pfp_bin.ko
+%%KAVERI%%/%%KMODDIR%%/amdgpu_kaveri_rlc_bin.ko
+%%KAVERI%%/%%KMODDIR%%/amdgpu_kaveri_sdma1_bin.ko
+%%KAVERI%%/%%KMODDIR%%/amdgpu_kaveri_sdma_bin.ko
+%%KAVERI%%/%%KMODDIR%%/amdgpu_kaveri_uvd_bin.ko
+%%KAVERI%%/%%KMODDIR%%/amdgpu_kaveri_vce_bin.ko
+%%MULLINS%%/%%KMODDIR%%/amdgpu_mullins_ce_bin.ko
+%%MULLINS%%/%%KMODDIR%%/amdgpu_mullins_me_bin.ko
+%%MULLINS%%/%%KMODDIR%%/amdgpu_mullins_mec_bin.ko
+%%MULLINS%%/%%KMODDIR%%/amdgpu_mullins_pfp_bin.ko
+%%MULLINS%%/%%KMODDIR%%/amdgpu_mullins_rlc_bin.ko
+%%MULLINS%%/%%KMODDIR%%/amdgpu_mullins_sdma1_bin.ko
+%%MULLINS%%/%%KMODDIR%%/amdgpu_mullins_sdma_bin.ko
+%%MULLINS%%/%%KMODDIR%%/amdgpu_mullins_uvd_bin.ko
+%%MULLINS%%/%%KMODDIR%%/amdgpu_mullins_vce_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_asd_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_ce_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_gpu_info_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_me_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_mec2_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_mec_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_pfp_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_rlc_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_sdma1_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_sdma_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_smc_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_sos_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_ta_bin.ko
+%%NAVI10%%/%%KMODDIR%%/amdgpu_navi10_vcn_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_asd_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_ce_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_dmcu_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_gpu_info_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_me_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_mec2_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_mec_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_pfp_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_rlc_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_sdma1_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_sdma_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_smc_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_sos_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_ta_bin.ko
+%%NAVI12%%/%%KMODDIR%%/amdgpu_navi12_vcn_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_asd_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_ce_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_ce_wks_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_gpu_info_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_me_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_me_wks_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_mec2_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_mec2_wks_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_mec_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_mec_wks_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_pfp_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_pfp_wks_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_rlc_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_sdma1_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_sdma_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_smc_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_sos_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_ta_bin.ko
+%%NAVI14%%/%%KMODDIR%%/amdgpu_navi14_vcn_bin.ko
+%%OLAND%%/%%KMODDIR%%/amdgpu_oland_ce_bin.ko
+%%OLAND%%/%%KMODDIR%%/amdgpu_oland_k_smc_bin.ko
+%%OLAND%%/%%KMODDIR%%/amdgpu_oland_mc_bin.ko
+%%OLAND%%/%%KMODDIR%%/amdgpu_oland_me_bin.ko
+%%OLAND%%/%%KMODDIR%%/amdgpu_oland_pfp_bin.ko
+%%OLAND%%/%%KMODDIR%%/amdgpu_oland_rlc_bin.ko
+%%OLAND%%/%%KMODDIR%%/amdgpu_oland_smc_bin.ko
+%%OLAND%%/%%KMODDIR%%/amdgpu_oland_uvd_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_asd_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_ce_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_gpu_info_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_me_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_mec2_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_mec_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_pfp_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_rlc_am4_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_rlc_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_sdma_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_ta_bin.ko
+%%PICASSO%%/%%KMODDIR%%/amdgpu_picasso_vcn_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/amdgpu_pitcairn_ce_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/amdgpu_pitcairn_k_smc_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/amdgpu_pitcairn_mc_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/amdgpu_pitcairn_me_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/amdgpu_pitcairn_pfp_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/amdgpu_pitcairn_rlc_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/amdgpu_pitcairn_smc_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/amdgpu_pitcairn_uvd_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_ce_2_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_ce_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_k2_smc_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_k_mc_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_k_smc_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_mc_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_me_2_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_me_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_mec2_2_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_mec2_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_mec_2_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_mec_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_pfp_2_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_pfp_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_rlc_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_sdma1_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_sdma_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_smc_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_smc_sk_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_uvd_bin.ko
+%%POLARIS10%%/%%KMODDIR%%/amdgpu_polaris10_vce_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_ce_2_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_ce_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_k2_smc_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_k_mc_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_k_smc_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_mc_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_me_2_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_me_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_mec2_2_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_mec2_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_mec_2_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_mec_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_pfp_2_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_pfp_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_rlc_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_sdma1_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_sdma_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_smc_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_smc_sk_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_uvd_bin.ko
+%%POLARIS11%%/%%KMODDIR%%/amdgpu_polaris11_vce_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_ce_2_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_ce_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_k_mc_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_k_smc_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_mc_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_me_2_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_me_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_mec2_2_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_mec2_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_mec_2_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_mec_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_pfp_2_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_pfp_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_rlc_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_sdma1_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_sdma_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_smc_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_uvd_bin.ko
+%%POLARIS12%%/%%KMODDIR%%/amdgpu_polaris12_vce_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_asd_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_ce_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_gpu_info_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_me_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_mec2_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_mec_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_pfp_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_rlc_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_sdma_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_ta_bin.ko
+%%RAVEN2%%/%%KMODDIR%%/amdgpu_raven2_vcn_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_asd_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_ce_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_dmcu_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_gpu_info_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_kicker_rlc_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_me_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_mec2_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_mec_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_pfp_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_rlc_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_sdma_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_ta_bin.ko
+%%RAVEN%%/%%KMODDIR%%/amdgpu_raven_vcn_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_asd_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_ce_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_dmcub_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_gpu_info_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_me_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_mec2_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_mec_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_pfp_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_rlc_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_sdma_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_ta_bin.ko
+%%RENOIR%%/%%KMODDIR%%/amdgpu_renoir_vcn_bin.ko
+%%SI58%%/%%KMODDIR%%/amdgpu_si58_mc_bin.ko
+%%STONEY%%/%%KMODDIR%%/amdgpu_stoney_ce_bin.ko
+%%STONEY%%/%%KMODDIR%%/amdgpu_stoney_me_bin.ko
+%%STONEY%%/%%KMODDIR%%/amdgpu_stoney_mec_bin.ko
+%%STONEY%%/%%KMODDIR%%/amdgpu_stoney_pfp_bin.ko
+%%STONEY%%/%%KMODDIR%%/amdgpu_stoney_rlc_bin.ko
+%%STONEY%%/%%KMODDIR%%/amdgpu_stoney_sdma_bin.ko
+%%STONEY%%/%%KMODDIR%%/amdgpu_stoney_uvd_bin.ko
+%%STONEY%%/%%KMODDIR%%/amdgpu_stoney_vce_bin.ko
+%%TAHITI%%/%%KMODDIR%%/amdgpu_tahiti_ce_bin.ko
+%%TAHITI%%/%%KMODDIR%%/amdgpu_tahiti_k_smc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/amdgpu_tahiti_mc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/amdgpu_tahiti_me_bin.ko
+%%TAHITI%%/%%KMODDIR%%/amdgpu_tahiti_pfp_bin.ko
+%%TAHITI%%/%%KMODDIR%%/amdgpu_tahiti_rlc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/amdgpu_tahiti_smc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/amdgpu_tahiti_uvd_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_ce_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_k_smc_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_mc_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_me_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_mec2_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_mec_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_pfp_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_rlc_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_sdma1_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_sdma_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_smc_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_uvd_bin.ko
+%%TONGA%%/%%KMODDIR%%/amdgpu_tonga_vce_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_ce_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_k_smc_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_mc_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_me_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_mec2_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_mec_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_pfp_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_rlc_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_sdma1_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_sdma_bin.ko
+%%TOPAZ%%/%%KMODDIR%%/amdgpu_topaz_smc_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_acg_smc_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_asd_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_ce_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_gpu_info_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_me_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_mec2_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_mec_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_pfp_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_rlc_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_sdma1_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_sdma_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_smc_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_sos_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_uvd_bin.ko
+%%VEGA10%%/%%KMODDIR%%/amdgpu_vega10_vce_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_asd_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_ce_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_gpu_info_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_me_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_mec2_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_mec_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_pfp_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_rlc_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_sdma1_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_sdma_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_smc_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_sos_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_uvd_bin.ko
+%%VEGA12%%/%%KMODDIR%%/amdgpu_vega12_vce_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_asd_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_ce_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_me_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_mec2_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_mec_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_pfp_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_rlc_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_sdma1_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_sdma_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_smc_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_sos_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_ta_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_uvd_bin.ko
+%%VEGA20%%/%%KMODDIR%%/amdgpu_vega20_vce_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_ce_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_me_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_mec2_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_mec_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_pfp_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_rlc_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_sdma1_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_sdma_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_smc_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_uvd_bin.ko
+%%VEGAM%%/%%KMODDIR%%/amdgpu_vegam_vce_bin.ko
+%%VERDE%%/%%KMODDIR%%/amdgpu_verde_ce_bin.ko
+%%VERDE%%/%%KMODDIR%%/amdgpu_verde_k_smc_bin.ko
+%%VERDE%%/%%KMODDIR%%/amdgpu_verde_mc_bin.ko
+%%VERDE%%/%%KMODDIR%%/amdgpu_verde_me_bin.ko
+%%VERDE%%/%%KMODDIR%%/amdgpu_verde_pfp_bin.ko
+%%VERDE%%/%%KMODDIR%%/amdgpu_verde_rlc_bin.ko
+%%VERDE%%/%%KMODDIR%%/amdgpu_verde_smc_bin.ko
+%%VERDE%%/%%KMODDIR%%/amdgpu_verde_uvd_bin.ko