Skip to contentSkip to conversation

drm/sched: Fix outdated sched_job docu

PATCH In review Philipp Stanner 2 participants 2 messages Nov 11, 2025 – Nov 12, 2025

Subsystems (2)
lore
Share & tools
lore

Philipp Stanner

author maintainer
#0 lore raw

PATCH 1/1 drm/sched: Fix outdated sched_job docu

There is no such thing as a "done_list" anymore. Remove mention of it.

---
 include/drm/gpu_scheduler.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/gpu_scheduler.h +1 -1
index fb88301b3c45..18d6210ce2d0 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Philipp Stanner

There is no such thing as a "done_list" anymore. Remove mention of it.

---
  include/drm/gpu_scheduler.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/drm/gpu_scheduler.h +0 -0
index fb88301b3c45..18d6210ce2d0 100644

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.

Regards,

Tvrtko