Skip to content
Commit ca6a57d5 authored by Chris Wilson's avatar Chris Wilson
Browse files

sna: Skip shadow redisplay if flips still pending



We shouldn't even be attempting to redisplay if there are flips pending,
so exit early and expect to be called again after the pending flips
complete. Exiting early avoids having to call sna_mode_wakeup() in what
used to be a potentially recursive manner (see commit af36a4ab
"sna: Defer submission of the next shadow frame until halfway through").

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 0a8a8529
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment