A simple doc fix
Subsystems (3)
PATCH v2 1/1 A simple doc fix
Fix two warnings during doc build which also results in corresponding additions in generated docs
Warnings Fixed:
1. include/drm/gpu_scheduler.h:462: warning: Function parameter or member 'dev' not described in 'drm_gpu_scheduler'
2. drivers/gpu/drm/scheduler/sched_main.c:1005: warning: Function parameter or member 'dev' not described in 'drm_sched_init'
---
Changes in v2:
Correct the doc strings according to
drivers/gpu/drm/scheduler/sched_main.c | 2 ++ include/drm/gpu_scheduler.h | 2 ++ 2 files changed, 4 insertions(+)
drivers/gpu/drm/scheduler/sched_main.c +2 -0
@@ -994,6 +994,8 @@ static int drm_sched_main(void *param)* used * @score: optional score atomic shared with other schedulers * @name: name used for debugging +* @dev: A device pointer - primarily useful for printing standardized +* messages with DRM_DEV_ERROR(). * * Return 0 on success, otherwise error code. */
include/drm/gpu_scheduler.h +2 -0
@@ -435,6 +435,8 @@ struct drm_sched_backend_ops {* @_score: score used when the driver doesn't provide one * @ready: marks if the underlying HW is ready to work * @free_guilty: A hit to time out handler to free the guilty job. +* @dev: A device pointer - primarily useful for printing standardized +* messages with DRM_DEV_ERROR(). * * One scheduler is implemented for each hardware ring. */
Signature · 1 line
2.35.1
Will push it to drm-misc-next
Thanks,
Andrey
Quoted 44 lines · Anup K Parikh
Fix two warnings during doc build which also results in corresponding additions in generated docs
Warnings Fixed:
1.include/drm/gpu_scheduler.h:462: warning: Function parameter or member 'dev' not described in 'drm_gpu_scheduler'
2.drivers/gpu/drm/scheduler/sched_main.c:1005: warning: Function parameter or member 'dev' not described in 'drm_sched_init'Signed-off-by Anup K Parikh <[email protected]>---
Changes in v2:
Correct the doc strings according todrivers/gpu/drm/scheduler/sched_main.c | 2 ++ include/drm/gpu_scheduler.h | 2 ++ 2 files changed, 4 insertions(+)drivers/gpu/drm/scheduler/sched_main.c +2
-0@@ -994,6 +994,8 @@ static int drm_sched_main(void *param)* used * @score: optional score atomic shared with other schedulers * @name: name used for debugging +* @dev: A device pointer - primarily useful for printing standardized +* messages with DRM_DEV_ERROR(). * * Return 0 on success, otherwise error code. */ include/drm/gpu_scheduler.h +2
-0@@ -435,6 +435,8 @@ struct drm_sched_backend_ops {* @_score: score used when the driver doesn't provide one * @ready: marks if the underlying HW is ready to work * @free_guilty: A hit to time out handler to free the guilty job. +* @dev: A device pointer - primarily useful for printing standardized +* messages with DRM_DEV_ERROR(). * * One scheduler is implemented for each hardware ring. */
After rebasing to latest drm-misc-next to latest I actually see someone else already fixed this and other kerneldoc warnings so we can skip this patch.
Andrey
Quoted 44 lines · Anup K Parikh
Fix two warnings during doc build which also results in corresponding additions in generated docs
Warnings Fixed:
1.include/drm/gpu_scheduler.h:462: warning: Function parameter or member 'dev' not described in 'drm_gpu_scheduler'
2.drivers/gpu/drm/scheduler/sched_main.c:1005: warning: Function parameter or member 'dev' not described in 'drm_sched_init'Signed-off-by Anup K Parikh <[email protected]>---
Changes in v2:
Correct the doc strings according todrivers/gpu/drm/scheduler/sched_main.c | 2 ++ include/drm/gpu_scheduler.h | 2 ++ 2 files changed, 4 insertions(+)drivers/gpu/drm/scheduler/sched_main.c +2
-0@@ -994,6 +994,8 @@ static int drm_sched_main(void *param)* used * @score: optional score atomic shared with other schedulers * @name: name used for debugging +* @dev: A device pointer - primarily useful for printing standardized +* messages with DRM_DEV_ERROR(). * * Return 0 on success, otherwise error code. */ include/drm/gpu_scheduler.h +2
-0@@ -435,6 +435,8 @@ struct drm_sched_backend_ops {* @_score: score used when the driver doesn't provide one * @ready: marks if the underlying HW is ready to work * @free_guilty: A hit to time out handler to free the guilty job. +* @dev: A device pointer - primarily useful for printing standardized +* messages with DRM_DEV_ERROR(). * * One scheduler is implemented for each hardware ring. */