xserver/hw/xfree86/drivers/modesetting
Keith Packard 7804305673 modesetting: Fix damage tracking auto-disable code
dispatch_dirty_region was only returning -EINVAL error codes,
otherwise it would return 0. The kernel returns -ENOSYS when the
driver doesn't support damage tracking, so dispatch_dirty would never
see the error and never disable damage tracking.

Pass all errors back from dispatch_dirty_region and let dispatch_dirty
deal with them.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
2014-12-25 12:59:46 -08:00
..
Makefile.am modesetting: Move dumb_bo into its own source files. 2014-12-11 11:26:19 -08:00
dri2.c modesetting: Add support for DRI2 with glamor. 2014-10-27 13:16:43 -07:00
driver.c modesetting: Fix damage tracking auto-disable code 2014-12-25 12:59:46 -08:00
driver.h modesetting: Move Bool glamor into drmmode struct 2014-12-08 15:49:33 -08:00
drmmode_display.c modesetting: [v2] Don't re-enable the cursor when loading the image 2014-12-18 10:04:48 -08:00
drmmode_display.h modesetting: [v2] Don't re-enable the cursor when loading the image 2014-12-18 10:04:48 -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
modesetting.man modesetting: Add support for rendering using glamor. 2014-10-09 09:48:51 +02:00
vblank.c modesetting: Skip kernel work-around on error in crtc to kernel msc 2014-10-27 15:28:14 -07:00