Re: [Intel-gfx] [PATCH 2/2] drm/i915/guc: Add delay to disable scheduling after pin count goes to zero

2022-08-18 Thread John Harrison
On 8/16/2022 19:05, Alan Previn wrote: From: Matthew Brost Add a delay, configurable via debugfs (default 34ms), to disable scheduling of a context after the pin count goes to zero. Disable scheduling is a costly operation as it requires synchronizing with the GuC. So the idea is that a delay

[Intel-gfx] [PATCH 2/2] drm/i915/guc: Add delay to disable scheduling after pin count goes to zero

2022-08-16 Thread Alan Previn
From: Matthew Brost Add a delay, configurable via debugfs (default 34ms), to disable scheduling of a context after the pin count goes to zero. Disable scheduling is a costly operation as it requires synchronizing with the GuC. So the idea is that a delay allows the user to resubmit something

Re: [Intel-gfx] [PATCH 2/2] drm/i915/guc: Add delay to disable scheduling after pin count goes to zero

2022-08-16 Thread John Harrison
On 8/16/2022 16:55, Teres Alexis, Alan Previn wrote: On Tue, 2022-08-16 at 15:45 -0700, Harrison, John C wrote: On 8/15/2022 19:17, Alan Previn wrote: From: Matthew Brost Add a delay, configurable via debugfs (default 34ms), to disable (default is 3/4) of the guc_ids. are in use. my bad -

Re: [Intel-gfx] [PATCH 2/2] drm/i915/guc: Add delay to disable scheduling after pin count goes to zero

2022-08-16 Thread Teres Alexis, Alan Previn
On Tue, 2022-08-16 at 15:45 -0700, Harrison, John C wrote: > On 8/15/2022 19:17, Alan Previn wrote: > > From: Matthew Brost > > > > Add a delay, configurable via debugfs (default 34ms), to disable > > (default is 3/4) of the guc_ids. > are in use. > my bad - got clipped - will fix. > > ---

Re: [Intel-gfx] [PATCH 2/2] drm/i915/guc: Add delay to disable scheduling after pin count goes to zero

2022-08-16 Thread John Harrison
On 8/15/2022 19:17, Alan Previn wrote: From: Matthew Brost Add a delay, configurable via debugfs (default 34ms), to disable scheduling of a context after the pin count goes to zero. Disable scheduling is a costly operation as it requires synchronizing with the GuC. So the idea is that a delay

[Intel-gfx] [PATCH 2/2] drm/i915/guc: Add delay to disable scheduling after pin count goes to zero

2022-08-15 Thread Alan Previn
From: Matthew Brost Add a delay, configurable via debugfs (default 34ms), to disable scheduling of a context after the pin count goes to zero. Disable scheduling is a costly operation as it requires synchronizing with the GuC. So the idea is that a delay allows the user to resubmit something

[Intel-gfx] [PATCH 2/2] drm/i915/guc: Add delay to disable scheduling after pin count goes to zero

2021-10-21 Thread Matthew Brost
Add a delay, configurable via debugs (default 100ms), to disable scheduling of a context after the pin count goes to zero. Disable scheduling is somewhat costly operation so the idea is a delay allows the resubmit something before doing this operation. This delay is only done if the context isn't