Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v2] tests/intel/kms_draw_crc: Add more logs to skips/failure
@ 2025-02-17  8:34 Pranay Samala
  2025-02-17  9:48 ` Krzysztof Karas
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Pranay Samala @ 2025-02-17  8:34 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, sameer.lattannavar, pranay.samala

Add a flag to check if display supports any format and
modifier.

v2: Rename the flag variable to meaningful name. (Karas)

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

diff --git a/tests/intel/kms_draw_crc.c b/tests/intel/kms_draw_crc.c
index 30a09389e..9c350853c 100644
--- a/tests/intel/kms_draw_crc.c
+++ b/tests/intel/kms_draw_crc.c
@@ -333,6 +333,7 @@ igt_main
 	enum igt_draw_method method;
 	int format_idx, modifier_idx;
 	uint64_t modifier;
+	bool found_supported_format = false;
 
 	igt_fixture
 		setup_environment();
@@ -352,6 +353,7 @@ igt_main
 					if (!igt_display_has_format_mod(&display, formats[format_idx], modifier))
 						continue;
 
+					found_supported_format = true;
 					igt_dynamic_f("%s-%s",
 						      format_str(format_idx),
 						      modifier_str(modifier_idx))
@@ -359,6 +361,8 @@ igt_main
 								    modifier);
 				}
 			}
+			if (!found_supported_format)
+				igt_info("Display doesn't supports any required formats/modifiers.\n");
 		}
 	}
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-02-17 20:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17  8:34 [PATCH i-g-t v2] tests/intel/kms_draw_crc: Add more logs to skips/failure Pranay Samala
2025-02-17  9:48 ` Krzysztof Karas
2025-02-17 11:19 ` ✗ GitLab.Pipeline: warning for tests/intel/kms_draw_crc: Add more logs to skips/failure (rev2) Patchwork
2025-02-17 11:32 ` ✓ Xe.CI.BAT: success " Patchwork
2025-02-17 11:46 ` ✓ i915.CI.BAT: " Patchwork
2025-02-17 15:26 ` ✗ i915.CI.Full: failure " Patchwork
2025-02-17 20:04 ` ✗ Xe.CI.Full: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox