From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 7/8] tests/kms_color: Dump the CTM before/after color values
Date: Tue, 11 Apr 2023 10:51:00 +0300 [thread overview]
Message-ID: <20230411075101.2785-8-ville.syrjala@linux.intel.com> (raw)
In-Reply-To: <20230411075101.2785-1-ville.syrjala@linux.intel.com>
From: Ville Syrjälä <ville.syrjala@linux.intel.com>
Include the before/after color values in the debug output
to help with diagnosing failures.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
tests/kms_color.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tests/kms_color.c b/tests/kms_color.c
index 35083122dfbf..1ec097953c9d 100644
--- a/tests/kms_color.c
+++ b/tests/kms_color.c
@@ -511,6 +511,14 @@ static bool test_pipe_ctm(data_t *data,
set_gamma(data, primary->pipe, gamma_linear);
}
+ igt_debug("color before[0] %f,%f,%f\n", before[0].r, before[0].g, before[0].b);
+ igt_debug("color before[1] %f,%f,%f\n", before[1].r, before[1].g, before[1].b);
+ igt_debug("color before[2] %f,%f,%f\n", before[2].r, before[2].g, before[2].b);
+
+ igt_debug("color after[0] %f,%f,%f\n", after[0].r, after[0].g, after[0].b);
+ igt_debug("color after[1] %f,%f,%f\n", after[1].r, after[1].g, after[1].b);
+ igt_debug("color after[2] %f,%f,%f\n", after[2].r, after[2].g, after[2].b);
+
disable_ctm(primary->pipe);
igt_display_commit(&data->display);
--
2.39.2
next prev parent reply other threads:[~2023-04-11 7:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-11 7:50 [igt-dev] [PATCH i-g-t 0/8] tests/kms_color: Improve CTM tests Ville Syrjala
2023-04-11 7:50 ` [igt-dev] [PATCH i-g-t 1/8] tests/kms_color: Use legacy LUT for chopping off the lsbs Ville Syrjala
2023-04-11 7:50 ` [igt-dev] [PATCH i-g-t 2/8] tests/kms_color: Use named initializers Ville Syrjala
2023-04-11 7:50 ` [igt-dev] [PATCH i-g-t 3/8] tests/kms_color: Make loads of stuff static const Ville Syrjala
2023-04-11 7:50 ` [igt-dev] [PATCH i-g-t 4/8] tests/kms_color: Pass down the colors used to paint the fb Ville Syrjala
2023-04-11 7:50 ` [igt-dev] [PATCH i-g-t 5/8] tests/kms_color: Get rid of hand coded "expected_colors" Ville Syrjala
2023-04-11 7:50 ` [igt-dev] [PATCH i-g-t 6/8] tests/kms_color: Add and additional "signed" subtest Ville Syrjala
2023-04-11 7:51 ` Ville Syrjala [this message]
2023-04-11 7:51 ` [igt-dev] [PATCH i-g-t 8/8] tests/intel-ci/fast-feedback: Run ctm tests Ville Syrjala
2023-04-11 12:27 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_color: Improve CTM tests Patchwork
2023-04-11 16:30 ` [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=20230411075101.2785-8-ville.syrjala@linux.intel.com \
--to=ville.syrjala@linux.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