From dd8fba44cd1759e5cffc84d47f2c9b92c1e2ae8b Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Tue, 12 Aug 2014 11:00:37 +0200 Subject: lib/igt_kms: Unify pipe name helpers And add api doc while at it. Signed-off-by: Daniel Vetter --- tests/kms_cursor_crc.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'tests/kms_cursor_crc.c') 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 */ -- cgit v1.2.3