[Intel-gfx] [PATCH v2] drm/i915: Fix pipe off timeout handling for pre-gen4

Chris Wilson chris at chris-wilson.co.uk
Fri Oct 11 13:43:54 CEST 2013

On Fri, Oct 11, 2013 at 02:21:31PM +0300, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
> 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ä <ville.syrjala at linux.intel.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

Chris Wilson, Intel Open Source Technology Centre

More information about the Intel-gfx mailing list