[PATCH i-g-t v2] tests/kms_plane_scaling: Add logs to skips

Pranay Samala pranay.samala at intel.com
Thu Jan 9 08:38:58 UTC 2025


Having some logs for test failures & skips would
make debugging much easier.

v2: Add output/pipe name for detailed message (Santhosh)

Signed-off-by: Pranay Samala <pranay.samala at intel.com>
---
 tests/kms_plane_scaling.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/kms_plane_scaling.c b/tests/kms_plane_scaling.c
index c8c9aee31..43f578d55 100644
--- a/tests/kms_plane_scaling.c
+++ b/tests/kms_plane_scaling.c
@@ -1577,6 +1577,12 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
 								       kmstest_pipe_name(pipe), igt_output_name(output))
 								intel_max_source_size_test(&data, pipe, output, mode,
 											   intel_paramtests[index].planesize);
+						} else {
+							igt_info("Unable to find the lowest " \
+								 "refresh rate mode on output " \
+								 "%s pipe %s\n",
+								 igt_output_name(output),
+								 kmstest_pipe_name(pipe));
 						}
 						continue;
 					}
-- 
2.34.1



More information about the igt-dev mailing list