Paulo Zanoni ac2079596c lib/igt_aux: move audio RPM code to igt_setup_runtime_pm()
If we don't enable audio runtime PM, the audio driver won't release
its reference, the refcount won't ever become zero, so we will never
actually runtime suspend. So move this code from pm_rpm.c to
igt_aux.c, so kms_flip - and any other IGT test case using RPM - can
benefit from it.

Previously, if you ran pm_rpm before running the other tests - or if
you just didn't have snd_hda_intel loaded - you wouldn't notice this
bug.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=78893
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
2014-10-22 16:23:42 -02:00
..
2014-09-05 16:52:51 +01:00
2012-04-10 16:23:18 +02:00
2014-06-13 18:27:59 +02:00
2014-06-13 18:27:59 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 12:33:02 +01:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-03-23 13:47:09 +01:00
2014-05-14 09:56:53 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 09:56:53 +02:00
2014-05-14 09:56:53 +02:00
2014-03-23 13:47:09 +01:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 00:36:04 +02:00
2014-06-13 18:27:59 +02:00
2014-05-14 00:36:04 +02:00
2014-05-14 09:56:53 +02:00
2014-03-23 13:47:09 +01:00
2013-11-01 22:18:20 +01:00
2014-09-30 16:46:28 +03:00
2014-10-17 15:34:43 +01:00
2014-09-18 17:36:58 +02:00
2013-11-01 21:10:59 +01:00
2014-06-13 18:27:59 +02:00
2012-01-15 16:05:43 +01:00