Re: [Intel-gfx] [PATCH 2/4] drm/i915/lpt: Avoid early timeout during FDI PHY reset

2016-06-28 Thread Tvrtko Ursulin
On 28/06/16 11:37, Imre Deak wrote: Since wait_for_atomic doesn't re-check the wait-for condition after expiry of the timeout it can fail when called from non-atomic context even if the condition is set correctly before the expiry. Fix this by using the non-atomic wait_for instead. Fixes: 0351b

Re: [Intel-gfx] [PATCH 2/4] drm/i915/lpt: Avoid early timeout during FDI PHY reset

2016-06-28 Thread Imre Deak
On ti, 2016-06-28 at 11:50 +0100, Chris Wilson wrote: > On Tue, Jun 28, 2016 at 01:37:31PM +0300, Imre Deak wrote: > > Since wait_for_atomic doesn't re-check the wait-for condition after > > expiry of the timeout it can fail when called from non-atomic > > context > > even if the condition is set c

Re: [Intel-gfx] [PATCH 2/4] drm/i915/lpt: Avoid early timeout during FDI PHY reset

2016-06-28 Thread Chris Wilson
On Tue, Jun 28, 2016 at 01:37:31PM +0300, Imre Deak wrote: > Since wait_for_atomic doesn't re-check the wait-for condition after > expiry of the timeout it can fail when called from non-atomic context > even if the condition is set correctly before the expiry. Fix this by > using the non-atomic wai

[Intel-gfx] [PATCH 2/4] drm/i915/lpt: Avoid early timeout during FDI PHY reset

2016-06-28 Thread Imre Deak
Since wait_for_atomic doesn't re-check the wait-for condition after expiry of the timeout it can fail when called from non-atomic context even if the condition is set correctly before the expiry. Fix this by using the non-atomic wait_for instead. Fixes: 0351b93992aa ("drm/i915: Do not lie about at