summaryrefslogtreecommitdiff
path: root/lib/igt_pm.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-08-31 14:56:48 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-09-04 10:44:29 +0100
commit4fea665b29622baf1692e7f949fcfb8ed993fa36 (patch)
tree6834240b626e62f69d6736ae9a0b9dfb81252e0a /lib/igt_pm.c
parent022be555443eaa3317da6a9a451cf2c9dfcd6ab8 (diff)
lib/pm: Squelch warning for failing to enable audio powermanagement
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> Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'lib/igt_pm.c')
-rw-r--r--lib/igt_pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/igt_pm.c b/lib/igt_pm.c
index 339a51e6..b1f359d8 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);
}
/**