Michel Dänzer dcd3527299 Don't allow TearFree scanout flips to complete in the same vblank period
We were using a relative target of 0, meaning "complete the flip ASAP".
This could result in the flip sometimes, but not always completing in
the same vertical blank period where the corresponding drawing occurred,
potentially causing judder artifacts with applications updating their
window contents synchronized to the display refresh. A good way to test
this is the vsynctester.com site in a windowed browser, where the judder
results in the large "VSYNC" text intermittently appearing red or cyan
instead of the expected gray.

To avoid this, use a relative target MSC of 1, meaning that if a
vertical blank period is in progress, the flip will only complete in the
next one.

Reported by Julian Tempel and Brandon Wright in
https://bugs.freedesktop.org/106175 .

(Ported from amdgpu commit a1b479c7d0066c481af920f297d6af9009dda11e)
2019-01-28 18:08:35 +01:00
2018-08-23 18:48:45 +02:00
2014-08-05 18:33:12 +09:00
2018-08-23 18:48:45 +02:00
2017-07-28 11:57:41 +09:00
2018-11-19 11:38:22 +01:00
2018-11-19 11:34:22 +01:00
2018-11-19 11:34:22 +01:00

xf86-video-ati - ATI/AMD Radeon video driver for the Xorg X server

Patches and questions regarding this software should be directed at the amd-gfx mailing list:

https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Please submit bug reports to the Xorg bugzilla:

https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/Radeon

The master development code repository can be found at:

https://gitlab.freedesktop.org/xorg/driver/xf86-video-ati

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches

Description
No description provided
Readme 8 MiB
Languages
C 99.3%
M4 0.3%
Makefile 0.2%
Perl 0.1%