Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-11-07 Thread Danilo Krummrich
On Tue, Nov 07, 2023 at 10:13:37AM +0100, Christian König wrote: > Am 06.11.23 um 17:46 schrieb Danilo Krummrich: > > On Fri, Nov 03, 2023 at 09:15:25AM +0100, Christian König wrote: > > > Am 02.11.23 um 19:03 schrieb Danilo Krummrich: > > > > On Thu, Nov 02, 2023 at 11:07:32AM +0100, Christian

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-11-07 Thread Christian König
Am 06.11.23 um 17:46 schrieb Danilo Krummrich: On Fri, Nov 03, 2023 at 09:15:25AM +0100, Christian König wrote: Am 02.11.23 um 19:03 schrieb Danilo Krummrich: > On Thu, Nov 02, 2023 at 11:07:32AM +0100, Christian König wrote: > > Hi Danilo, > > > > Am 31.10.23 um 16:01 schrieb Danilo Krummrich:

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-11-06 Thread Danilo Krummrich
On Fri, Nov 03, 2023 at 09:15:25AM +0100, Christian König wrote: Am 02.11.23 um 19:03 schrieb Danilo Krummrich: > On Thu, Nov 02, 2023 at 11:07:32AM +0100, Christian König wrote: > > Hi Danilo, > > > > Am 31.10.23 um 16:01 schrieb Danilo Krummrich: > > > On Tue, Oct 31, 2023 at 02:20:50PM

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-31 Thread Danilo Krummrich
On Tue, Oct 31, 2023 at 02:20:50PM +0100, Christian König wrote: > Hi Danilo, > > sorry for splitting up the mail thread. I had to fetch this mail from my > spam folder for some reason. > > Am 30.10.23 um 18:56 schrieb Danilo Krummrich: > > Hi Christian, > > > > [SNIP] > > > > And yes, we can

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-31 Thread Christian König
Hi Danilo, sorry for splitting up the mail thread. I had to fetch this mail from my spam folder for some reason. Am 30.10.23 um 18:56 schrieb Danilo Krummrich: Hi Christian, [SNIP] And yes, we can live with the overhead of making jobs slightly bigger than they actually are, thus

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-30 Thread Danilo Krummrich
Hi Christian, On Mon, Oct 30, 2023 at 08:38:45AM +0100, Christian König wrote: > Hi Boris, > > Am 27.10.23 um 12:17 schrieb Boris Brezillon: > > Hi Christian, > > > > On Fri, 27 Oct 2023 11:06:44 +0200 > > Christian König wrote: > > > > > Am 27.10.23 um 10:22 schrieb Boris Brezillon: > > > >

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-30 Thread Christian König
Hi Boris, Am 27.10.23 um 12:17 schrieb Boris Brezillon: Hi Christian, On Fri, 27 Oct 2023 11:06:44 +0200 Christian König wrote: Am 27.10.23 um 10:22 schrieb Boris Brezillon: On Fri, 27 Oct 2023 09:44:13 +0200 Christian König wrote: Am 27.10.23 um 09:39 schrieb Boris Brezillon: On

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Luben Tuikov
On 2023-10-27 12:41, Boris Brezillon wrote: > On Fri, 27 Oct 2023 10:32:52 -0400 > Luben Tuikov wrote: > >> On 2023-10-27 04:25, Boris Brezillon wrote: >>> Hi Danilo, >>> >>> On Thu, 26 Oct 2023 18:13:00 +0200 >>> Danilo Krummrich wrote: >>> Currently, job flow control is implemented

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Luben Tuikov
On 2023-10-27 12:31, Boris Brezillon wrote: > On Fri, 27 Oct 2023 16:23:24 +0200 > Danilo Krummrich wrote: > >> On 10/27/23 10:25, Boris Brezillon wrote: >>> Hi Danilo, >>> >>> On Thu, 26 Oct 2023 18:13:00 +0200 >>> Danilo Krummrich wrote: >>> Currently, job flow control is implemented

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Luben Tuikov
Hi, On 2023-10-27 12:26, Boris Brezillon wrote: > On Fri, 27 Oct 2023 16:34:26 +0200 > Danilo Krummrich wrote: > >> On 10/27/23 09:17, Boris Brezillon wrote: >>> Hi Danilo, >>> >>> On Thu, 26 Oct 2023 18:13:00 +0200 >>> Danilo Krummrich wrote: >>> + + /** + *

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Boris Brezillon
On Fri, 27 Oct 2023 10:32:52 -0400 Luben Tuikov wrote: > On 2023-10-27 04:25, Boris Brezillon wrote: > > Hi Danilo, > > > > On Thu, 26 Oct 2023 18:13:00 +0200 > > Danilo Krummrich wrote: > > > >> Currently, job flow control is implemented simply by limiting the number > >> of jobs in

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Boris Brezillon
On Fri, 27 Oct 2023 16:23:24 +0200 Danilo Krummrich wrote: > On 10/27/23 10:25, Boris Brezillon wrote: > > Hi Danilo, > > > > On Thu, 26 Oct 2023 18:13:00 +0200 > > Danilo Krummrich wrote: > > > >> Currently, job flow control is implemented simply by limiting the number > >> of jobs in

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Boris Brezillon
On Fri, 27 Oct 2023 16:34:26 +0200 Danilo Krummrich wrote: > On 10/27/23 09:17, Boris Brezillon wrote: > > Hi Danilo, > > > > On Thu, 26 Oct 2023 18:13:00 +0200 > > Danilo Krummrich wrote: > > > >> + > >> + /** > >> + * @update_job_credits: Called once the scheduler is considering this >

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Danilo Krummrich
On 10/27/23 16:59, Luben Tuikov wrote: Hi Danilo, On 2023-10-27 10:45, Danilo Krummrich wrote: Hi Luben, On 10/26/23 23:13, Luben Tuikov wrote: On 2023-10-26 12:13, Danilo Krummrich wrote: Currently, job flow control is implemented simply by limiting the number of jobs in flight. Therefore,

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Luben Tuikov
Hi Danilo, On 2023-10-27 10:45, Danilo Krummrich wrote: > Hi Luben, > > On 10/26/23 23:13, Luben Tuikov wrote: >> On 2023-10-26 12:13, Danilo Krummrich wrote: >>> Currently, job flow control is implemented simply by limiting the number >>> of jobs in flight. Therefore, a scheduler is initialized

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Danilo Krummrich
On 10/27/23 03:03, Luben Tuikov wrote: On 2023-10-26 17:13, Luben Tuikov wrote: On 2023-10-26 12:13, Danilo Krummrich wrote: Currently, job flow control is implemented simply by limiting the number of jobs in flight. Therefore, a scheduler is initialized with a credit limit that corresponds to

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Danilo Krummrich
Hi Luben, On 10/26/23 23:13, Luben Tuikov wrote: On 2023-10-26 12:13, Danilo Krummrich wrote: Currently, job flow control is implemented simply by limiting the number of jobs in flight. Therefore, a scheduler is initialized with a credit limit that corresponds to the number of jobs which can

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Danilo Krummrich
On 10/27/23 09:17, Boris Brezillon wrote: Hi Danilo, On Thu, 26 Oct 2023 18:13:00 +0200 Danilo Krummrich wrote: + + /** +* @update_job_credits: Called once the scheduler is considering this +* job for execution. +* +* Drivers may use this to update the

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Luben Tuikov
On 2023-10-27 04:25, Boris Brezillon wrote: > Hi Danilo, > > On Thu, 26 Oct 2023 18:13:00 +0200 > Danilo Krummrich wrote: > >> Currently, job flow control is implemented simply by limiting the number >> of jobs in flight. Therefore, a scheduler is initialized with a credit >> limit that

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Danilo Krummrich
On 10/27/23 10:25, Boris Brezillon wrote: Hi Danilo, On Thu, 26 Oct 2023 18:13:00 +0200 Danilo Krummrich wrote: Currently, job flow control is implemented simply by limiting the number of jobs in flight. Therefore, a scheduler is initialized with a credit limit that corresponds to the number

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Boris Brezillon
Hi Christian, On Fri, 27 Oct 2023 11:06:44 +0200 Christian König wrote: > Am 27.10.23 um 10:22 schrieb Boris Brezillon: > > On Fri, 27 Oct 2023 09:44:13 +0200 > > Christian König wrote: > > > >> Am 27.10.23 um 09:39 schrieb Boris Brezillon: > >>> On Fri, 27 Oct 2023 09:35:01 +0200 > >>>

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Christian König
Am 27.10.23 um 10:22 schrieb Boris Brezillon: On Fri, 27 Oct 2023 09:44:13 +0200 Christian König wrote: Am 27.10.23 um 09:39 schrieb Boris Brezillon: On Fri, 27 Oct 2023 09:35:01 +0200 Christian König wrote: Am 27.10.23 um 09:32 schrieb Boris Brezillon: On Fri, 27 Oct 2023 09:22:12

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Boris Brezillon
Hi Danilo, On Thu, 26 Oct 2023 18:13:00 +0200 Danilo Krummrich wrote: > Currently, job flow control is implemented simply by limiting the number > of jobs in flight. Therefore, a scheduler is initialized with a credit > limit that corresponds to the number of jobs which can be sent to the >

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Boris Brezillon
On Fri, 27 Oct 2023 09:44:13 +0200 Christian König wrote: > Am 27.10.23 um 09:39 schrieb Boris Brezillon: > > On Fri, 27 Oct 2023 09:35:01 +0200 > > Christian König wrote: > > > >> Am 27.10.23 um 09:32 schrieb Boris Brezillon: > >>> On Fri, 27 Oct 2023 09:22:12 +0200 > >>> Christian König

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Christian König
Am 27.10.23 um 09:39 schrieb Boris Brezillon: On Fri, 27 Oct 2023 09:35:01 +0200 Christian König wrote: Am 27.10.23 um 09:32 schrieb Boris Brezillon: On Fri, 27 Oct 2023 09:22:12 +0200 Christian König wrote: + + /** +* @update_job_credits: Called once the scheduler is

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Boris Brezillon
On Fri, 27 Oct 2023 09:35:01 +0200 Christian König wrote: > Am 27.10.23 um 09:32 schrieb Boris Brezillon: > > On Fri, 27 Oct 2023 09:22:12 +0200 > > Christian König wrote: > > > >>> + > >>> + /** > >>> + * @update_job_credits: Called once the scheduler is considering this > >>> + * job for

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Christian König
Am 27.10.23 um 09:32 schrieb Boris Brezillon: On Fri, 27 Oct 2023 09:22:12 +0200 Christian König wrote: + + /** +* @update_job_credits: Called once the scheduler is considering this +* job for execution. +* +* Drivers may use this to update the job's

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Boris Brezillon
On Fri, 27 Oct 2023 09:22:12 +0200 Christian König wrote: > > + > > + /** > > +* @update_job_credits: Called once the scheduler is considering this > > +* job for execution. > > +* > > +* Drivers may use this to update the job's submission credits, which is > > +* useful to

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Christian König
Am 26.10.23 um 18:13 schrieb Danilo Krummrich: Currently, job flow control is implemented simply by limiting the number of jobs in flight. Therefore, a scheduler is initialized with a credit limit that corresponds to the number of jobs which can be sent to the hardware. This implies that for

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-27 Thread Boris Brezillon
Hi Danilo, On Thu, 26 Oct 2023 18:13:00 +0200 Danilo Krummrich wrote: > + > + /** > + * @update_job_credits: Called once the scheduler is considering this > + * job for execution. > + * > + * Drivers may use this to update the job's submission credits, which is > +

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-26 Thread Luben Tuikov
On 2023-10-26 17:13, Luben Tuikov wrote: > On 2023-10-26 12:13, Danilo Krummrich wrote: >> Currently, job flow control is implemented simply by limiting the number >> of jobs in flight. Therefore, a scheduler is initialized with a credit >> limit that corresponds to the number of jobs which can be

Re: [PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-26 Thread Luben Tuikov
On 2023-10-26 12:13, Danilo Krummrich wrote: > Currently, job flow control is implemented simply by limiting the number > of jobs in flight. Therefore, a scheduler is initialized with a credit > limit that corresponds to the number of jobs which can be sent to the > hardware. > > This implies

[PATCH drm-misc-next v3] drm/sched: implement dynamic job-flow control

2023-10-26 Thread Danilo Krummrich
Currently, job flow control is implemented simply by limiting the number of jobs in flight. Therefore, a scheduler is initialized with a credit limit that corresponds to the number of jobs which can be sent to the hardware. This implies that for each job, drivers need to account for the maximum