drm/sched: fix the warning in drm_sched_job_done
Subsystems (3)
PATCH v2 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 scheduler * * Finish the job's fence and wake up the worker thread. */
Signature · 1 line
2.34.1
[AMD Official Use Only - AMD Internal Distribution Only]
Ping ?
-----Original Message-----
From: Sunil Khatri <[email protected]>
Sent: Thursday, April 17, 2025 3:55 PM
To: [email protected]; [email protected]
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Tvrtko Ursulin <[email protected]>; Pelloux-Prayer, Pierre-Eric <[email protected]>; Khatri, Sunil <[email protected]>
Subject: [PATCH v2] 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 scheduler * * Finish the job's fence and wake up the worker thread. */
--
2.34.1
Adding Danilo and Philipp.
Christian.
Quoted 35 lines · Sunil
[AMD Official Use Only - AMD Internal Distribution Only]
Ping ?
-----Original Message-----
From: Sunil Khatri <[email protected]>
Sent: Thursday, April 17, 2025 3:55 PM
To: [email protected]; [email protected]
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Tvrtko Ursulin <[email protected]>; Pelloux-Prayer, Pierre-Eric <[email protected]>; Khatri, Sunil <[email protected]>
Subject: [PATCH v2] drm/sched: fix the warning indrm_sched_job_doneFix 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 +1
-1@@ -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 scheduler * * Finish the job's fence and wake up the worker thread. */ --2.34.1
[AMD Official Use Only - AMD Internal Distribution Only]
Ping ?
Not picked yet while patches raised before this are merged.
Regards
Sunil Khatri
-----Original Message-----
From: Koenig, Christian <[email protected]>
Sent: Tuesday, April 29, 2025 12:49 PM
To: Khatri, Sunil <[email protected]>; [email protected]; Danilo Krummrich <[email protected]>; Philipp Stanner <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Tvrtko Ursulin <[email protected]>; Pelloux-Prayer, Pierre-Eric <[email protected]>
Subject: Re: [PATCH v2] drm/sched: fix the warning in drm_sched_job_done
Adding Danilo and Philipp.
Christian.
Quoted 35 lines · Sunil
[AMD Official Use Only - AMD Internal Distribution Only]
Ping ?
-----Original Message-----
From: Sunil Khatri <[email protected]>
Sent: Thursday, April 17, 2025 3:55 PM
To: [email protected]; [email protected]
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Tvrtko Ursulin <[email protected]>; Pelloux-Prayer, Pierre-Eric <[email protected]>; Khatri, Sunil <[email protected]>
Subject: [PATCH v2] drm/sched: fix the warning indrm_sched_job_doneFix 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 +1
-1@@ -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 scheduler * * Finish the job's fence and wake up the worker thread. */ --2.34.1
Quoted 3 lines · Sunil
[AMD Official Use Only - AMD Internal Distribution Only]
Ping ?
Hello,
sry, I was out for a few days.
Quoted 6 lines
Not picked yet while patches raised before this are merged.
Regards
Sunil Khatri
Quoted 11 lines
-----Original Message-----
From: Koenig, Christian <[email protected]>
Sent: Tuesday, April 29, 2025 12:49 PM
To: Khatri, Sunil <[email protected]>; [email protected]; Danilo Krummrich <[email protected]>; Philipp Stanner <[email protected]>
Cc: Deucher, Alexander <[email protected]>; Tvrtko Ursulin <[email protected]>; Pelloux-Prayer, Pierre-Eric <[email protected]>
Subject: Re: [PATCH v2] drm/sched: fix the warning indrm_sched_job_done
Call it "docu warning" please
Quoted 32 lines
Adding Danilo and Philipp.
Christian.
Quoted 26 lines · Sunil
[AMD Official Use Only - AMD Internal Distribution Only]
Ping ?
-----Original Message-----
From: Sunil Khatri <[email protected]>
Sent: Thursday, April 17, 2025 3:55 PM
To: [email protected]; [email protected]
Cc: Deucher, Alexander <[email protected]>; Koenig, Christian <[email protected]>; Tvrtko Ursulin <[email protected]>; Pelloux-Prayer, Pierre-Eric <[email protected]>; Khatri, Sunil <[email protected]>
Subject: [PATCH v2] drm/sched: fix the warning indrm_sched_job_doneFix 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 11 lines
drivers/gpu/drm/scheduler/sched_main.c static void drm_sched_run_free_queue(struct · line 394
Quoted 11 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 scheduler
s/dma fence/dma_fence
Besides, all good of course. Thank you.
P.
Quoted 7 lines
Quoted 6 lines
drivers/gpu/drm/scheduler/sched_main.c +0
-0* * Finish the job's fence and wake up the worker thread.*/
--
2.34.1