xserver/hw
Takashi Iwai 15f8aaa786 modesetting: Fix the error check from DRM_IOCTL_MODE_CURSOR2
The error value isn't always -EINVAL, e.g. the kernel drm core returns
-ENXIO when the corresponding ops doesn't exist.  Without this fix,
DRM_IOCTL_MODE_CURSOR2 would be dealt as success even if it
shouldn't.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
(cherry picked from commit 074cf58769)
2016-07-06 13:51:25 -04:00
..
dmx dmx/glxProxy: don't free the glx pixmap twice if AddResource fails 2016-03-11 13:14:33 -05:00
kdrive kdrive: Nuke a bunch of dead code 2016-06-20 11:46:44 -04:00
vfb vfb: Re-add LD_EXPORT_SYMBOLS_FLAG to LDFLAGS 2016-03-29 16:42:30 -04:00
xfree86 modesetting: Fix the error check from DRM_IOCTL_MODE_CURSOR2 2016-07-06 13:51:25 -04:00
xnest xnest: Fix needless build dependency on xcb-util-keysyms 2015-12-09 10:45:49 -05:00
xquartz XQuartz: Update copyright years 2016-05-04 13:14:04 -07:00
xwayland wayland: clear resource for pixmap on unrealize 2016-07-06 13:35:30 -04:00
xwin xwin: no need to free auth data if AddResource fails 2016-03-11 13:14:33 -05:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00