Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2024 09:40:47 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4aa7e5605dd8 - main - x11/nvidia-driver: Prepare for GSP firmware in 560
Message-ID:  <202409290940.48T9el7B049472@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4aa7e5605dd808709154e842895ac3401e097d6b

commit 4aa7e5605dd808709154e842895ac3401e097d6b
Author:     Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
AuthorDate: 2024-09-29 07:16:53 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-09-29 09:40:10 +0000

    x11/nvidia-driver: Prepare for GSP firmware in 560
    
    PR:             280772
    Approved by:    maintainer timeout
---
 x11/nvidia-driver/Makefile  | 4 ++++
 x11/nvidia-driver/pkg-plist | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/x11/nvidia-driver/Makefile b/x11/nvidia-driver/Makefile
index 3fd6e3722bb8..ba87e2a0088d 100644
--- a/x11/nvidia-driver/Makefile
+++ b/x11/nvidia-driver/Makefile
@@ -372,6 +372,10 @@ post-install: .SILENT
 .if ${NVVERSION} < 545.000
 	${REINPLACE_CMD} -e '/libnvidia-gpucomp\.so/d' ${TMPPLIST}
 .endif
+.if ${NVVERSION} < 560.02803
+	${REINPLACE_CMD} -e '/nvidia_gsp_ga10x_fw\.ko/d' ${TMPPLIST}
+	${REINPLACE_CMD} -e '/nvidia_gsp_tu10x_fw\.ko/d' ${TMPPLIST}
+.endif
 
 .if ${NVVERSION} < 410.057
 # Rename some libraries and install a libmap file to resolve conflict with
diff --git a/x11/nvidia-driver/pkg-plist b/x11/nvidia-driver/pkg-plist
index 973dc8193b11..3c61dc2818ce 100644
--- a/x11/nvidia-driver/pkg-plist
+++ b/x11/nvidia-driver/pkg-plist
@@ -107,3 +107,5 @@ share/vulkan/implicit_layer.d/nvidia_layers.json
 %%MODULESDIR%%/extensions/libglxserver_nvidia.so.1
 /%%KMODDIR%%/nvidia.ko
 /%%KMODDIR%%/nvidia-modeset.ko
+/%%KMODDIR%%/nvidia_gsp_ga10x_fw.ko
+/%%KMODDIR%%/nvidia_gsp_tu10x_fw.ko



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409290940.48T9el7B049472>