Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id F20DB10E9F6 for ; Wed, 23 Feb 2022 10:00:05 +0000 (UTC) From: Anshuman Gupta To: igt-dev@lists.freedesktop.org Date: Wed, 23 Feb 2022 15:29:51 +0530 Message-Id: <20220223095951.12430-1-anshuman.gupta@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t] i915_pm_rpm: Use __igt_debugfs_dump for i915_runtime_pm_status List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: petri.latvala@intel.com, badal.nilawar@intel.com Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: 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 --- 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