Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] i915_pm_rpm: Use __igt_debugfs_dump for i915_runtime_pm_status
@ 2022-02-23  9:59 Anshuman Gupta
  2022-02-23 11:38 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Anshuman Gupta @ 2022-02-23  9:59 UTC (permalink / raw)
  To: igt-dev; +Cc: petri.latvala, badal.nilawar

Use __igt_debugfs_dump() in wait_for_suspended() in order to
specify explicit igt log level.
We need to dump the i915_runtime_pm_status even in case of igt
test's skips as well, that requires log level to be IGT_LOG_INFO.

Signed-off-by: Anshuman Gupta <anshuman.gupta@intel.com>
---
 tests/i915/i915_pm_rpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/i915_pm_rpm.c b/tests/i915/i915_pm_rpm.c
index 6c8ffbd5d..eb4c4f4e3 100644
--- a/tests/i915/i915_pm_rpm.c
+++ b/tests/i915/i915_pm_rpm.c
@@ -207,7 +207,7 @@ static bool wait_for_suspended(void)
 		bool suspended = igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED);
 
 		if (!suspended)
-			igt_debugfs_dump(drm_fd, "i915_runtime_pm_status");
+			__igt_debugfs_dump(drm_fd, "i915_runtime_pm_status", IGT_LOG_INFO);
 
 		return suspended;
 	}
-- 
2.26.2

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

end of thread, other threads:[~2022-02-23 21:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-23  9:59 [igt-dev] [PATCH i-g-t] i915_pm_rpm: Use __igt_debugfs_dump for i915_runtime_pm_status Anshuman Gupta
2022-02-23 11:38 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2022-02-23 15:57 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh
2022-02-23 16:08   ` Gupta, Anshuman
2022-02-23 16:31     ` Dixit, Ashutosh
2022-02-23 16:53 ` [igt-dev] [PATCH i-g-t v2] " Anshuman Gupta
2022-02-23 16:54   ` Dixit, Ashutosh
2022-02-23 18:27 ` [igt-dev] ✗ Fi.CI.BAT: failure for i915_pm_rpm: Use __igt_debugfs_dump for i915_runtime_pm_status (rev2) Patchwork
2022-02-23 21:22 ` [igt-dev] ✓ Fi.CI.IGT: success for i915_pm_rpm: Use __igt_debugfs_dump for i915_runtime_pm_status Patchwork

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