Re: [PATCH 1/5] modesetting: Improve the ms_flush_drm_events() API.

2015-05-28 Thread Michel Dänzer
On 22.04.2015 09:58, Kenneth Graunke wrote: Previously, ms_flush_drm_events() returned a boolean value, and it was very easy to interpret the meaning incorrectly. Now, we return an integer value. The possible outcomes of this call are: - poll() raised an error (formerly TRUE, now -1 -

[PATCH 1/5] modesetting: Improve the ms_flush_drm_events() API.

2015-04-21 Thread Kenneth Graunke
Previously, ms_flush_drm_events() returned a boolean value, and it was very easy to interpret the meaning incorrectly. Now, we return an integer value. The possible outcomes of this call are: - poll() raised an error (formerly TRUE, now -1 - poll's return value) - poll() said there are no events