xserver/hw/xfree86/drivers/modesetting
Hans de Goede b8b10e2930 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>
(cherry picked from commit 0aaac8d783)
Signed-off-by: Łukasz Spintzyk <lukasz.spintzyk@displaylink.com>
2020-05-22 08:07:56 +02:00
..
Makefile.am modesetting: Fix broken manpage in autoconf build 2019-10-30 19:38:30 +00:00
dri2.c modesetting: Disable pageflipping when using a swcursor 2020-05-22 08:07:56 +02:00
driver.c modesetting: Disable pageflipping when using a swcursor 2020-05-22 08:07:56 +02:00
driver.h modesetting: Disable pageflipping when using a swcursor 2020-05-22 08:07:56 +02:00
drmmode_display.c modesetting: Disable pageflipping when using a swcursor 2020-05-22 08:07:56 +02:00
drmmode_display.h modesetting: Disable pageflipping when using a swcursor 2020-05-22 08:07:56 +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 modesetting: set gbm as dependency in meson build 2018-05-08 12:41:58 -04:00
modesetting.man modesetting: Document Option "DoubleShadow" in the man page 2018-10-04 17:25:52 +02: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 2020-05-22 08:07:56 +02:00
vblank.c modesetting: Check whether RandR was initialized before calling rrGetScrPriv 2020-01-13 22:11:10 +00:00