xserver-multidpi/hw/xfree86/drivers/modesetting
Adel Gadllah c3ce9d8fd4 modesetting: Fix software cursor fallback
The code in drmmode_set_cursor does not properly handle the case where
drmModeSetCursor2 returns any other error than EINVAL and silently fails to set
a cursor.

So only return when the drmModeSetCursor2 succeeds (i.e returns 0) and disable
the cursor2 usage on EINVAL.

References: https://bugzilla.redhat.com/show_bug.cgi?id=1205725
Signed-off-by: Adel Gadllah <adel.gadllah@gmail.com>
Reviewed-by: Michel Dänzer <michel@daenzer.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2015-05-11 15:47:52 -07:00
..
dri2.c modesetting: Include glamor.h from driver.h. 2014-12-25 13:39:17 -08:00
driver.c Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
driver.h modesetting: Add vblank synchronization support when using Present. 2014-12-25 13:39:19 -08:00
drmmode_display.c modesetting: Fix software cursor fallback 2015-05-11 15:47:52 -07:00
drmmode_display.h modesetting: Add support for using RandR shadow buffers 2015-01-23 10:50:00 -08:00
dumb_bo.c modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
Makefile.am modesetting: Add vblank synchronization support when using Present. 2014-12-25 13:39:19 -08:00
modesetting.man modesetting: Add support for rendering using glamor. 2014-10-09 09:48:51 +02:00
present.c modesetting: Fix build with --disable-glamor. 2015-01-01 10:52:30 -08:00
vblank.c modesetting: Return the crtc for a drawable even if it's rotated 2015-01-23 10:50:11 -08:00