igt-dev.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib: Squelch warning for failing to enable audio powermanagement
@ 2018-08-31 13:58 Chris Wilson
  2018-08-31 17:18 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Chris Wilson @ 2018-08-31 13:58 UTC (permalink / raw)
  To: igt-dev; +Cc: Tvrtko Ursulin

It doesn't seem to be preventing rpm (see the pm_rpm tests) if we fail
to enable runtime-powermanagement for audio, so reduce the warning to a
debug. It will still be visible if it fails, but only if it fails.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
 lib/igt_pm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/igt_pm.c b/lib/igt_pm.c
index 339a51e6f..b1f359d8b 100644
--- a/lib/igt_pm.c
+++ b/lib/igt_pm.c
@@ -260,7 +260,7 @@ void igt_pm_enable_audio_runtime_pm(void)
 
 	err = __igt_pm_enable_audio_runtime_pm();
 	if (err)
-		igt_warn("Failed to enable audio runtime PM! (%d)\n", -err);
+		igt_debug("Failed to enable audio runtime PM! (%d)\n", -err);
 }
 
 /**
-- 
2.19.0.rc1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2018-09-04 10:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-31 13:58 [igt-dev] [PATCH i-g-t] lib: Squelch warning for failing to enable audio powermanagement Chris Wilson
2018-08-31 17:18 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-09-01  2:34 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2018-09-04  9:39 ` [igt-dev] [PATCH i-g-t] " Imre Deak
2018-09-04  9:43   ` Chris Wilson
2018-09-04  9:45     ` Chris Wilson
2018-09-04 10:10       ` Imre Deak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).