git: 6ae0cdfede19 - main - graphics/gpu-firmware-gpu-radeon: Add new port

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ae0cdfede19e77db5f2b116a63c47ee8d4dfa1f

commit 6ae0cdfede19e77db5f2b116a63c47ee8d4dfa1f
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-10-14 14:36:29 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-05-01 17:23:26 +0000

    graphics/gpu-firmware-gpu-radeon: Add new port
    
    This is a port with the firmware for all and only radeon 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-radeon-kmod/Makefile  |  78 +++++++++
 graphics/gpu-firmware-radeon-kmod/distinfo  |   3 +
 graphics/gpu-firmware-radeon-kmod/pkg-descr |   5 +
 graphics/gpu-firmware-radeon-kmod/pkg-plist | 245 ++++++++++++++++++++++++++++
 5 files changed, 332 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index dc1ec00586da..fa5125c98d97 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -298,6 +298,7 @@
     SUBDIR += gpu-firmware-kmod
     SUBDIR += gpu-firmware-intel-kmod
     SUBDIR += gpu-firmware-amd-kmod
+    SUBDIR += gpu-firmware-radeon-kmod
     SUBDIR += gpxsee
     SUBDIR += gracula
     SUBDIR += grads
diff --git a/graphics/gpu-firmware-radeon-kmod/Makefile b/graphics/gpu-firmware-radeon-kmod/Makefile
new file mode 100644
index 000000000000..1453df5c7347
--- /dev/null
+++ b/graphics/gpu-firmware-radeon-kmod/Makefile
@@ -0,0 +1,78 @@
+# Created by: Emmanuel Vadot <manu@FreeBSD.org>
+
+PORTNAME=	gpu-firmware-radeon-kmod
+PORTVERSION=	20211014
+CATEGORIES=	graphics
+
+MAINTAINER=	x11@FreeBSD.org
+COMMENT=	Firmware modules for ${FLAVOR} Radeon GPUs
+
+LICENSE=	RADEON
+LICENSE_NAME=	Radeon firmware license (i915)
+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=	Radeon GPUs are only available on aarch64, x86 and powerpc64
+
+PKGNAMESUFFIX=	-${FLAVOR:C/_/-/g}
+FLAVORS=	aruba \
+		barts \
+		bonaire \
+		btc \
+		caicos \
+		cayman \
+		cedar \
+		cypress \
+		hainan \
+		hawaii \
+		juniper \
+		kabini \
+		kaveri \
+		mullins \
+		oland \
+		palm \
+		pitcairn \
+		r100 \
+		r200 \
+		r300 \
+		r420 \
+		r520 \
+		r600 \
+		r700 \
+		redwood \
+		rs600 \
+		rs690 \
+		rs780 \
+		rv610 \
+		rv620 \
+		rv630 \
+		rv635 \
+		rv670 \
+		rv710 \
+		rv730 \
+		rv740 \
+		rv770 \
+		sumo \
+		sumo2 \
+		tahiti \
+		turks \
+		verde
+FLAVOR?=	aruba
+
+USES=		kmod uidfix
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	freebsd
+GH_PROJECT=	drm-kmod-firmware
+GH_TAGNAME=	20211014_1
+
+MAKE_ENV=	KMODS="radeonkmsfw"
+MAKE_ENV+=	RADEONKMODS="${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-radeon-kmod/distinfo b/graphics/gpu-firmware-radeon-kmod/distinfo
new file mode 100644
index 000000000000..499e3ab4cf49
--- /dev/null
+++ b/graphics/gpu-firmware-radeon-kmod/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634226391
+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-radeon-kmod/pkg-descr b/graphics/gpu-firmware-radeon-kmod/pkg-descr
new file mode 100644
index 000000000000..fb24f43059d3
--- /dev/null
+++ b/graphics/gpu-firmware-radeon-kmod/pkg-descr
@@ -0,0 +1,5 @@
+Firmware modules for the drm-kmod drivers.
+
+Firmware files for Radeon GPUs supported by the radeonkms driver.
+
+WWW: https://github.com/freebsd/drm-kmod-firmware
diff --git a/graphics/gpu-firmware-radeon-kmod/pkg-plist b/graphics/gpu-firmware-radeon-kmod/pkg-plist
new file mode 100644
index 000000000000..2fb839fd722c
--- /dev/null
+++ b/graphics/gpu-firmware-radeon-kmod/pkg-plist
@@ -0,0 +1,245 @@
+%%ARUBA%%/%%KMODDIR%%/radeon_ARUBA_me_bin.ko
+%%ARUBA%%/%%KMODDIR%%/radeon_ARUBA_pfp_bin.ko
+%%ARUBA%%/%%KMODDIR%%/radeon_ARUBA_rlc_bin.ko
+%%BARTS%%/%%KMODDIR%%/radeon_BARTS_mc_bin.ko
+%%BARTS%%/%%KMODDIR%%/radeon_BARTS_me_bin.ko
+%%BARTS%%/%%KMODDIR%%/radeon_BARTS_pfp_bin.ko
+%%BARTS%%/%%KMODDIR%%/radeon_BARTS_smc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_ce_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_mc2_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_mc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_me_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_mec_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_pfp_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_rlc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_sdma_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_smc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_uvd_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_BONAIRE_vce_bin.ko
+%%BTC%%/%%KMODDIR%%/radeon_BTC_rlc_bin.ko
+%%CAICOS%%/%%KMODDIR%%/radeon_CAICOS_mc_bin.ko
+%%CAICOS%%/%%KMODDIR%%/radeon_CAICOS_me_bin.ko
+%%CAICOS%%/%%KMODDIR%%/radeon_CAICOS_pfp_bin.ko
+%%CAICOS%%/%%KMODDIR%%/radeon_CAICOS_smc_bin.ko
+%%CAYMAN%%/%%KMODDIR%%/radeon_CAYMAN_mc_bin.ko
+%%CAYMAN%%/%%KMODDIR%%/radeon_CAYMAN_me_bin.ko
+%%CAYMAN%%/%%KMODDIR%%/radeon_CAYMAN_pfp_bin.ko
+%%CAYMAN%%/%%KMODDIR%%/radeon_CAYMAN_rlc_bin.ko
+%%CAYMAN%%/%%KMODDIR%%/radeon_CAYMAN_smc_bin.ko
+%%CEDAR%%/%%KMODDIR%%/radeon_CEDAR_me_bin.ko
+%%CEDAR%%/%%KMODDIR%%/radeon_CEDAR_pfp_bin.ko
+%%CEDAR%%/%%KMODDIR%%/radeon_CEDAR_rlc_bin.ko
+%%CEDAR%%/%%KMODDIR%%/radeon_CEDAR_smc_bin.ko
+%%CYPRESS%%/%%KMODDIR%%/radeon_CYPRESS_me_bin.ko
+%%CYPRESS%%/%%KMODDIR%%/radeon_CYPRESS_pfp_bin.ko
+%%CYPRESS%%/%%KMODDIR%%/radeon_CYPRESS_rlc_bin.ko
+%%CYPRESS%%/%%KMODDIR%%/radeon_CYPRESS_smc_bin.ko
+%%CYPRESS%%/%%KMODDIR%%/radeon_CYPRESS_uvd_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_HAINAN_ce_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_HAINAN_mc2_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_HAINAN_mc_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_HAINAN_me_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_HAINAN_pfp_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_HAINAN_rlc_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_HAINAN_smc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_HAWAII_ce_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_HAWAII_mc2_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_HAWAII_mc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_HAWAII_me_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_HAWAII_mec_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_HAWAII_pfp_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_HAWAII_rlc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_HAWAII_sdma_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_HAWAII_smc_bin.ko
+%%JUNIPER%%/%%KMODDIR%%/radeon_JUNIPER_me_bin.ko
+%%JUNIPER%%/%%KMODDIR%%/radeon_JUNIPER_pfp_bin.ko
+%%JUNIPER%%/%%KMODDIR%%/radeon_JUNIPER_rlc_bin.ko
+%%JUNIPER%%/%%KMODDIR%%/radeon_JUNIPER_smc_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_KABINI_ce_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_KABINI_me_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_KABINI_mec_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_KABINI_pfp_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_KABINI_rlc_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_KABINI_sdma_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_KAVERI_ce_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_KAVERI_me_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_KAVERI_mec_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_KAVERI_pfp_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_KAVERI_rlc_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_KAVERI_sdma_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_MULLINS_ce_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_MULLINS_me_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_MULLINS_mec_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_MULLINS_pfp_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_MULLINS_rlc_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_MULLINS_sdma_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_OLAND_ce_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_OLAND_mc2_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_OLAND_mc_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_OLAND_me_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_OLAND_pfp_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_OLAND_rlc_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_OLAND_smc_bin.ko
+%%PALM%%/%%KMODDIR%%/radeon_PALM_me_bin.ko
+%%PALM%%/%%KMODDIR%%/radeon_PALM_pfp_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_PITCAIRN_ce_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_PITCAIRN_mc2_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_PITCAIRN_mc_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_PITCAIRN_me_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_PITCAIRN_pfp_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_PITCAIRN_rlc_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_PITCAIRN_smc_bin.ko
+%%R100%%/%%KMODDIR%%/radeon_R100_cp_bin.ko
+%%R200%%/%%KMODDIR%%/radeon_R200_cp_bin.ko
+%%R300%%/%%KMODDIR%%/radeon_R300_cp_bin.ko
+%%R420%%/%%KMODDIR%%/radeon_R420_cp_bin.ko
+%%R520%%/%%KMODDIR%%/radeon_R520_cp_bin.ko
+%%R600%%/%%KMODDIR%%/radeon_R600_me_bin.ko
+%%R600%%/%%KMODDIR%%/radeon_R600_pfp_bin.ko
+%%R600%%/%%KMODDIR%%/radeon_R600_rlc_bin.ko
+%%R600%%/%%KMODDIR%%/radeon_R600_uvd_bin.ko
+%%R700%%/%%KMODDIR%%/radeon_R700_rlc_bin.ko
+%%REDWOOD%%/%%KMODDIR%%/radeon_REDWOOD_me_bin.ko
+%%REDWOOD%%/%%KMODDIR%%/radeon_REDWOOD_pfp_bin.ko
+%%REDWOOD%%/%%KMODDIR%%/radeon_REDWOOD_rlc_bin.ko
+%%REDWOOD%%/%%KMODDIR%%/radeon_REDWOOD_smc_bin.ko
+%%RS600%%/%%KMODDIR%%/radeon_RS600_cp_bin.ko
+%%RS690%%/%%KMODDIR%%/radeon_RS690_cp_bin.ko
+%%RS780%%/%%KMODDIR%%/radeon_RS780_me_bin.ko
+%%RS780%%/%%KMODDIR%%/radeon_RS780_pfp_bin.ko
+%%RS780%%/%%KMODDIR%%/radeon_RS780_uvd_bin.ko
+%%RV610%%/%%KMODDIR%%/radeon_RV610_me_bin.ko
+%%RV610%%/%%KMODDIR%%/radeon_RV610_pfp_bin.ko
+%%RV620%%/%%KMODDIR%%/radeon_RV620_me_bin.ko
+%%RV620%%/%%KMODDIR%%/radeon_RV620_pfp_bin.ko
+%%RV630%%/%%KMODDIR%%/radeon_RV630_me_bin.ko
+%%RV630%%/%%KMODDIR%%/radeon_RV630_pfp_bin.ko
+%%RV635%%/%%KMODDIR%%/radeon_RV635_me_bin.ko
+%%RV635%%/%%KMODDIR%%/radeon_RV635_pfp_bin.ko
+%%RV670%%/%%KMODDIR%%/radeon_RV670_me_bin.ko
+%%RV670%%/%%KMODDIR%%/radeon_RV670_pfp_bin.ko
+%%RV710%%/%%KMODDIR%%/radeon_RV710_me_bin.ko
+%%RV710%%/%%KMODDIR%%/radeon_RV710_pfp_bin.ko
+%%RV710%%/%%KMODDIR%%/radeon_RV710_smc_bin.ko
+%%RV710%%/%%KMODDIR%%/radeon_RV710_uvd_bin.ko
+%%RV730%%/%%KMODDIR%%/radeon_RV730_me_bin.ko
+%%RV730%%/%%KMODDIR%%/radeon_RV730_pfp_bin.ko
+%%RV730%%/%%KMODDIR%%/radeon_RV730_smc_bin.ko
+%%RV740%%/%%KMODDIR%%/radeon_RV740_smc_bin.ko
+%%RV770%%/%%KMODDIR%%/radeon_RV770_me_bin.ko
+%%RV770%%/%%KMODDIR%%/radeon_RV770_pfp_bin.ko
+%%RV770%%/%%KMODDIR%%/radeon_RV770_smc_bin.ko
+%%RV770%%/%%KMODDIR%%/radeon_RV770_uvd_bin.ko
+%%SUMO2%%/%%KMODDIR%%/radeon_SUMO2_me_bin.ko
+%%SUMO2%%/%%KMODDIR%%/radeon_SUMO2_pfp_bin.ko
+%%SUMO%%/%%KMODDIR%%/radeon_SUMO_me_bin.ko
+%%SUMO%%/%%KMODDIR%%/radeon_SUMO_pfp_bin.ko
+%%SUMO%%/%%KMODDIR%%/radeon_SUMO_rlc_bin.ko
+%%SUMO%%/%%KMODDIR%%/radeon_SUMO_uvd_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_TAHITI_ce_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_TAHITI_mc2_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_TAHITI_mc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_TAHITI_me_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_TAHITI_pfp_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_TAHITI_rlc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_TAHITI_smc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_TAHITI_uvd_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_TAHITI_vce_bin.ko
+%%TURKS%%/%%KMODDIR%%/radeon_TURKS_mc_bin.ko
+%%TURKS%%/%%KMODDIR%%/radeon_TURKS_me_bin.ko
+%%TURKS%%/%%KMODDIR%%/radeon_TURKS_pfp_bin.ko
+%%TURKS%%/%%KMODDIR%%/radeon_TURKS_smc_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_VERDE_ce_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_VERDE_mc2_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_VERDE_mc_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_VERDE_me_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_VERDE_pfp_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_VERDE_rlc_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_VERDE_smc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_ce_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_k_smc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_mc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_me_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_mec_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_pfp_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_rlc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_sdma1_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_sdma_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_smc_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_uvd_bin.ko
+%%BONAIRE%%/%%KMODDIR%%/radeon_bonaire_vce_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_hainan_ce_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_hainan_k_smc_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_hainan_mc_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_hainan_me_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_hainan_pfp_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_hainan_rlc_bin.ko
+%%HAINAN%%/%%KMODDIR%%/radeon_hainan_smc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_ce_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_k_smc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_mc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_me_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_mec_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_pfp_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_rlc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_sdma1_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_sdma_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_smc_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_uvd_bin.ko
+%%HAWAII%%/%%KMODDIR%%/radeon_hawaii_vce_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_kabini_ce_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_kabini_me_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_kabini_mec_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_kabini_pfp_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_kabini_rlc_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_kabini_sdma1_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_kabini_sdma_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_kabini_uvd_bin.ko
+%%KABINI%%/%%KMODDIR%%/radeon_kabini_vce_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_kaveri_ce_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_kaveri_me_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_kaveri_mec2_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_kaveri_mec_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_kaveri_pfp_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_kaveri_rlc_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_kaveri_sdma1_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_kaveri_sdma_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_kaveri_uvd_bin.ko
+%%KAVERI%%/%%KMODDIR%%/radeon_kaveri_vce_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_mullins_ce_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_mullins_me_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_mullins_mec_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_mullins_pfp_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_mullins_rlc_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_mullins_sdma1_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_mullins_sdma_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_mullins_uvd_bin.ko
+%%MULLINS%%/%%KMODDIR%%/radeon_mullins_vce_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_oland_ce_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_oland_k_smc_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_oland_mc_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_oland_me_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_oland_pfp_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_oland_rlc_bin.ko
+%%OLAND%%/%%KMODDIR%%/radeon_oland_smc_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_pitcairn_ce_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_pitcairn_k_smc_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_pitcairn_mc_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_pitcairn_me_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_pitcairn_pfp_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_pitcairn_rlc_bin.ko
+%%PITCAIRN%%/%%KMODDIR%%/radeon_pitcairn_smc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_tahiti_ce_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_tahiti_k_smc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_tahiti_mc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_tahiti_me_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_tahiti_pfp_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_tahiti_rlc_bin.ko
+%%TAHITI%%/%%KMODDIR%%/radeon_tahiti_smc_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_verde_ce_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_verde_k_smc_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_verde_mc_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_verde_me_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_verde_pfp_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_verde_rlc_bin.ko
+%%VERDE%%/%%KMODDIR%%/radeon_verde_smc_bin.ko