sna/dri2: Immediately complete a stale swap if any are queued
If we don't control the vblank for the window, we cannot use the vblank signal as it ends up being queued as well. References: https://bugs.freedesktop.org/show_bug.cgi?id=91658 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
07eee812b2
commit
79fc9a923c
|
|
@ -3268,7 +3268,7 @@ skip:
|
|||
if (crtc) {
|
||||
if (!info)
|
||||
info = sna_dri2_add_event(sna, draw, client, crtc);
|
||||
if (!info)
|
||||
if (info != dri2_chain(draw))
|
||||
goto fake;
|
||||
|
||||
info->type = SWAP_WAIT;
|
||||
|
|
|
|||
Loading…
Reference in New Issue