summaryrefslogtreecommitdiff
path: root/tests/i915
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-03-04 15:15:08 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-03-07 11:38:19 +0000
commit51b8d4cfde8d5b0176180b9683accea91474c7ff (patch)
tree480d95a0933bfb398b1925fa5a35dad3996a5b08 /tests/i915
parent91908d36d0d5c90eea86e29736d2748d5ec55335 (diff)
i915/pm_rpm: Show the rpm status after disabling screens
To have a clearer picture at what may still be holding a wakeref when all is disabled, show the wakerefs just before we start our wait believing that no wakerefs remain. References: https://bugs.freedesktop.org/show_bug.cgi?id=108800 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'tests/i915')
-rw-r--r--tests/i915/i915_pm_rpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index be296f52..759c76ea 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -756,8 +756,6 @@ static bool setup_environment(void)
has_runtime_pm = igt_setup_runtime_pm();
setup_pc8();
- dump_file(debugfs, "i915_runtime_pm_status");
-
igt_info("Runtime PM support: %d\n", has_runtime_pm);
igt_info("PC8 residency support: %d\n", has_pc8);
igt_require(has_runtime_pm);
@@ -765,6 +763,8 @@ static bool setup_environment(void)
out:
disable_all_screens(&ms_data);
+ dump_file(debugfs, "i915_runtime_pm_status");
+
return wait_for_suspended();
}