[PATCH xserver 2/3] present: Requeue if flip driver hook fails and target MSC not reached

Chris Wilson chris at chris-wilson.co.uk
Thu Feb 25 09:53:01 UTC 2016


On Wed, Feb 24, 2016 at 04:52:58PM +0900, Michel Dänzer wrote:
> From: Michel Dänzer <michel.daenzer at amd.com>
> 
> For flipping, we wait for the MSC before the target MSC and then call
> the driver flip hook. If the latter fails, we have to wait for the
> target MSC before falling back to a copy, or else it's executed too
> early.
> 
> Fixes glxgears running at unbounded framerate (not synchronized to the
> refresh rate) in fullscreen if the driver flip hook fails.
> 
> Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the xorg-devel mailing list