Re: [Intel-gfx] [PATCH 4/4] drm/i915: Avoid early timeout during AUX transfers

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. Due to the r

[Intel-gfx] [PATCH 4/4] drm/i915: Avoid early timeout during AUX transfers

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. Due to the relatively long 10ms timeout, probably t