Re: [Intel-gfx] [RFC PATCH 55/97] drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC

2021-05-27 Thread Matthew Brost
On Thu, May 27, 2021 at 10:02:55AM +0100, Tvrtko Ursulin wrote: > > On 26/05/2021 19:18, Matthew Brost wrote: > > On Wed, May 26, 2021 at 10:21:05AM +0100, Tvrtko Ursulin wrote: > > > > > > On 25/05/2021 18:07, Matthew Brost wrote: > > > > On Tue, May 25, 2021 at 11:06:00AM +0100, Tvrtko Ursulin

Re: [Intel-gfx] [RFC PATCH 55/97] drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC

2021-05-27 Thread Tvrtko Ursulin
On 26/05/2021 19:18, Matthew Brost wrote: On Wed, May 26, 2021 at 10:21:05AM +0100, Tvrtko Ursulin wrote: On 25/05/2021 18:07, Matthew Brost wrote: On Tue, May 25, 2021 at 11:06:00AM +0100, Tvrtko Ursulin wrote: On 06/05/2021 20:14, Matthew Brost wrote: When running the GuC the GPU can't

Re: [Intel-gfx] [RFC PATCH 55/97] drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC

2021-05-26 Thread Matthew Brost
On Wed, May 26, 2021 at 10:21:05AM +0100, Tvrtko Ursulin wrote: > > On 25/05/2021 18:07, Matthew Brost wrote: > > On Tue, May 25, 2021 at 11:06:00AM +0100, Tvrtko Ursulin wrote: > > > > > > On 06/05/2021 20:14, Matthew Brost wrote: > > > > When running the GuC the GPU can't be considered idle if

Re: [Intel-gfx] [RFC PATCH 55/97] drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC

2021-05-26 Thread Tvrtko Ursulin
On 25/05/2021 18:07, Matthew Brost wrote: On Tue, May 25, 2021 at 11:06:00AM +0100, Tvrtko Ursulin wrote: On 06/05/2021 20:14, Matthew Brost wrote: When running the GuC the GPU can't be considered idle if the GuC still has contexts pinned. As such, a call has been added in

Re: [Intel-gfx] [RFC PATCH 55/97] drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC

2021-05-25 Thread Matthew Brost
On Tue, May 25, 2021 at 11:06:00AM +0100, Tvrtko Ursulin wrote: > > On 06/05/2021 20:14, Matthew Brost wrote: > > When running the GuC the GPU can't be considered idle if the GuC still > > has contexts pinned. As such, a call has been added in > > intel_gt_wait_for_idle to idle the UC and in turn

Re: [Intel-gfx] [RFC PATCH 55/97] drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC

2021-05-25 Thread Tvrtko Ursulin
On 06/05/2021 20:14, Matthew Brost wrote: When running the GuC the GPU can't be considered idle if the GuC still has contexts pinned. As such, a call has been added in intel_gt_wait_for_idle to idle the UC and in turn the GuC by waiting for the number of unpinned contexts to go to zero. Cc:

[Intel-gfx] [RFC PATCH 55/97] drm/i915/guc: Update intel_gt_wait_for_idle to work with GuC

2021-05-06 Thread Matthew Brost
When running the GuC the GPU can't be considered idle if the GuC still has contexts pinned. As such, a call has been added in intel_gt_wait_for_idle to idle the UC and in turn the GuC by waiting for the number of unpinned contexts to go to zero. Cc: John Harrison Signed-off-by: Matthew Brost