drm/sched: struct member doc fix
Subsystems (2)
PATCH 1/1 drm/sched: struct member doc fix
The mentioned function has been renamed since commit 180fc134d712 ("drm/scheduler: Rename cleanup functions v2."), so let it refer to the current one.
--- include/drm/gpu_scheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/gpu_scheduler.h +1 -1
@@ -546,7 +546,7 @@ struct drm_sched_backend_ops {* @num_rqs: Number of run-queues. This is at most DRM_SCHED_PRIORITY_COUNT, * as there's usually one run-queue per priority, but could be less. * @sched_rq: An allocated array of run-queues of size @num_rqs; -* @job_scheduled: once @drm_sched_entity_do_release is called the scheduler +* @job_scheduled: once @drm_sched_entity_flush is called the scheduler * waits on this wait queue until all the scheduled jobs are * finished. * @job_id_count: used to assign unique id to the each job.
Signature · 1 line
2.51.0
Quoted 5 lines · Luc Ma
The mentioned function has been renamed since commit
180fc134d712("drm/scheduler: Rename cleanup functions v2."), so let it refer to the current one.Signed-off-by Luc Ma <[email protected]>
Thx for the patch.
Quoted 9 lines
---
include/drm/gpu_scheduler.h | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)include/drm/gpu_scheduler.h +0
-0
include/drm/gpu_scheduler.h struct drm_sched_backend_ops { · line 549
Quoted 5 lines
include/drm/gpu_scheduler.h +1
-1@@ -546,7 +546,7 @@ struct drm_sched_backend_ops { * @num_rqs: Number of run-queues. This is at most DRM_SCHED_PRIORITY_COUNT, * as there's usually one run-queue per priority, but could be less. * @sched_rq: An allocated array of run-queues of size @num_rqs; - * @job_scheduled: once @drm_sched_entity_do_release is called the scheduler + * @job_scheduled: once @drm_sched_entity_flush is called the scheduler
The change itself looks correct to me; however, a function must be cross-referenced with parenthesis: "once drm_sched_entity_flush() …"
'@' is used for function parameters.
https://www.kernel.org/doc/html/latest/doc-guide/kernel-doc.html#highlights-and-cross-references
Please provide that change in a v2.
Thank you,
P.
Quoted 3 lines
include/drm/gpu_scheduler.h +0
-0* waits on this wait queue until all the scheduled jobs are * finished. * @job_id_count: used to assign unique id to the each job.
Hi,
Quoted 28 lines · Philipp Stanner
Quoted 5 lines · Luc Ma
The mentioned function has been renamed since commit
180fc134d712("drm/scheduler: Rename cleanup functions v2."), so let it refer to the current one.Signed-off-by Luc Ma <[email protected]>Thx for the patch.
Quoted 9 lines
--- include/drm/gpu_scheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/drm/gpu_scheduler.h +0
-0include/drm/gpu_scheduler.h struct drm_sched_backend_ops { · line 549
Quoted 5 lines
include/drm/gpu_scheduler.h +1
-1@@ -546,7 +546,7 @@ struct drm_sched_backend_ops {* @num_rqs: Number of run-queues. This is at most DRM_SCHED_PRIORITY_COUNT, * as there's usually one run-queue per priority, but could be less. * @sched_rq: An allocated array of run-queues of size @num_rqs; -* @job_scheduled: once @drm_sched_entity_do_release is called the scheduler +* @job_scheduled: once @drm_sched_entity_flush is called the scheduler The change itself looks correct to me; however, a function must be cross-referenced with parenthesis: "once
drm_sched_entity_flush()…"
Quoted 5 lines
'@' is used for function parameters.
https://www.kernel.org/doc/html/latest/doc-guide/kernel-doc.html#highlights-and-cross-references
Please provide that change in a v2.
Thank you for pointing out that, I'll send v2.
Quoted 9 lines
Thank you,
P.Quoted 3 lines
include/drm/gpu_scheduler.h +0
-0* waits on this wait queue until all the scheduled jobs are * finished. * @job_id_count: used to assign unique id to the each job.
Signature · 1 line
Luc