From: Anshuman Gupta <anshuman.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t v2] test/intel/xe_guc_pc: Add debug message for gt freq
Date: Mon, 20 Nov 2023 21:43:48 +0530 [thread overview]
Message-ID: <20231120161348.6093-1-anshuman.gupta@intel.com> (raw)
Adding a igt_debug() message for gt freq, it will be
useful to debug the xe_guc_pc igt test failures.
v2:
- Add missed freq argument to igt_debug(). [Riana]
Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
---
tests/intel/xe_guc_pc.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/intel/xe_guc_pc.c b/tests/intel/xe_guc_pc.c
index fa2f20cca..d0ec0ee49 100644
--- a/tests/intel/xe_guc_pc.c
+++ b/tests/intel/xe_guc_pc.c
@@ -166,6 +166,8 @@ static uint32_t get_freq(int fd, int gt_id, const char *freq_name)
while (err == -EAGAIN)
err = igt_sysfs_scanf(gt_fd, freq_attr, "%u", &freq);
+ igt_debug("gt%d: %s freq %u\n", gt_id, freq_name, freq);
+
close(gt_fd);
return freq;
}
--
2.25.1
next reply other threads:[~2023-11-20 16:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-20 16:13 Anshuman Gupta [this message]
2023-11-20 21:05 ` [igt-dev] ✓ Fi.CI.BAT: success for test/intel/xe_guc_pc: Add debug message for gt freq (rev2) Patchwork
2023-11-20 22:45 ` [igt-dev] ✗ CI.xeBAT: failure " Patchwork
2023-11-21 10:30 ` [igt-dev] [PATCH i-g-t v2] test/intel/xe_guc_pc: Add debug message for gt freq Riana Tauro
2023-11-22 11:54 ` [igt-dev] ✓ Fi.CI.BAT: success for test/intel/xe_guc_pc: Add debug message for gt freq (rev3) Patchwork
2023-11-22 12:56 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-11-23 3:53 ` [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=20231120161348.6093-1-anshuman.gupta@intel.com \
--to=anshuman.gupta@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