xserver/hw/xfree86/drivers/modesetting
Hans de Goede 0aaac8d783 modesetting: Disable pageflipping when using a swcursor
The miPointerSpriteFunc swcursor code expects there to only be a single
framebuffer and when the cursor moves it will undo the damage of the
previous draw, potentially overwriting what ever is there in a new
framebuffer installed after a flip.

This leads to all kind of artifacts, so we need to disable pageflipping
when a swcursor is used.

The code for this has shamelessly been copied from the xf86-video-amdgpu
code.

Fixes: https://gitlab.freedesktop.org/xorg/xserver/issues/828

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2019-08-06 17:22:02 +02:00
..
Makefile.am shadow: Lift 32->24 conversion from modesetting to dix 2016-12-12 14:10:44 -05:00
dri2.c modesetting: Disable pageflipping when using a swcursor 2019-08-06 17:22:02 +02:00
driver.c modesetting: Disable pageflipping when using a swcursor 2019-08-06 17:22:02 +02:00
driver.h modesetting: Disable pageflipping when using a swcursor 2019-08-06 17:22:02 +02:00
drmmode_display.c modesetting: Disable pageflipping when using a swcursor 2019-08-06 17:22:02 +02:00
drmmode_display.h modesetting: Disable pageflipping when using a swcursor 2019-08-06 17:22:02 +02:00
dumb_bo.c modesetting: Include dix-config.h from dumb_bo.c 2015-05-12 08:02:11 -07:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
meson.build xfree86: Link fb statically 2019-07-23 14:24:00 -04:00
modesetting.man modesetting: Document Option "DoubleShadow" in the man page 2018-09-10 14:47:06 -04:00
pageflip.c modesetting: Use atomic modesetting to set DPMS mode 2018-04-04 14:01:48 -04:00
present.c modesetting: Disable pageflipping when using a swcursor 2019-08-06 17:22:02 +02:00
vblank.c modesetting: Fix and improve ms_kernel_msc_to_crtc_msc() 2018-05-07 14:01:01 -04:00