mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-05 11:20:38 +02:00
present: Check the whole exec queue on event
Later events are sometimes added in front of the queue (e.g.
if page flipping fails) so we need to check the whole queue
on event.
Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
(cherry picked from commit c2f2b25ab5)
This commit is contained in:
parent
388dc1aeac
commit
12fe3d3e9f
1 changed files with 0 additions and 4 deletions
|
|
@ -543,8 +543,6 @@ present_event_notify(uint64_t event_id, uint64_t ust, uint64_t msc)
|
|||
present_execute(vblank, ust, msc);
|
||||
return;
|
||||
}
|
||||
if (match < 0)
|
||||
break;
|
||||
}
|
||||
xorg_list_for_each_entry(vblank, &present_flip_queue, event_queue) {
|
||||
if (vblank->event_id == event_id) {
|
||||
|
|
@ -1007,8 +1005,6 @@ present_abort_vblank(ScreenPtr screen, RRCrtcPtr crtc, uint64_t event_id, uint64
|
|||
vblank->queued = FALSE;
|
||||
return;
|
||||
}
|
||||
if (match < 0)
|
||||
break;
|
||||
}
|
||||
xorg_list_for_each_entry(vblank, &present_flip_queue, event_queue) {
|
||||
if (vblank->event_id == event_id) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue