Re: [Intel-gfx] [PATCH 1/3] drm/i915: Repeat flush of idle work during suspend

2016-12-22 Thread Joonas Lahtinen
On to, 2016-12-22 at 12:00 +, Chris Wilson wrote: > The idle work handler is self-arming - if it detects that it needs to > run again it will queue itself from its work handler. Take greater care > when trying to drain the idle work, and double check that it is flushed. > > The free worker has

[Intel-gfx] [PATCH 1/3] drm/i915: Repeat flush of idle work during suspend

2016-12-22 Thread Chris Wilson
The idle work handler is self-arming - if it detects that it needs to run again it will queue itself from its work handler. Take greater care when trying to drain the idle work, and double check that it is flushed. The free worker has a similar issue where it is armed by an RCU task which may be r