[PATCH 11/14] linux-firmware: add support for NVIDIA GM20B GPU
Tomasz Maciej Nowak
tmn505 at terefe.re
Tue Oct 29 08:47:04 PDT 2024
From: Koen Vandeputte <koen.vandeputte at citymesh.com>
This commit allows to install the required firmware files
for the GM20B GPU.
This GPU is based on Maxwell and is present on Tegra X1 SoC.
Signed-off-by: Koen Vandeputte <koen.vandeputte at citymesh.com>
[reword, add missing firmware file]
Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
---
package/firmware/linux-firmware/nvidia.mk | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/package/firmware/linux-firmware/nvidia.mk b/package/firmware/linux-firmware/nvidia.mk
index 4bb523a18fe9..65df7ea035ea 100644
--- a/package/firmware/linux-firmware/nvidia.mk
+++ b/package/firmware/linux-firmware/nvidia.mk
@@ -1,3 +1,23 @@
+Package/gm20b-firmware = $(call Package/firmware-default,GM20B Video Driver firmware)
+define Package/gm20b-firmware/install
+ $(INSTALL_DIR) $(1)/lib/firmware/nvidia/gm20b/acr
+ $(INSTALL_DIR) $(1)/lib/firmware/nvidia/gm20b/gr
+ $(INSTALL_DIR) $(1)/lib/firmware/nvidia/gm20b/pmu
+ $(CP) \
+ $(PKG_BUILD_DIR)/nvidia/gm20b/acr/*.bin \
+ $(1)/lib/firmware/nvidia/gm20b/acr
+ $(CP) \
+ $(PKG_BUILD_DIR)/nvidia/gm20b/gr/*.bin \
+ $(1)/lib/firmware/nvidia/gm20b/gr
+ $(CP) \
+ $(PKG_BUILD_DIR)/nvidia/gm200/gr/sw_method_init.bin \
+ $(1)/lib/firmware/nvidia/gm20b/gr
+ $(CP) \
+ $(PKG_BUILD_DIR)/nvidia/gm20b/pmu/*.bin \
+ $(1)/lib/firmware/nvidia/gm20b/pmu
+endef
+$(eval $(call BuildPackage,gm20b-firmware))
+
Package/t210-usb-firmware = $(call Package/firmware-default,nVidia T210 USB firmware)
define Package/t210-usb-firmware/install
$(INSTALL_DIR) $(1)/lib/firmware/nvidia/tegra210
--
2.47.0
More information about the openwrt-devel
mailing list