Nicholas Kazlauskas 2d18b37159 Check last flip window instead of screen root before flipping
A significant amount of time can pass between the X call into
check_flip for a window and when amdgpu_present_flip actually occurs.
To ensure that flipping is still possible there was an additional check
performed on screen->root in amdgpu_present_flip - but what should
be checked instead is the window itself. This only really worked before
because X ensures that the window has the same dimensions as the screen
to allow for present extension flipping.

This patch tracks the flip window between calls to check_flip and flip
and uses that window instead of screen->root.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
2018-11-30 15:40:34 +00:00
2018-08-24 17:17:43 +02:00
2016-07-12 16:03:51 +09:00
2018-08-24 17:17:43 +02:00
2018-10-02 18:01:14 +02:00
2017-07-27 15:13:36 +09:00
2018-09-20 18:50:01 +02:00
2018-11-14 09:58:46 +01:00
2018-09-20 18:53:05 +02:00

xf86-video-amdgpu - Xorg driver for AMD Radeon GPUs using the amdgpu kernel driver

Questions regarding this software should be directed at the amd-gfx mailing list.

Please submit bug reports to the Xorg bugzilla.

The master development code repository can be found at FreeDesktop Gitlab.

Please use merge requests for patch submission.

See the X.org wiki for further patch submission instructions and more information on the git code manager.

Description
No description provided
Readme 2.9 MiB
Languages
C 94.7%
M4 2.8%
Makefile 1.6%
Perl 0.8%