From: Michel Dänzer <michel.daenzer@xxxxxxx> Not doing so might result in intermittently scanning out stale contents of the screen pixmap. (Ported from radeon commit 9a951a3e551db58ba50e7a594521ceac54d90615) Signed-off-by: Michel Dänzer <michel.daenzer at amd.com> --- src/amdgpu_present.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/amdgpu_present.c b/src/amdgpu_present.c index cf6e36b2f..4048f9844 100644 --- a/src/amdgpu_present.c +++ b/src/amdgpu_present.c @@ -366,6 +366,7 @@ amdgpu_present_unflip(ScreenPtr screen, uint64_t event_id) event->event_id = event_id; event->unflip = TRUE; + amdgpu_glamor_flush(scrn); if (amdgpu_do_pageflip(scrn, AMDGPU_DRM_QUEUE_CLIENT_DEFAULT, pixmap, event_id, event, -1, amdgpu_present_flip_event, amdgpu_present_flip_abort, FLIP_VSYNC, 0)) -- 2.11.0