summaryrefslogtreecommitdiff
path: root/tests/kms_chv_cursor_fail.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-06-08 13:18:27 +0200
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2016-06-09 09:01:49 +0200
commitede48704bac49d3175731b2a041135a510fe98b9 (patch)
tree4ca6099cfa4e464b2eda908a37635daf8a92437a /tests/kms_chv_cursor_fail.c
parentefa40415e87584e0f35ff299d4f05d839f506663 (diff)
tests/kms_chv_cursor_fail: Remove extra igt_pipe_crc_start.
There is a extra call to igt_pipe_crc_start that is not matched to any stop. Because of this the exit handler tries to reset the crc source on exit while the pipe disabled. This causes fails with -EIO: (kms_chv_cursor_fail:2643) igt-debugfs-CRITICAL: Test assertion failure function igt_pipe_crc_pipe_off, file igt_debugfs.c:364: (kms_chv_cursor_fail:2643) igt-debugfs-CRITICAL: Failed assertion: write(fd, buf, strlen(buf)) == strlen(buf) (kms_chv_cursor_fail:2643) igt-debugfs-CRITICAL: Last errno: 5, EIO (kms_chv_cursor_fail:2643) igt-debugfs-CRITICAL: error: -1 != 11 Stack trace: #0 [__igt_fail_assert+0xf1] #1 [igt_pipe_crc_pipe_off+0xe4] #2 [pipe_crc_exit_handler+0x35] #3 [igt_atexit_handler+0x4c] #4 [__libc_secure_getenv+0x112] #5 [exit+0x15] #6 [igt_exit+0xd6] #7 [main+0x1ee] #8 [__libc_start_main+0xf0] #9 [_start+0x29] #10 [<unknown>+0x29] Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Acked-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_chv_cursor_fail.c')
-rw-r--r--tests/kms_chv_cursor_fail.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/kms_chv_cursor_fail.c b/tests/kms_chv_cursor_fail.c
index 83af07f9..11d01f54 100644
--- a/tests/kms_chv_cursor_fail.c
+++ b/tests/kms_chv_cursor_fail.c
@@ -163,9 +163,6 @@ static void test_edge_pos(data_t *data, int sx, int ex, int y, bool swap_axis)
}
igt_debug("\n");
}
-
-
- igt_pipe_crc_start(data->pipe_crc);
}
static void test_edge(data_t *data, int sy, int ey, int sx, int ex, bool swap_axis)