Commit f6820d90 authored by Lionel Landwerlin's avatar Lionel Landwerlin

tests/pm_sseu: dump the bit of sysfs

We're seeing failures on the CI but we're missing the dump of what has
been read to help us understand what's going wrong.
Signed-off-by: Lionel Landwerlin's avatarLionel Landwerlin <>
Reviewed-by: Chris Wilson's avatarChris Wilson <>
parent bf777c92
......@@ -154,6 +154,9 @@ dbg_get_status(struct status *stat)
memset(stat, 0, sizeof(*stat));
dbg_get_status_section("SSEU Device Info", &first, &last);
for (char *tmp = first; tmp < last; tmp++)
igt_debug("%c", *tmp);
stat->info.slice_total =
dbg_get_int(first, last, "Available Slice Total:");
stat->info.subslice_total =
......@@ -172,6 +175,9 @@ dbg_get_status(struct status *stat)
dbg_get_bool(first, last, "Has EU Power Gating:");
dbg_get_status_section("SSEU Device Status", &first, &last);
for (char *tmp = first; tmp < last; tmp++)
igt_debug("%c", *tmp);
stat->hw.slice_total =
dbg_get_int(first, last, "Enabled Slice Total:");
stat->hw.subslice_total =
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment