[PATCH] drm: Limit individual events to 1 KiB

2016-12-15 Thread Jani Nikula
On Thu, 15 Dec 2016, Thierry Reding wrote: > From: Thierry Reding > > Ever since support for vblank handling and event processing was added to > libdrm (v2.4.16), events were read in 1 KiB chunks in drmHandleEvent(). > In addition, the implementation of drm_read() will not unqueue events if >

[PATCH] drm: Limit individual events to 1 KiB

2016-12-15 Thread Ville Syrjälä
On Thu, Dec 15, 2016 at 12:48:34PM +0100, Thierry Reding wrote: > From: Thierry Reding > > Ever since support for vblank handling and event processing was added to > libdrm (v2.4.16), events were read in 1 KiB chunks in drmHandleEvent(). > In addition, the implementation of drm_read() will not

[PATCH] drm: Limit individual events to 1 KiB

2016-12-15 Thread Thierry Reding
From: Thierry Reding Ever since support for vblank handling and event processing was added to libdrm (v2.4.16), events were read in 1 KiB chunks in drmHandleEvent(). In addition, the implementation of drm_read() will not unqueue events if they can't be successfully passed to