From: Pranay Samala <pranay.samala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, sameer.lattannavar@intel.com,
pranay.samala@intel.com
Subject: [PATCH i-g-t v2] tests/intel/kms_draw_crc: Add more logs to skips/failure
Date: Mon, 17 Feb 2025 14:04:32 +0530 [thread overview]
Message-ID: <20250217083432.771635-1-pranay.samala@intel.com> (raw)
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
next reply other threads:[~2025-02-17 8:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-17 8:34 Pranay Samala [this message]
2025-02-17 9:48 ` [PATCH i-g-t v2] tests/intel/kms_draw_crc: Add more logs to skips/failure 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250217083432.771635-1-pranay.samala@intel.com \
--to=pranay.samala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@intel.com \
--cc=sameer.lattannavar@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox