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

2022-08-15 Thread Teres Alexis, Alan Previn
Shall fix all of the cosmetics and repost. WRT the magic number 34 milisecs: It was to have a "1 milisec buffer over a 33-fps" type workload which was how the issue was found in the first place (it was a workload that had hundreds of these 33-fps contexts running and thats why the impact was

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

2022-08-15 Thread John Harrison
On 8/15/2022 09:01, Alan Previn wrote: From: Matthew Brost Add a delay, configurable via debugs (default 34ms), to disable debugs -> debugfs scheduling of a context after the pin count goes to zero. Disable scheduling is a somewhat costly operation so the idea is that a delay costly

[Intel-gfx] [Intel-gfx 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 debugs (default 34ms), to disable scheduling of a context after the pin count goes to zero. Disable scheduling is a somewhat costly operation so the idea is that a delay allows the user to resubmit something before doing this operation. This

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

2022-08-14 Thread Alan Previn
From: Matthew Brost Add a delay, configurable via debugs (default 34ms), to disable scheduling of a context after the pin count goes to zero. Disable scheduling is a somewhat costly operation so the idea is that a delay allows the user to resubmit something before doing this operation. This

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

2022-07-28 Thread John Harrison
On 6/27/2022 22:51, Alan Previn wrote: From: Matthew Brost Add a delay, configurable via debugs (default 100ms), to disable debugs -> debugfs Default is now 34ms? scheduling of a context after the pin count goes to zero. Disable scheduling is somewhat costly operation so the idea is a

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

2022-06-27 Thread Alan Previn
From: 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