mirror of
https://github.com/X11Libre/xf86-video-amdgpu.git
synced 2026-03-24 01:24:31 +00:00
2d18b37159edc526c73a36143fe9b5d6b75e610a
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>
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
Languages
C
94.7%
M4
2.8%
Makefile
1.6%
Perl
0.8%