diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-12 11:00:37 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-12 19:36:53 +0200 |
commit | dd8fba44cd1759e5cffc84d47f2c9b92c1e2ae8b (patch) | |
tree | 7733d964617cdfdeb30a0c6b662d7e343ac9af45 /tests/kms_cursor_crc.c | |
parent | fb38cf260ba6ed45b514b7a2c21f733c51caeb90 (diff) |
lib/igt_kms: Unify pipe name helpers
And add api doc while at it.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_cursor_crc.c')
-rw-r--r-- | tests/kms_cursor_crc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/kms_cursor_crc.c b/tests/kms_cursor_crc.c index 723a6d55..e7240732 100644 --- a/tests/kms_cursor_crc.c +++ b/tests/kms_cursor_crc.c @@ -311,14 +311,16 @@ static void run_test(data_t *data, void (*testfunc)(data_t *), int cursor_w, int valid_tests++; - igt_info("Beginning %s on pipe %c, connector %s\n", - igt_subtest_name(), pipe_name(data->pipe), + igt_info("Beginning %s on pipe %s, connector %s\n", + igt_subtest_name(), + kmstest_pipe_name(data->pipe), igt_output_name(output)); testfunc(data); - igt_info("\n%s on pipe %c, connector %s: PASSED\n\n", - igt_subtest_name(), pipe_name(data->pipe), + igt_info("\n%s on pipe %s, connector %s: PASSED\n\n", + igt_subtest_name(), + kmstest_pipe_name(data->pipe), igt_output_name(output)); /* cleanup what prepare_crtc() has done */ |