xserver/hw/xfree86/drivers/modesetting
Daniel Martin 363f4273dd modesetting: Consume all available udev events at once
We get multiple udev events for actions like docking a laptop into its
station or plugging a monitor to the station. By consuming as much
events as we can, we reduce the number of output re-evalutions.

I.e. having a Lenovo X250 in a ThinkPad Ultra Dock and plugging a
monitor to the station generates 5 udev events. Or having 2 monitors
attached to the station and docking the laptop generates 7 events.

It depends on the timing how many events can consumed at once.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
[hdegoede@redhat.com: Keep goto out so that we always call RRGetInfo()]
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-09-28 14:53:39 -04:00
..
Makefile.am modesetting: move ms_do_pageflip to pageflip.c 2016-09-02 13:56:10 -04:00
dri2.c modesetting: Implement DRI2InfoRec version 9 callbacks 2016-09-13 11:18:38 -04:00
driver.c xfree86: small memory leaks fixes 2016-09-28 14:53:39 -04:00
driver.h modesetting: fix compile error when --disable-glamor 2016-09-16 08:54:22 -07:00
drmmode_display.c modesetting: Consume all available udev events at once 2016-09-28 14:53:39 -04:00
drmmode_display.h modesetting: add DRI2 page flip support 2016-09-02 13:58:09 -04:00
dumb_bo.c modesetting: Include dix-config.h from dumb_bo.c 2015-05-12 08:02:11 -07: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 more missing options to man page. 2015-08-13 00:36:12 +01:00
pageflip.c modesetting: fix compile error when --disable-glamor 2016-09-16 08:54:22 -07:00
present.c modesetting: add DRI2 page flip support 2016-09-02 13:58:09 -04:00
sh3224.c modesetting: Implement 32->24 bpp conversion in shadow update 2016-07-02 09:28:04 +02:00
sh3224.h modesetting: Implement 32->24 bpp conversion in shadow update 2016-07-02 09:28:04 +02:00
vblank.c modesetting: Fall back to primary crtc for vblank for drawables on slave outputs 2016-09-13 11:18:43 -04:00