Re: [Intel-gfx] [PATCH 09/17] drm/i915: Wait until the intel_wakeref idle callback is complete

2019-11-19 Thread Chris Wilson
Quoting Mika Kuoppala (2019-11-19 16:12:18) > Chris Wilson writes: > > > When waiting for idle, serialise with any ongoing callback so that it > > will have completed before completing the wait. > > Might be come apparent and evident when reading the patch > that introduce the

Re: [Intel-gfx] [PATCH 09/17] drm/i915: Wait until the intel_wakeref idle callback is complete

2019-11-19 Thread Mika Kuoppala
Chris Wilson writes: > When waiting for idle, serialise with any ongoing callback so that it > will have completed before completing the wait. Might be come apparent and evident when reading the patch that introduce the intel_wakeref_unlock_wait(), but reader is yearning for a why part. The

[Intel-gfx] [PATCH 09/17] drm/i915: Wait until the intel_wakeref idle callback is complete

2019-11-19 Thread Chris Wilson
When waiting for idle, serialise with any ongoing callback so that it will have completed before completing the wait. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/intel_wakeref.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git