xserver/hw/xfree86/drivers
Takashi Iwai 074cf58769 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>
2016-07-01 19:08:20 +02:00
..
modesetting modesetting: Fix the error check from DRM_IOCTL_MODE_CURSOR2 2016-07-01 19:08:20 +02:00
Makefile.am modesetting: Connect the driver to the build. 2014-09-16 16:28:42 -07:00