Skip to content
Snippets Groups Projects
Commit 0e65d4f8 authored by Anshuman Gupta's avatar Anshuman Gupta Committed by Kamil Konieczny
Browse files

test/intel/xe_guc_pc: Add debug message for gt freq


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: default avatarAnshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: default avatarRiana Tauro <riana.tauro@intel.com>
parent 81462e71
No related branches found
No related tags found
No related merge requests found
...@@ -166,6 +166,8 @@ static uint32_t get_freq(int fd, int gt_id, const char *freq_name) ...@@ -166,6 +166,8 @@ static uint32_t get_freq(int fd, int gt_id, const char *freq_name)
while (err == -EAGAIN) while (err == -EAGAIN)
err = igt_sysfs_scanf(gt_fd, freq_attr, "%u", &freq); 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); close(gt_fd);
return freq; return freq;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment