Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v2] test/intel/xe_guc_pc: Add debug message for gt freq
@ 2023-11-20 16:13 Anshuman Gupta
  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
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Anshuman Gupta @ 2023-11-20 16:13 UTC (permalink / raw)
  To: igt-dev

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-11-23  3:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-20 16:13 [igt-dev] [PATCH i-g-t v2] test/intel/xe_guc_pc: Add debug message for gt freq Anshuman Gupta
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox