[Intel-gfx] [PATCH i-g-t] lib/pm: Fix some runtime PM issues

2018-07-20 Thread Tvrtko Ursulin
From: Tvrtko Ursulin 1. It seems that on many systems the hardcoded PCI path in igt_pm_audio_setup_runtime_pm is not correct. Add some more paths to work around the issue. More robust solution would be to look for a symlink of a specific format and use that, such as: # ls -ld /sys/bus/pci/dri

[Intel-gfx] [PATCH i-g-t] lib/pm: Fix some runtime PM issues

2018-07-20 Thread Tvrtko Ursulin
From: Tvrtko Ursulin 1. It seems that on many systems the hardcoded PCI path in igt_pm_audio_setup_runtime_pm is not correct. Add some more paths to work around the issue. More robust solution would be to look for a symlink of a specific format and use that, such as: # ls -ld /sys/bus/pci/dri