Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t v1] tests/kms_hdr: Skip brightness on non-internal panels
@ 2024-11-13 14:25 Santhosh Reddy Guddati
  2024-11-13 16:46 ` ✗ GitLab.Pipeline: warning for " Patchwork
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Santhosh Reddy Guddati @ 2024-11-13 14:25 UTC (permalink / raw)
  To: igt-dev; +Cc: swati2.sharma, Santhosh Reddy Guddati

Skip the brightness test if the output is not an internal panel and log
the skip message.

Signed-off-by: Santhosh Reddy Guddati <santhosh.reddy.guddati@intel.com>
---
 tests/kms_hdr.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/kms_hdr.c b/tests/kms_hdr.c
index b67902d43..c4c9df3fc 100644
--- a/tests/kms_hdr.c
+++ b/tests/kms_hdr.c
@@ -696,6 +696,12 @@ static void test_hdr(data_t *data, uint32_t flags)
 			continue;
 		}
 
+		if ((flags & TEST_BRIGHTNESS) && !output_is_internal_panel(output)) {
+			igt_info("%s: Can't run brightness test on non-internal panel.\n",
+				 igt_output_name(output));
+			continue;
+		}
+
 		for_each_pipe(display, pipe) {
 			igt_output_set_pipe(output, pipe);
 			if (!intel_pipe_output_combo_valid(display)) {
-- 
2.34.1


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

end of thread, other threads:[~2024-11-18 11:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13 14:25 [PATCH i-g-t v1] tests/kms_hdr: Skip brightness on non-internal panels Santhosh Reddy Guddati
2024-11-13 16:46 ` ✗ GitLab.Pipeline: warning for " Patchwork
2024-11-13 17:06 ` ✓ CI.xeBAT: success " Patchwork
2024-11-13 17:07 ` ✓ Fi.CI.BAT: " Patchwork
2024-11-13 19:41 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-11-14  0:55 ` ✗ CI.xeFULL: " Patchwork
2024-11-14  6:10 ` [PATCH i-g-t v1] " Samala, Pranay
2024-11-14  6:51 ` Sharma, Swati2
2024-11-18 11:51 ` ✓ Fi.CI.IGT: success for " Patchwork

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