[igt-dev] [PATCH i-g-t] lib/igt_kms: Be more verbose about failure in kmstest_wait_for_pageflip

Arkadiusz Hiler arkadiusz.hiler at intel.com
Fri Apr 5 07:28:21 UTC 2019


On Thu, Apr 04, 2019 at 04:17:40PM +0300, Arkadiusz Hiler wrote:
> First, we set errno to 0 before doing select() to avoid random pollution
> of the assert message with things like:
> "Last errno: 25, Inappropriate ioctl for device"
> 
> Second, we log explicitly if we exceeded the timeout (ret == 0).
> 
> Third, if we fail the select() we log that with some explanation.
> 
> Cc: Petri Latvala <petri.latvala at intel.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>

cibuglog fitlers addjusted and the patch is applied with Petri's rb from IRC


More information about the igt-dev mailing list