Skip to content
Snippets Groups Projects
Commit c4166ea4 authored by Hans de Goede's avatar Hans de Goede
Browse files

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: xorg/xserver#828


Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent e9865c4b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment