* [PATCH 1/2] drm/doc: Fix title underline for "Task information"
@ 2025-06-18 14:22 André Almeida
2025-06-18 14:22 ` [PATCH 2/2] drm: Add missing struct drm_wedge_task_info kernel doc André Almeida
2025-06-18 22:43 ` [PATCH 1/2] drm/doc: Fix title underline for "Task information" Stephen Rothwell
0 siblings, 2 replies; 3+ messages in thread
From: André Almeida @ 2025-06-18 14:22 UTC (permalink / raw)
To: Stephen Rothwell, Linux Next Mailing List, airlied, simona,
Raag Jadav ,
Krzysztof Karas
Cc: dri-devel, linux-kernel, kernel-dev, André Almeida
Fix the following warning:
Documentation/gpu/drm-uapi.rst:450: WARNING: Title underline too short.
Task information
--------------- [docutils]
Fixes: cd37124b4093 ("drm/doc: Add a section about "Task information" for the wedge API")
Signed-off-by: André Almeida <andrealmeid@igalia.com>
---
Documentation/gpu/drm-uapi.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/gpu/drm-uapi.rst b/Documentation/gpu/drm-uapi.rst
index 263e5a97c080..10dea6a1f097 100644
--- a/Documentation/gpu/drm-uapi.rst
+++ b/Documentation/gpu/drm-uapi.rst
@@ -447,7 +447,7 @@ hang is usually the most critical one which can result in consequential hangs or
complete wedging.
Task information
----------------
+----------------
The information about which application (if any) was involved in the device
wedging is useful for userspace if they want to notify the user about what
@@ -728,4 +728,4 @@ Stable uAPI events
From ``drivers/gpu/drm/scheduler/gpu_scheduler_trace.h``
.. kernel-doc:: drivers/gpu/drm/scheduler/gpu_scheduler_trace.h
- :doc: uAPI trace events
\ No newline at end of file
+ :doc: uAPI trace events
--
2.49.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 2/2] drm: Add missing struct drm_wedge_task_info kernel doc
2025-06-18 14:22 [PATCH 1/2] drm/doc: Fix title underline for "Task information" André Almeida
@ 2025-06-18 14:22 ` André Almeida
2025-06-18 22:43 ` [PATCH 1/2] drm/doc: Fix title underline for "Task information" Stephen Rothwell
1 sibling, 0 replies; 3+ messages in thread
From: André Almeida @ 2025-06-18 14:22 UTC (permalink / raw)
To: Stephen Rothwell, Linux Next Mailing List, airlied, simona,
Raag Jadav ,
Krzysztof Karas
Cc: dri-devel, linux-kernel, kernel-dev, André Almeida
Fix the following kernel doc warning:
include/drm/drm_device.h:40: warning: Function parameter or struct member 'pid' not described in 'drm_wedge_task_info'
include/drm/drm_device.h:40: warning: Function parameter or struct member 'comm' not described in 'drm_wedge_task_info'
Fixes: 183bccafa176 ("drm: Create a task info option for wedge events")
Signed-off-by: André Almeida <andrealmeid@igalia.com>
---
include/drm/drm_device.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/drm/drm_device.h b/include/drm/drm_device.h
index 08b3b2467c4c..aae0800ccef1 100644
--- a/include/drm/drm_device.h
+++ b/include/drm/drm_device.h
@@ -33,6 +33,8 @@ struct pci_controller;
/**
* struct drm_wedge_task_info - information about the guilty task of a wedge dev
+ * @pid: the pid of the task
+ * @comm: the command name of the task
*/
struct drm_wedge_task_info {
pid_t pid;
--
2.49.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] drm/doc: Fix title underline for "Task information"
2025-06-18 14:22 [PATCH 1/2] drm/doc: Fix title underline for "Task information" André Almeida
2025-06-18 14:22 ` [PATCH 2/2] drm: Add missing struct drm_wedge_task_info kernel doc André Almeida
@ 2025-06-18 22:43 ` Stephen Rothwell
1 sibling, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2025-06-18 22:43 UTC (permalink / raw)
To: André Almeida
Cc: Linux Next Mailing List, airlied, simona, Raag Jadav ,
Krzysztof Karas, dri-devel, linux-kernel, kernel-dev
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
Hi André,
On Wed, 18 Jun 2025 11:22:29 -0300 André Almeida <andrealmeid@igalia.com> wrote:
>
> Fix the following warning:
>
> Documentation/gpu/drm-uapi.rst:450: WARNING: Title underline too short.
>
> Task information
> --------------- [docutils]
>
> Fixes: cd37124b4093 ("drm/doc: Add a section about "Task information" for the wedge API")
> Signed-off-by: André Almeida <andrealmeid@igalia.com>
Please add a Reported-by tag to this and the 2/2 patch.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-06-18 22:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-18 14:22 [PATCH 1/2] drm/doc: Fix title underline for "Task information" André Almeida
2025-06-18 14:22 ` [PATCH 2/2] drm: Add missing struct drm_wedge_task_info kernel doc André Almeida
2025-06-18 22:43 ` [PATCH 1/2] drm/doc: Fix title underline for "Task information" Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®