summaryrefslogtreecommitdiff
path: root/lib/igt_aux.h
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2014-10-21 11:45:59 -0200
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2014-10-22 16:23:42 -0200
commitac2079596c0a8119f77d58ae3d5e3f8e13e5b96d (patch)
tree7848a36e59b21d85319e6dede1ce040a5d011316 /lib/igt_aux.h
parenta06071c0cf66f1a077563fb3ffa15856a57db18d (diff)
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>
Diffstat (limited to 'lib/igt_aux.h')
0 files changed, 0 insertions, 0 deletions