drm/schedular: fix the warning in drm_sched_job_done
Subsystems (3)
PATCH 1/1 drm/schedular: fix the warning in drm_sched_job_done
Fix the below warning.scheduler/sched_main.c:397: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done'
--- drivers/gpu/drm/scheduler/sched_main.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/scheduler/sched_main.c +1 -0
@@ -390,6 +390,7 @@ static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched)/** * drm_sched_job_done - complete a job * @s_job: pointer to the job which is done +* @result: passed dma fence error * * Finish the job's fence and wake up the worker thread. */
Signature · 1 line
2.34.1
[Added Philipp and Danilo to cc.]
Quoted 13 lines · Sunil Khatri
Fix the below warning.
scheduler/sched_main.c:397: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done'Signed-off-by Sunil Khatri <[email protected]>--- drivers/gpu/drm/scheduler/sched_main.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/scheduler/sched_main.c +0
-0
drivers/gpu/drm/scheduler/sched_main.c static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched) · line 396
Quoted 7 lines
drivers/gpu/drm/scheduler/sched_main.c +1
-0@@ -390,6 +390,7 @@ static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched)/** * drm_sched_job_done - complete a job * @s_job: pointer to the job which is done +* @result: passed dma fence error * * Finish the job's fence and wake up the worker thread. */
s/drm\/schedular:/drm\/sched:/
With that:
Optionally, "passed dma fence error" could perhaps be improved to say something like "Error code to set on the scheduler fence".
Regards,
Tvrtko
Quoted 12 lines · Tvrtko Ursulin
[Added Philipp and Danilo to cc.]
Quoted 8 lines · Sunil Khatri
Fix the below warning.
scheduler/sched_main.c:397: warning: Function parameter or struct member 'result' not described in 'drm_sched_job_done'Signed-off-by Sunil Khatri <[email protected]>---
drivers/gpu/drm/scheduler/sched_main.c| 1 +1 file changed, 1 insertion(+)
Quoted 15 lines
Quoted 12 lines
drivers/gpu/drm/scheduler/sched_main.c +1
-0@@ -390,6 +390,7 @@ static void drm_sched_run_free_queue(struct drm_gpu_scheduler *sched) /*** drm_sched_job_done - complete a job * @s_job: pointer to the job which is done +* @result: passed dma fence error * * Finish the job's fence and wake up the worker thread. Quoted 1 line
*/
s/drm\/schedular:/drm\/sched:/
Noted
Quoted 6 lines
With that:
Reviewed-by Tvrtko Ursulin <[email protected]>Optionally, "passed dma fence error" could perhaps be improved to say something like "Error code to set on the scheduler fence".
Noted, Thanks a lot.
Quoted 5 lines
Regards,
Tvrtko