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

Martin Peres martin.peres at free.fr
Fri Mar 18 13:38:42 UTC 2016


On 25/02/16 11:53, Chris Wilson wrote:
> 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
>

Hey guys,

For some reason, this commit led to the intel ddx leaking a LOT of RAM 
(600MB/s) on my machine when booting a recent version of plasma5 (kde). 
It does not happen on the modesetting driver.

Still have a few things to address before being able to investigate (the 
other issue I already reported to Michel being one of them).

Martin


More information about the xorg-devel mailing list