From: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] tests/kms_available_mode_crc: Print debug info on failure
Date: Tue, 22 Jan 2019 20:28:20 -0800 [thread overview]
Message-ID: <20190123042820.15094-1-dhinakaran.pandiyan@intel.com> (raw)
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
---
tests/kms_available_modes_crc.c | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/tests/kms_available_modes_crc.c b/tests/kms_available_modes_crc.c
index 7ff385f2..44b160bf 100644
--- a/tests/kms_available_modes_crc.c
+++ b/tests/kms_available_modes_crc.c
@@ -414,7 +414,12 @@ test_one_mode(data_t* data, igt_output_t *output, igt_plane_t* plane,
&data->fullscreen_crc)) {
crccompare[0] = igt_crc_to_string(¤t_crc);
crccompare[1] = igt_crc_to_string(&data->fullscreen_crc);
- igt_warn("crc mismatch. target %.8s, result %.8s.\n", crccompare[0], crccompare[1]);
+ igt_warn("%s PIPE %s plane %d format %.4s crc mismatch. target %.8s, result %.8s.\n",
+ igt_output_name(output),
+ kmstest_pipe_name(plane->pipe->pipe),
+ plane->index,
+ (char *)&data->format.name,
+ crccompare[0], crccompare[1]);
free(crccompare[0]);
free(crccompare[1]);
rVal++;
@@ -424,7 +429,12 @@ test_one_mode(data_t* data, igt_output_t *output, igt_plane_t* plane,
&data->cursor_crc)) {
crccompare[0] = igt_crc_to_string(¤t_crc);
crccompare[1] = igt_crc_to_string(&data->cursor_crc);
- igt_warn("crc mismatch. target %.8s, result %.8s.\n", crccompare[0], crccompare[1]);
+ igt_warn("%s PIPE %s plane %d format %.4s crc mismatch. target %.8s, result %.8s.\n",
+ igt_output_name(output),
+ kmstest_pipe_name(plane->pipe->pipe),
+ plane->index,
+ (char *)&data->format.name,
+ crccompare[0], crccompare[1]);
free(crccompare[0]);
free(crccompare[1]);
rVal++;
--
2.17.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next reply other threads:[~2019-01-23 4:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-23 4:28 Dhinakaran Pandiyan [this message]
2019-01-23 4:30 ` [igt-dev] [PATCH i-g-t] tests/kms_available_mode_crc: Print debug info on failure Dhinakaran Pandiyan
2019-01-23 5:39 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-01-23 8:42 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2019-01-23 20:11 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_available_mode_crc: Print debug info on failure (rev2) Patchwork
2019-01-23 21:25 ` [igt-dev] ✓ Fi.CI.IGT: " 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=20190123042820.15094-1-dhinakaran.pandiyan@intel.com \
--to=dhinakaran.pandiyan@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/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