summaryrefslogtreecommitdiff
path: root/tests/kms_plane.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/kms_plane.c')
-rw-r--r--tests/kms_plane.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 93a05bb9..2e552fdc 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -159,8 +159,8 @@ test_plane_position_with_output(data_t *data,
drmModeModeInfo *mode;
igt_crc_t crc;
- igt_info("Testing connector %s using pipe %c plane %d\n",
- igt_output_name(output), pipe_name(pipe), plane);
+ igt_info("Testing connector %s using pipe %s plane %d\n",
+ igt_output_name(output), kmstest_pipe_name(pipe), plane);
test_init(data, pipe);
@@ -284,7 +284,8 @@ test_plane_panning_with_output(data_t *data,
drmModeModeInfo *mode;
igt_crc_t crc;
- igt_info("Testing connector %s using pipe %c plane %d\n", igt_output_name(output), pipe_name(pipe), plane);
+ igt_info("Testing connector %s using pipe %s plane %d\n",
+ igt_output_name(output), kmstest_pipe_name(pipe), plane);
test_init(data, pipe);
@@ -341,21 +342,21 @@ test_plane_panning(data_t *data, enum pipe pipe, enum igt_plane plane,
static void
run_tests_for_pipe_plane(data_t *data, enum pipe pipe, enum igt_plane plane)
{
- igt_subtest_f("plane-position-covered-pipe-%c-plane-%d",
- pipe_name(pipe), plane)
+ igt_subtest_f("plane-position-covered-pipe-%s-plane-%d",
+ kmstest_pipe_name(pipe), plane)
test_plane_position(data, pipe, plane,
TEST_POSITION_FULLY_COVERED);
- igt_subtest_f("plane-position-hole-pipe-%c-plane-%d",
- pipe_name(pipe), plane)
+ igt_subtest_f("plane-position-hole-pipe-%s-plane-%d",
+ kmstest_pipe_name(pipe), plane)
test_plane_position(data, pipe, plane, 0);
- igt_subtest_f("plane-panning-top-left-pipe-%c-plane-%d",
- pipe_name(pipe), plane)
+ igt_subtest_f("plane-panning-top-left-pipe-%s-plane-%d",
+ kmstest_pipe_name(pipe), plane)
test_plane_panning(data, pipe, plane, TEST_PANNING_TOP_LEFT);
- igt_subtest_f("plane-panning-bottom-right-pipe-%c-plane-%d",
- pipe_name(pipe), plane)
+ igt_subtest_f("plane-panning-bottom-right-pipe-%s-plane-%d",
+ kmstest_pipe_name(pipe), plane)
test_plane_panning(data, pipe, plane,
TEST_PANNING_BOTTOM_RIGHT);