From: Pranay Samala <pranay.samala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, jeevan.b@intel.com,
sameer.lattannavar@intel.com, pranay.samala@intel.com,
Kamil Konieczny <kamil.konieczny@linux.intel.com>,
Juha-pekka Heikkila <juha-pekka.heikkila@intel.com>
Subject: [PATCH i-g-t v2 1/2] tests/kms_plane: Reduce CI logging
Date: Fri, 24 May 2024 14:18:06 +0530 [thread overview]
Message-ID: <20240524084807.480971-2-pranay.samala@intel.com> (raw)
In-Reply-To: <20240524084807.480971-1-pranay.samala@intel.com>
Replacing igt_info with igt_debug to reduce CI logging.
Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: Juha-pekka Heikkila <juha-pekka.heikkila@intel.com>
Cc: Karthik B S <karthik.b.s@intel.com>
Signed-off-by: Pranay Samala <pranay.samala@intel.com>
---
tests/kms_plane.c | 45 +++++++++++++++++++++++++--------------------
1 file changed, 25 insertions(+), 20 deletions(-)
diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 406aecc04..9062320e1 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -275,8 +275,8 @@ test_plane_position_with_output(data_t *data,
drmModeModeInfo *mode;
igt_crc_t crc, crc2;
- igt_info("Testing connector %s using pipe %s plane %d\n",
- igt_output_name(output), kmstest_pipe_name(pipe), plane);
+ igt_debug("Testing connector %s using pipe %s plane %d\n",
+ igt_output_name(output), kmstest_pipe_name(pipe), plane);
igt_output_set_pipe(output, pipe);
@@ -285,8 +285,8 @@ test_plane_position_with_output(data_t *data,
sprite = igt_output_get_plane(output, plane);
if (primary->drm_plane->plane_id > sprite->drm_plane->plane_id) {
- igt_info("primary plane ID (%d) > sprite plane ID (%d), skipping plane %d\n",
- primary->drm_plane->plane_id, sprite->drm_plane->plane_id, plane);
+ igt_debug("primary plane ID (%d) > sprite plane ID (%d), skipping plane %d\n",
+ primary->drm_plane->plane_id, sprite->drm_plane->plane_id, plane);
return;
}
@@ -415,8 +415,8 @@ test_plane_panning_with_output(data_t *data,
mode = igt_output_get_mode(output);
primary = igt_output_get_plane(output, 0);
- igt_info("Testing connector %s using pipe %s, mode %s\n",
- igt_output_name(output), kmstest_pipe_name(pipe), mode->name);
+ igt_debug("Testing connector %s using pipe %s, mode %s\n",
+ igt_output_name(output), kmstest_pipe_name(pipe), mode->name);
create_fb_for_mode_panning(data, mode, &primary_fb);
igt_plane_set_fb(primary, &primary_fb);
@@ -889,9 +889,9 @@ static bool test_format_plane_rgb(data_t *data, enum pipe pipe,
igt_crc_t ref_crc[],
struct igt_fb *fb)
{
- igt_info("Testing format " IGT_FORMAT_FMT " / modifier " IGT_MODIFIER_FMT " on %s.%u\n",
- IGT_FORMAT_ARGS(format), IGT_MODIFIER_ARGS(modifier),
- kmstest_pipe_name(pipe), plane->index);
+ igt_debug("Testing format " IGT_FORMAT_FMT " / modifier " IGT_MODIFIER_FMT " on %s.%u\n",
+ IGT_FORMAT_ARGS(format), IGT_MODIFIER_ARGS(modifier),
+ kmstest_pipe_name(pipe), plane->index);
return test_format_plane_colors(data, pipe, plane,
format, modifier,
@@ -927,11 +927,13 @@ static bool test_format_plane_yuv(data_t *data, enum pipe pipe,
igt_color_range_to_str(r)))
continue;
- igt_info("Testing format " IGT_FORMAT_FMT " / modifier " IGT_MODIFIER_FMT " (%s, %s) on %s.%u\n",
- IGT_FORMAT_ARGS(format), IGT_MODIFIER_ARGS(modifier),
- igt_color_encoding_to_str(e),
- igt_color_range_to_str(r),
- kmstest_pipe_name(pipe), plane->index);
+ igt_debug("Testing format " IGT_FORMAT_FMT " / modifier " IGT_MODIFIER_FMT
+ " (%s, %s) on %s.%u\n", IGT_FORMAT_ARGS(format),
+ IGT_MODIFIER_ARGS(modifier),
+ igt_color_encoding_to_str(e),
+ igt_color_range_to_str(r),
+ kmstest_pipe_name(pipe),
+ plane->index);
result &= test_format_plane_colors(data, pipe, plane,
format, modifier,
@@ -1043,9 +1045,9 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
igt_pipe_crc_start(data->pipe_crc);
- igt_info("Testing format " IGT_FORMAT_FMT " / modifier " IGT_MODIFIER_FMT " on %s.%u\n",
- IGT_FORMAT_ARGS(ref.format), IGT_MODIFIER_ARGS(ref.modifier),
- kmstest_pipe_name(pipe), plane->index);
+ igt_debug("Testing format " IGT_FORMAT_FMT " / modifier " IGT_MODIFIER_FMT " on %s.%u\n",
+ IGT_FORMAT_ARGS(ref.format), IGT_MODIFIER_ARGS(ref.modifier),
+ kmstest_pipe_name(pipe), plane->index);
check_allowed_plane_size_64x64(data, plane, &width, &height, ref.format);
@@ -1089,9 +1091,12 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
};
if (igt_vec_index(&tested_formats, &rf) >= 0) {
- igt_info("Skipping format " IGT_FORMAT_FMT " / modifier " IGT_MODIFIER_FMT " on %s.%u\n",
- IGT_FORMAT_ARGS(f.format), IGT_MODIFIER_ARGS(f.modifier),
- kmstest_pipe_name(pipe), plane->index);
+ igt_debug("Skipping format " IGT_FORMAT_FMT " / modifier "
+ IGT_MODIFIER_FMT " on %s.%u\n",
+ IGT_FORMAT_ARGS(f.format),
+ IGT_MODIFIER_ARGS(f.modifier),
+ kmstest_pipe_name(pipe),
+ plane->index);
continue;
}
--
2.34.1
next prev parent reply other threads:[~2024-05-24 8:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-24 8:48 [PATCH i-g-t v2 0/2] Update kms_plane test Pranay Samala
2024-05-24 8:48 ` Pranay Samala [this message]
2024-05-27 15:58 ` [PATCH i-g-t v2 1/2] tests/kms_plane: Reduce CI logging Juha-Pekka Heikkila
2024-05-24 8:48 ` [PATCH i-g-t v2 2/2] tests/kms_plane: Convert to dynamic subtests Pranay Samala
2024-05-27 15:59 ` Juha-Pekka Heikkila
2024-05-24 10:44 ` ✗ Fi.CI.BAT: failure for Update kms_plane test Patchwork
2024-05-24 11:07 ` ✓ CI.xeBAT: success " Patchwork
2024-05-24 13:21 ` ✗ CI.xeFULL: failure " Patchwork
2024-05-27 5:33 ` ✓ Fi.CI.BAT: success for Update kms_plane test (rev2) Patchwork
2024-05-27 5:37 ` ✗ CI.xeBAT: failure " Patchwork
2024-05-27 7:04 ` ✗ CI.xeFULL: " Patchwork
2024-05-27 8:24 ` ✗ 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=20240524084807.480971-2-pranay.samala@intel.com \
--to=pranay.samala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jeevan.b@intel.com \
--cc=juha-pekka.heikkila@intel.com \
--cc=kamil.konieczny@linux.intel.com \
--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