diff --git a/srcpkgs/nvidia/patches/nvidia-tegra-bpmp.patch b/srcpkgs/nvidia/patches/nvidia-tegra-bpmp.patch new file mode 100644 index 00000000000..dcf8fa56ae2 --- /dev/null +++ b/srcpkgs/nvidia/patches/nvidia-tegra-bpmp.patch @@ -0,0 +1,13 @@ +--- a/kernel/nvidia/nv-clk.c ++++ b/kernel/nvidia/nv-clk.c +@@ -27,8 +27,10 @@ + #include "nv-linux.h" + #include "nv-platform.h" + ++#if IS_ENABLED(CONFIG_TEGRA_BPMP) + #include + #include ++#endif // IS_ENABLED(CONFIG_TEGRA_BPMP) + + // Use the CCF APIs if enabled in Kernel config and RM build + // has Dual license define enabled. diff --git a/srcpkgs/nvidia/template b/srcpkgs/nvidia/template index f98a078cf5f..f02e4b682cb 100644 --- a/srcpkgs/nvidia/template +++ b/srcpkgs/nvidia/template @@ -3,7 +3,7 @@ _desc="NVIDIA drivers for linux" pkgname=nvidia -version=570.181 +version=580.76.05 revision=1 maintainer="Andrew Benson " license="custom:NVIDIA Proprietary" @@ -19,7 +19,7 @@ conflicts="xserver-abi-video>25_1 nvidia470>=0 nvidia390>=0" _pkg="NVIDIA-Linux-x86_64-${version}" distfiles="http://uk.download.nvidia.com/XFree86/Linux-x86_64/${version}/${_pkg}.run" -checksum=f06d25ce3f1802ea507ada4b5dc46b3c2c8b38503db6f68f3ef016bab8e3dcf9 +checksum=219be636b60931b021b2e8c1e0eff887363c731f8a940caa87bcc054d05d97fd # subpackages need to be processed in this specific order subpackages="nvidia-gtklibs nvidia-dkms nvidia-firmware nvidia-opencl nvidia-libs nvidia-libs-32bit" depends="nvidia-libs-${version}_${revision}