Skip to contentSkip to conversation

drm/sched: Add description of parameters in job_done

PATCH In review Luben Tuikov 2 participants 2 messages Oct 17, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/sched: Add description of parameters in job_done

Fix a kernel test robot complaint that there's no description of the "result" parameter to drm_sched_job_done() function.

Cc Christian König <[email protected]>
Fixes 539f9ee4b52a8b ("drm/scheduler: properly forward fence errors")
---
 drivers/gpu/drm/scheduler/sched_main.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/scheduler/sched_main.c +1 -0
index 5a3a622fc672f3..6f2cf72e79b15e 100644
@@ -259,6 +259,7 @@ drm_sched_rq_select_entity_fifo(struct drm_sched_rq *rq)
 /**
  * drm_sched_job_done - complete a job
  * @s_job: pointer to the job which is done
+ * @result: The result of the finished scheduler fence.
  *
  * Finish the job's fence and wake up the worker thread.
  */

base-commit: 213f891525c222e8ed145ce1ce7ae1f47921cb9c

Signature · 1 line
2.42.0
Reviewed-by on v1 1/1
#1 lore raw

Am 17.10.23 um 17:15 schrieb Luben Tuikov:

Quoted 8 lines

Fix a kernel test robot complaint that there's no description of the "result" parameter to drm_sched_job_done() function.

Cc Christian König <[email protected]>
Fixes 539f9ee4b52a8b ("drm/scheduler: properly forward fence errors")
Quoted 18 lines
---
  drivers/gpu/drm/scheduler/sched_main.c | 1 +
  1 file changed, 1 insertion(+)
drivers/gpu/drm/scheduler/sched_main.c +1 -0
index 5a3a622fc672f3..6f2cf72e79b15e 100644
@@ -259,6 +259,7 @@ drm_sched_rq_select_entity_fifo(struct drm_sched_rq *rq)
  /**
   * drm_sched_job_done - complete a job
   * @s_job: pointer to the job which is done
+ * @result: The result of the finished scheduler fence.
   *
   * Finish the job's fence and wake up the worker thread.
   */

base-commit: 213f891525c222e8ed145ce1ce7ae1f47921cb9c