drm/sched: Fix outdated sched_job docu
Subsystems (2)
Philipp Stanner
maintainerPATCH 1/1 drm/sched: Fix outdated sched_job docu
There is no such thing as a "done_list" anymore. Remove mention of it.
Signed-off-by Philipp Stanner <[email protected]>
--- include/drm/gpu_scheduler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/gpu_scheduler.h +1 -1
@@ -320,7 +320,7 @@ struct drm_sched_fence *to_drm_sched_fence(struct dma_fence *f);* struct drm_sched_job - A job to be run by an entity. * * @queue_node: used to append this struct to the queue of jobs in an entity. -* @list: a job participates in a "pending" and "done" lists. +* @list: for enqueueing the job into the list of pending jobs. * @sched: the scheduler instance on which this job is scheduled. * @s_fence: contains the fences for the scheduling of job. * @finish_cb: the callback for the finished fence.
Signature · 1 line
2.49.0
Quoted 12 lines · Philipp Stanner
There is no such thing as a "
done_list" anymore. Remove mention of it.Signed-off-by Philipp Stanner <[email protected]>--- 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_fence *to_drm_sched_fence(struct dma_fence *f); · line 326
Quoted 8 lines
include/drm/gpu_scheduler.h +1
-1@@ -320,7 +320,7 @@ struct drm_sched_fence *to_drm_sched_fence(struct dma_fence *f);* struct drm_sched_job - A job to be run by an entity. * * @queue_node: used to append this struct to the queue of jobs in an entity. -* @list: a job participates in a "pending" and "done" lists. +* @list: for enqueueing the job into the list of pending jobs. * @sched: the scheduler instance on which this job is scheduled. * @s_fence: contains the fences for the scheduling of job. * @finish_cb: the callback for the finished fence.
Interesting that I cannot see there was a done list at the time when that comment was added. Anyway, I did not dig much further back since for the current state the correction is obviously correct.
Reviewed-by Tvrtko Ursulin <[email protected]>
Regards,
Tvrtko