[PATCH i-g-t v2 1/2] tests/kms_scaling_modes: Add informative messages for skipped scaling mode tests
Naladala Ramanaidu
ramanaidu.naladala at intel.com
Sat Jan 4 11:31:27 UTC 2025
Add `igt_info` messages to provide more context when skipping outputs
that do not support scaling mode. Include `igt_info` messages to
indicate when invalid pipe/output combinations are skipped.
V1: Fix alignment issues. (Pranay)
V2: Update skip message and alignment issue. (Swati, Pranay)
Signed-off-by: Naladala Ramanaidu <ramanaidu.naladala at intel.com>
Reviewed-by: Pranay Samala <pranay.samala at intel.com>
---
tests/kms_scaling_modes.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/tests/kms_scaling_modes.c b/tests/kms_scaling_modes.c
index 5fd34c4b2..4e6a32414 100644
--- a/tests/kms_scaling_modes.c
+++ b/tests/kms_scaling_modes.c
@@ -117,8 +117,11 @@ static void test_scaling_mode(data_t *data, uint32_t flags)
for_each_pipe_with_valid_output(display, pipe, output) {
igt_display_reset(display);
- if (!has_scaling_mode(output))
+ if (!has_scaling_mode(output)) {
+ igt_info("%s: Doesn't support IGT_CONNECTOR_SCALING_MODE\n",
+ igt_output_name(output));
continue;
+ }
igt_output_set_pipe(output, pipe);
if (!intel_pipe_output_combo_valid(display))
--
2.43.0
More information about the igt-dev
mailing list