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@xxxxxxxxxxxxxxx wrote: > > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > > > 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@xxxxxxxxxxxxxxx> > Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx