From: Pranay Samala <pranay.samala@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: karthik.b.s@intel.com, kunal1.joshi@intel.com,
sameer.lattannavar@intel.com, pranay.samala@intel.com
Subject: [PATCH i-g-t v2 1/2] tests/kms_atomic_transition: Use extended flag for local execution
Date: Wed, 6 Nov 2024 14:49:05 +0530 [thread overview]
Message-ID: <20241106091906.1831538-1-pranay.samala@intel.com> (raw)
There is no need to reduce the debug log level for local executions.
This flag is used to prevent the reduction of the debug log level in
local environments, while it will lower the log level in CI environments.
To avoid reducing the debug log level in local executions, the extended
flag must be explicitly used.
Signed-off-by: Pranay Samala <pranay.samala@intel.com>
---
tests/kms_atomic_transition.c | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c
index f4f8afc66..f11e846d8 100644
--- a/tests/kms_atomic_transition.c
+++ b/tests/kms_atomic_transition.c
@@ -1189,13 +1189,15 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
for_each_connected_output(&data.display, output)
count++;
- dir = igt_sysfs_drm_module_params_open();
- if (dir >= 0) {
- current_log_level = igt_drm_debug_level_get(dir);
- close(dir);
-
- if (current_log_level > 10)
- igt_drm_debug_level_update(10);
+ if (!data.extended) {
+ dir = igt_sysfs_drm_module_params_open();
+ if (dir >= 0) {
+ current_log_level = igt_drm_debug_level_get(dir);
+ close(dir);
+
+ if (current_log_level > 10)
+ igt_drm_debug_level_update(10);
+ }
}
}
--
2.34.1
next reply other threads:[~2024-11-06 9:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-06 9:19 Pranay Samala [this message]
2024-11-06 9:19 ` [PATCH i-g-t v2 2/2] HAX: Do not merge Pranay Samala
2024-11-06 10:48 ` ✗ CI.xeBAT: failure for series starting with [i-g-t,v2,1/2] tests/kms_atomic_transition: Use extended flag for local execution Patchwork
2024-11-06 11:11 ` ✗ Fi.CI.BAT: " Patchwork
2024-11-07 12:02 ` ✗ CI.xeFULL: " Patchwork
[not found] ` <PH7PR11MB6053D85677A7EDB6C2071357E7582@PH7PR11MB6053.namprd11.prod.outlook.com>
2024-11-11 6:39 ` FW: [PATCH i-g-t v2 1/2] " Naladala, Ramanaidu
2024-11-12 11:37 ` ✓ Fi.CI.BAT: success for series starting with [i-g-t,v2,1/2] " Patchwork
2024-11-12 14:20 ` ✗ Fi.CI.IGT: failure " 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=20241106091906.1831538-1-pranay.samala@intel.com \
--to=pranay.samala@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=karthik.b.s@intel.com \
--cc=kunal1.joshi@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