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

2023-09-28 Thread Boris Brezillon
On Thu, 28 Sep 2023 10:44:47 -0400 Luben Tuikov wrote: > >> > >> What we can do is the follow: > >> 1. The scheduler has some initial credits it can use to push jobs. > >> 2. Each scheduler fence (and *not* the job) has a credits field of how > >> much it will use. > > > > When are the credit

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

2023-09-28 Thread Luben Tuikov
On 2023-09-28 04:02, Boris Brezillon wrote: > On Wed, 27 Sep 2023 13:54:38 +0200 > Christian König wrote: > >> Am 26.09.23 um 09:11 schrieb Boris Brezillon: >>> On Mon, 25 Sep 2023 19:55:21 +0200 >>> Christian König wrote: >>> Am 25.09.23 um 14:55 schrieb Boris Brezillon: > +The ima

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

2023-09-28 Thread Boris Brezillon
On Wed, 27 Sep 2023 13:54:38 +0200 Christian König wrote: > Am 26.09.23 um 09:11 schrieb Boris Brezillon: > > On Mon, 25 Sep 2023 19:55:21 +0200 > > Christian König wrote: > > > >> Am 25.09.23 um 14:55 schrieb Boris Brezillon: > >>> +The imagination team, who's probably interested too. > >>>

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

2023-09-27 Thread Danilo Krummrich
On 9/27/23 14:15, Christian König wrote: Am 27.09.23 um 14:11 schrieb Danilo Krummrich: On 9/27/23 13:54, Christian König wrote: Am 26.09.23 um 09:11 schrieb Boris Brezillon: On Mon, 25 Sep 2023 19:55:21 +0200 Christian König wrote: Am 25.09.23 um 14:55 schrieb Boris Brezillon: +The imagin

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

2023-09-27 Thread Luben Tuikov
On 2023-09-27 08:15, Christian König wrote: > Am 27.09.23 um 14:11 schrieb Danilo Krummrich: >> On 9/27/23 13:54, Christian König wrote: >>> Am 26.09.23 um 09:11 schrieb Boris Brezillon: On Mon, 25 Sep 2023 19:55:21 +0200 Christian König wrote: > Am 25.09.23 um 14:55 schrieb Bor

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

2023-09-27 Thread Christian König
Am 27.09.23 um 14:11 schrieb Danilo Krummrich: On 9/27/23 13:54, Christian König wrote: Am 26.09.23 um 09:11 schrieb Boris Brezillon: On Mon, 25 Sep 2023 19:55:21 +0200 Christian König wrote: Am 25.09.23 um 14:55 schrieb Boris Brezillon: +The imagination team, who's probably interested too.

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

2023-09-27 Thread Danilo Krummrich
On 9/27/23 13:54, Christian König wrote: Am 26.09.23 um 09:11 schrieb Boris Brezillon: On Mon, 25 Sep 2023 19:55:21 +0200 Christian König wrote: Am 25.09.23 um 14:55 schrieb Boris Brezillon: +The imagination team, who's probably interested too. On Mon, 25 Sep 2023 00:43:06 +0200 Danilo Krum

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

2023-09-27 Thread Christian König
Am 26.09.23 um 09:11 schrieb Boris Brezillon: On Mon, 25 Sep 2023 19:55:21 +0200 Christian König wrote: Am 25.09.23 um 14:55 schrieb Boris Brezillon: +The imagination team, who's probably interested too. On Mon, 25 Sep 2023 00:43:06 +0200 Danilo Krummrich wrote: Currently, job flow cont

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

2023-09-27 Thread Boris Brezillon
On Wed, 27 Sep 2023 13:45:37 +0200 Danilo Krummrich wrote: > On 9/27/23 09:25, Boris Brezillon wrote: > > On Wed, 27 Sep 2023 02:13:59 +0200 > > Danilo Krummrich wrote: > > > >> On 9/26/23 22:43, Luben Tuikov wrote: > >>> Hi, > >>> > >>> On 2023-09-24 18:43, Danilo Krummrich wrote: >

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

2023-09-27 Thread Danilo Krummrich
On 9/27/23 09:25, Boris Brezillon wrote: On Wed, 27 Sep 2023 02:13:59 +0200 Danilo Krummrich wrote: On 9/26/23 22:43, Luben Tuikov wrote: Hi, On 2023-09-24 18:43, Danilo Krummrich wrote: Currently, job flow control is implemented simply by limiting the amount of jobs in flight. Therefore, a

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

2023-09-27 Thread Boris Brezillon
On Wed, 27 Sep 2023 02:13:59 +0200 Danilo Krummrich wrote: > On 9/26/23 22:43, Luben Tuikov wrote: > > Hi, > > > > On 2023-09-24 18:43, Danilo Krummrich wrote: > >> Currently, job flow control is implemented simply by limiting the amount > >> of jobs in flight. Therefore, a scheduler is initia

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

2023-09-26 Thread Luben Tuikov
Hi, On 2023-09-26 20:13, Danilo Krummrich wrote: > On 9/26/23 22:43, Luben Tuikov wrote: >> Hi, >> >> On 2023-09-24 18:43, Danilo Krummrich wrote: >>> Currently, job flow control is implemented simply by limiting the amount >>> of jobs in flight. Therefore, a scheduler is initialized with a >>> su

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

2023-09-26 Thread Danilo Krummrich
Hi, On 9/27/23 01:48, Luben Tuikov wrote: Hi, Please also CC me to the whole set, as opposed to just one patch of the set. And so in the future. There is no series. I created a series in the first place, but finally decided to send this one and a few driver patches separately. However, I jus

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

2023-09-26 Thread Danilo Krummrich
On 9/26/23 22:43, Luben Tuikov wrote: Hi, On 2023-09-24 18:43, Danilo Krummrich wrote: Currently, job flow control is implemented simply by limiting the amount of jobs in flight. Therefore, a scheduler is initialized with a submission limit that corresponds to a certain amount of jobs. "certa

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

2023-09-26 Thread Luben Tuikov
Hi, Please also CC me to the whole set, as opposed to just one patch of the set. And so in the future. Thanks! -- Regards, Luben On 2023-09-26 16:43, Luben Tuikov wrote: > Hi, > > On 2023-09-24 18:43, Danilo Krummrich wrote: >> Currently, job flow control is implemented simply by limiting the

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

2023-09-26 Thread Luben Tuikov
Hi, On 2023-09-24 18:43, Danilo Krummrich wrote: > Currently, job flow control is implemented simply by limiting the amount > of jobs in flight. Therefore, a scheduler is initialized with a > submission limit that corresponds to a certain amount of jobs. "certain"? How about this instead: " ... t

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

2023-09-26 Thread Boris Brezillon
On Mon, 25 Sep 2023 19:55:21 +0200 Christian König wrote: > Am 25.09.23 um 14:55 schrieb Boris Brezillon: > > +The imagination team, who's probably interested too. > > > > On Mon, 25 Sep 2023 00:43:06 +0200 > > Danilo Krummrich wrote: > > > >> Currently, job flow control is implemented simply

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

2023-09-25 Thread Christian König
Am 25.09.23 um 14:55 schrieb Boris Brezillon: +The imagination team, who's probably interested too. On Mon, 25 Sep 2023 00:43:06 +0200 Danilo Krummrich wrote: Currently, job flow control is implemented simply by limiting the amount of jobs in flight. Therefore, a scheduler is initialized w

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

2023-09-25 Thread Boris Brezillon
+The imagination team, who's probably interested too. On Mon, 25 Sep 2023 00:43:06 +0200 Danilo Krummrich wrote: > Currently, job flow control is implemented simply by limiting the amount > of jobs in flight. Therefore, a scheduler is initialized with a > submission limit that corresponds to a c

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

2023-09-24 Thread Danilo Krummrich
Currently, job flow control is implemented simply by limiting the amount of jobs in flight. Therefore, a scheduler is initialized with a submission limit that corresponds to a certain amount of jobs. This implies that for each job drivers need to account for the maximum job size possible in order