Skip to contentSkip to conversation

Documentation: nouveau: Update GSP message queue kernel-doc reference

PATCH Superseded Bagas Sanjaya 2 participants 3 messages Jun 10, 2025

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: nouveau: Update GSP message queue kernel-doc reference

Commit c472d828348caf ("drm/nouveau/gsp: move subdev/engine impls to subdev/gsp/rm/r535/") moves GSP-RM message queue implementation in drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c to versioned path in drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c, but forgets to update kernel-doc reference in nouveau docs, hence 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/")
---
 Documentation/gpu/nouveau.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/gpu/nouveau.rst +1 -1
index b8c801e0068cb0..878fb1ade31e4c 100644
@@ -25,7 +25,7 @@ providing a consistent API to upper layers of the driver stack.
 GSP Support
 ------------------------
 
-.. kernel-doc:: drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
+.. kernel-doc:: drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c
    :doc: GSP message queue element
 
 .. kernel-doc:: drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h

base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494

Signature · 1 line
An old man doll... just what I always wanted! - Clara
reviewer
#1 lore raw
Quoted 23 lines · Bagas Sanjaya

Commit c472d828348caf ("drm/nouveau/gsp: move subdev/engine impls to subdev/gsp/rm/r535/") moves GSP-RM message queue implementation in drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c to versioned path in drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c, but forgets to update kernel-doc reference in nouveau docs, hence 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/")
---
 Documentation/gpu/nouveau.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/gpu/nouveau.rst +0 -0
index b8c801e0068cb0..878fb1ade31e4c 100644

Documentation/gpu/nouveau.rst providing a consistent API to upper layers of the driver stack. · line 28

Quoted 5 lines
Documentation/gpu/nouveau.rst +1 -1
@@ -25,7 +25,7 @@ providing a consistent API to upper layers of the driver stack.
 GSP Support
 ------------------------
 
-.. kernel-doc:: drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
+.. kernel-doc:: drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c

Are you sure? Did that work for you?

I see
/**
* DOC: GSP message queue element

in drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c but not in the file that you referenced. Maybe it just keeps moving around...

This works for me. Please send a v2 if you see the need to.

Quoted 5 lines
Documentation/gpu/nouveau.rst +0 -0
    :doc: GSP message queue element
 
 .. kernel-doc:: drivers/gpu/drm/nouveau/include/nvkm/subdev/gsp.h

base-commit: 19272b37aa4f83ca52bdf9c16d5d81bdd1354494

Signature · 1 line
~Randy
#2 lore raw
Quoted 34 lines · Randy Dunlap
Quoted 23 lines · Bagas Sanjaya

Commit c472d828348caf ("drm/nouveau/gsp: move subdev/engine impls to subdev/gsp/rm/r535/") moves GSP-RM message queue implementation in drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c to versioned path in drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c, but forgets to update kernel-doc reference in nouveau docs, hence 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/")
---
 Documentation/gpu/nouveau.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/gpu/nouveau.rst +0 -0
index b8c801e0068cb0..878fb1ade31e4c 100644

Documentation/gpu/nouveau.rst providing a consistent API to upper layers of the driver stack. · line 28

Quoted 5 lines
Documentation/gpu/nouveau.rst +1 -1
@@ -25,7 +25,7 @@ providing a consistent API to upper layers of the driver stack.
 GSP Support
 ------------------------
 
-.. kernel-doc:: drivers/gpu/drm/nouveau/nvkm/subdev/gsp/r535.c
+.. kernel-doc:: drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gsp.c

Are you sure? Did that work for you?

Quoted 6 lines

I see
/**
* DOC: GSP message queue element

in drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/rpc.c but not in the file that you referenced. Maybe it just keeps moving around...

Indeed, the same GSP docs as in v6.15.

Quoted 3 lines

This works for me. Please send a v2 if you see the need to.

OK. I will send v2 tomorrow.

Thanks.

Signature · 1 line
An old man doll... just what I always wanted! - Clara