Re: [Intel-gfx] [PATCH 3/4] drm/i915/hsw: Avoid early timeout during LCPLL disable/restore

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

[Intel-gfx] [PATCH 3/4] drm/i915/hsw: Avoid early timeout during LCPLL disable/restore

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