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-07-23 16:43:05 +01:00
2013-12-05 15:32:42 -08:00
2014-02-20 13:42:25 +00:00
2011-03-29 22:52:50 +02:00
2014-10-17 15:34:43 +01:00
2014-10-17 15:34:43 +01:00
2014-10-17 15:34:43 +01:00
2014-09-06 12:11:08 +01:00
2014-09-18 12:56:56 +03:00
2014-09-30 17:54:02 +01:00
2014-09-30 12:21:02 +01:00
2014-09-30 12:21:02 +01:00