diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-02-08 09:00:23 +0100 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2017-02-08 09:01:56 +0100 |
commit | 164051347421710b8fa7fe79afec2ef1ffd97d30 (patch) | |
tree | 5876a826129ce5be8d45d93abfeb08169418cd3b /lib/igt_kmod.h | |
parent | bcd7ed6142a497c979862bc3c67fed52ef966c3d (diff) |
kms_flip: Handle EINTR in poll call for -interruptible tests.
This fixes the following failure in kms_flip:
(kms_flip:12099) CRITICAL: Test assertion failure function calibrate_ts, file kms_flip.c:1190:
(kms_flip:12099) CRITICAL: Failed assertion: poll(&(struct pollfd){drm_fd, POLLIN}, 1, -1) == 1
(kms_flip:12099) CRITICAL: Last errno: 4, Interrupted system call
Stack trace:
#0 [__igt_fail_assert+0xf1]
#1 [run_test_on_crtc_set.constprop.13+0x18f3]
#2 [run_pair+0x31f]
#3 [main+0x463]
#4 [__libc_start_main+0xf0]
#5 [_start+0x29]
#6 [<unknown>+0x29]
Subtest 2x-plain-flip-ts-check-interruptible failed.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99651
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'lib/igt_kmod.h')
0 files changed, 0 insertions, 0 deletions