Re: [PATCH 6/6] drm/sched: Make use of a "done" thread

2020-11-25 Thread Luben Tuikov
On 2020-11-25 06:09, Steven Price wrote: > On 25/11/2020 03:17, Luben Tuikov wrote: >> Add a "done" list to which all completed jobs are added >> to be freed. The drm_sched_job_done() callback is the >> producer of jobs to this list. >> >> Add a "done" thread which consumes from the done list >> an

Re: [PATCH 6/6] drm/sched: Make use of a "done" thread

2020-11-25 Thread Luben Tuikov
On 2020-11-25 05:10, Christian König wrote: > Am 25.11.20 um 04:17 schrieb Luben Tuikov: >> Add a "done" list to which all completed jobs are added >> to be freed. The drm_sched_job_done() callback is the >> producer of jobs to this list. >> >> Add a "done" thread which consumes from the done list

Re: [PATCH 6/6] drm/sched: Make use of a "done" thread

2020-11-25 Thread Steven Price
On 25/11/2020 03:17, Luben Tuikov wrote: Add a "done" list to which all completed jobs are added to be freed. The drm_sched_job_done() callback is the producer of jobs to this list. Add a "done" thread which consumes from the done list and frees up jobs. Now, the main scheduler thread only pushe

Re: [PATCH 6/6] drm/sched: Make use of a "done" thread

2020-11-25 Thread Christian König
Am 25.11.20 um 04:17 schrieb Luben Tuikov: Add a "done" list to which all completed jobs are added to be freed. The drm_sched_job_done() callback is the producer of jobs to this list. Add a "done" thread which consumes from the done list and frees up jobs. Now, the main scheduler thread only pus

[PATCH 6/6] drm/sched: Make use of a "done" thread

2020-11-24 Thread Luben Tuikov
Add a "done" list to which all completed jobs are added to be freed. The drm_sched_job_done() callback is the producer of jobs to this list. Add a "done" thread which consumes from the done list and frees up jobs. Now, the main scheduler thread only pushes jobs to the GPU and the "done" thread fre