[igt-dev] [PATCH i-g-t] tests/kms_atomic_interruptible: use pipe_name followed by output_name

Swati Sharma swati2.sharma at intel.com
Wed Oct 11 08:35:57 UTC 2023


Use pipe_name followed by output_name.

Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
 tests/kms_atomic_interruptible.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tests/kms_atomic_interruptible.c b/tests/kms_atomic_interruptible.c
index 0ae2435f9..1a104106a 100644
--- a/tests/kms_atomic_interruptible.c
+++ b/tests/kms_atomic_interruptible.c
@@ -363,7 +363,7 @@ igt_main
 			if (!pipe_output_combo_valid(&display, pipe, output))
 				continue;
 
-			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
+			igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), igt_output_name(output))
 				run_plane_test(&display, pipe, output, test_legacy_modeset, DRM_PLANE_TYPE_PRIMARY);
 			break;
 		}
@@ -375,7 +375,7 @@ igt_main
 			if (!pipe_output_combo_valid(&display, pipe, output))
 				continue;
 
-			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
+			igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), igt_output_name(output))
 				run_plane_test(&display, pipe, output, test_atomic_modeset, DRM_PLANE_TYPE_PRIMARY);
 			break;
 		}
@@ -387,7 +387,7 @@ igt_main
 			if (!pipe_output_combo_valid(&display, pipe, output))
 				continue;
 
-			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
+			igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), igt_output_name(output))
 				run_plane_test(&display, pipe, output, test_legacy_dpms, DRM_PLANE_TYPE_PRIMARY);
 			break;
 		}
@@ -399,7 +399,7 @@ igt_main
 			if (!pipe_output_combo_valid(&display, pipe, output))
 				continue;
 
-			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
+			igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), igt_output_name(output))
 				run_plane_test(&display, pipe, output, test_pageflip, DRM_PLANE_TYPE_PRIMARY);
 			break;
 		}
@@ -411,7 +411,7 @@ igt_main
 			if (!pipe_output_combo_valid(&display, pipe, output))
 				continue;
 
-			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
+			igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), igt_output_name(output))
 				run_plane_test(&display, pipe, output, test_setcursor, DRM_PLANE_TYPE_CURSOR);
 			break;
 		}
@@ -423,7 +423,7 @@ igt_main
 			if (!pipe_output_combo_valid(&display, pipe, output))
 				continue;
 
-			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
+			igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), igt_output_name(output))
 				run_plane_test(&display, pipe, output, test_setplane, DRM_PLANE_TYPE_PRIMARY);
 			break;
 		}
@@ -435,7 +435,7 @@ igt_main
 			if (!pipe_output_combo_valid(&display, pipe, output))
 				continue;
 
-			igt_dynamic_f("%s-pipe-%s", igt_output_name(output), kmstest_pipe_name(pipe))
+			igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(pipe), igt_output_name(output))
 				run_plane_test(&display, pipe, output, test_setplane, DRM_PLANE_TYPE_CURSOR);
 			break;
 		}
-- 
2.25.1



More information about the igt-dev mailing list