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

Daniel Vetter daniel at ffwll.ch
Fri Oct 11 23:22:50 CEST 2013


On Fri, Oct 11, 2013 at 12:43:54PM +0100, Chris Wilson wrote:
> 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>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list