xserver-multidpi/hw/xfree86
Jasper St. Pierre 4e12d7b6f4 modesetting: Update the cursor without hiding it
In the new KMS APIs, the legacy drmModeSetCursor ioctl actually waits
for a vblank after changing the cursor image before returning, meaning
that the X server, in attempting to hide the cursor before updating
its image, actually makes that hide *visible* for a full vblank.

It's unknown why the X server does this by default, but turn it off.

If we're with a legacy driver that doesn't support the modern
drmModeSetCursor by waiting for a vblank before returning, we're going
to get a tiny bit of tearing on the cursor plane. But between tearing
with a new cursor image and tearing with a blank cursor image, I'd
rather the former.

The only proper solution to this is an atomic ioctl that page flips
all planes, including the cursor plane, at vblank time and at the same
time.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
2015-01-10 14:45:09 +13:00
..
common Solaris: Move shared declarations to xf86_OSlib.h 2014-12-19 18:16:19 -08:00
ddc Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
dixmods Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
doc xfree86: Remove the memory of MTRR awareness 2014-09-16 11:58:53 -04:00
dri Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
dri2 dri2: integer overflow in ProcDRI2GetBuffers() [CVE-2014-8094] 2014-12-08 18:09:47 -08:00
drivers modesetting: Update the cursor without hiding it 2015-01-10 14:45:09 +13:00
exa xfree86/exa: xf86GetOptValString returns const char * now 2014-01-12 10:14:50 -08:00
fbdevhw Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
glamor_egl glamor: Share code for put_image handling. 2014-06-15 23:20:09 +01:00
i2c Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
int10 int10: Port off xf86ReadBIOS 2014-09-16 11:58:53 -04:00
loader Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
man xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
modes Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
os-support Solaris: Move shared declarations to xf86_OSlib.h 2014-12-19 18:16:19 -08:00
parser Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
ramdac Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
shadowfb Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
utils Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
vbe Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
vgahw Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
x86emu Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
sdksyms.sh mi: Fold mifpolycon.c into miarc.c 2014-10-27 15:45:24 -04:00
xorg-wrapper.c xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
xorgconf.cpp xfree86: fix wrong DontZap documentation (#71113) 2014-05-24 20:02:56 +10:00