diff options
Diffstat (limited to 'tests/gem_exec_flush.c')
-rw-r--r-- | tests/gem_exec_flush.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/gem_exec_flush.c b/tests/gem_exec_flush.c index d08b843a..e4207895 100644 --- a/tests/gem_exec_flush.c +++ b/tests/gem_exec_flush.c @@ -306,6 +306,7 @@ static void batch(int fd, unsigned ring, int nchild, int timeout, igt_require(cmdparser > 0); } + intel_detect_and_clear_missed_interrupts(fd); igt_fork(child, nchild) { const uint32_t bbe = MI_BATCH_BUFFER_END; struct drm_i915_gem_exec_object2 obj[2]; @@ -471,6 +472,7 @@ static void batch(int fd, unsigned ring, int nchild, int timeout, gem_close(fd, obj[0].handle); } igt_waitchildren(); + igt_assert_eq(intel_detect_and_clear_missed_interrupts(fd), 0); } static const char *yesno(bool x) |