drm/sched: fix the warning in drm_sched_job_done
Subsystems (3)
PATCH 1/1 drm/sched: 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: error code for dma fence for schedular * * Finish the job's fence and wake up the worker thread. */
Signature · 1 line
2.34.1
Quoted 14 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'Reviewed-by Tvrtko Ursulin <[email protected]>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 393
Quoted 4 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: error code for dma fence for schedular
SchedulEr ;)
Regards,
Tvrtko
Quoted 3 lines
drivers/gpu/drm/scheduler/sched_main.c +0
-0* * Finish the job's fence and wake up the worker thread. */
Quoted 11 lines · Tvrtko Ursulin
Quoted 9 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'Reviewed-by Tvrtko Ursulin <[email protected]>Signed-off-by Sunil Khatri <[email protected]>---
drivers/gpu/drm/scheduler/sched_main.c| 1 +1 file changed, 1 insertion(+)
Quoted 12 lines
drivers/gpu/drm/scheduler/sched_main.c static void drm_sched_run_free_queue(struct · line 394
Quoted 10 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: error code for dma fence for schedular SchedulEr ;)
Oops, thanks for catching that :)
regards
Sunil Khatri
Quoted 9 lines
Regards,
Tvrtko
Quoted 3 lines
drivers/gpu/drm/scheduler/sched_main.c +0
-0* * Finish the job's fence and wake up the worker thread.*/