From: Ville Syrjälä Date: Fri, 11 Oct 2013 11:21:31 +0000 (+0300) Subject: drm/i915: Fix pipe off timeout handling for pre-gen4 X-Git-Tag: v3.13-rc1~76^2~68^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbf49ea21bd4f2ed88d678f7fc8b34a7dd0a7460;p=pandora-kernel.git drm/i915: Fix pipe off timeout handling for pre-gen4 The current pre-gen4 pipe off code might break out of the loop due to the timeout, but then the fail to print the warning. Refactor the code a bit to use wait_for() to avoid the problem, and that we also re-check the condition after the timeout has expired. v2: Use wait_for() Signed-off-by: Ville Syrjälä Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed