aboutsummaryrefslogtreecommitdiffstats
path: root/queue-6.15/documentation-nouveau-update-gsp-message-queue-kernel-doc-reference.patch
diff options
Diffstat (limited to 'queue-6.15/documentation-nouveau-update-gsp-message-queue-kernel-doc-reference.patch')
-rw-r--r--queue-6.15/documentation-nouveau-update-gsp-message-queue-kernel-doc-reference.patch44
1 files changed, 44 insertions, 0 deletions
diff --git a/queue-6.15/documentation-nouveau-update-gsp-message-queue-kernel-doc-reference.patch b/queue-6.15/documentation-nouveau-update-gsp-message-queue-kernel-doc-reference.patch
new file mode 100644
index 0000000000..ec324bf889
--- /dev/null
+++ b/queue-6.15/documentation-nouveau-update-gsp-message-queue-kernel-doc-reference.patch
@@ -0,0 +1,44 @@
+From 553ab30a181043f01b99a493ba13f9c011eb75ae Mon Sep 17 00:00:00 2001
+From: Bagas Sanjaya <bagasdotme@gmail.com>
+Date: Wed, 11 Jun 2025 09:08:06 +0700
+Subject: Documentation: nouveau: Update GSP message queue kernel-doc reference
+
+From: Bagas Sanjaya <bagasdotme@gmail.com>
+
+commit 553ab30a181043f01b99a493ba13f9c011eb75ae upstream.
+
+GSP message queue docs has been moved following RPC handling split in
+commit 8a8b1ec5261f20 ("drm/nouveau/gsp: split rpc handling out on its
+own"), before GSP-RM implementation is versioned in commit c472d828348caf
+("drm/nouveau/gsp: move subdev/engine impls to subdev/gsp/rm/r535/").
+However, the kernel-doc reference in nouveau docs is left behind, which
+triggers htmldocs warnings:
+
+ERROR: Cannot find file ./drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
+WARNING: No kernel-doc for file ./drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
+
+Update the reference.
+
+Fixes: c472d828348c ("drm/nouveau/gsp: move subdev/engine impls to subdev/gsp/rm/r535/")
+Fixes: 8a8b1ec5261f ("drm/nouveau/gsp: split rpc handling out on its own")
+Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
+Acked-by: Randy Dunlap <rdunlap@infradead.org>
+Tested-by: Randy Dunlap <rdunlap@infradead.org>
+Link: https://lore.kernel.org/r/20250611020805.22418-2-bagasdotme@gmail.com
+Signed-off-by: Danilo Krummrich <dakr@kernel.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ Documentation/gpu/nouveau.rst | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/Documentation/gpu/nouveau.rst
++++ b/Documentation/gpu/nouveau.rst
+@@ -25,7 +25,7 @@ providing a consistent API to upper laye
+ GSP Support
+ ------------------------
+
+-.. kernel-doc:: drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
++.. kernel-doc:: drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c
+ :doc: GSP message queue element
+
+ .. kernel-doc:: drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h