Re: [Intel-gfx] [PATCH 01/11] drm/i915: Fix runtime PM for LPE audio

2017-04-28 Thread Takashi Iwai
On Thu, 27 Apr 2017 18:02:20 +0200, ville.syrj...@linux.intel.com wrote: > > From: Ville Syrjälä > > Not calling pm_runtime_enable() means that runtime PM can't be > enabled at all via sysfs. So we definitely need to call it > from somewhere. > > Calling it from the driver seems like a bad idea

[Intel-gfx] [PATCH 01/11] drm/i915: Fix runtime PM for LPE audio

2017-04-27 Thread ville . syrjala
From: Ville Syrjälä Not calling pm_runtime_enable() means that runtime PM can't be enabled at all via sysfs. So we definitely need to call it from somewhere. Calling it from the driver seems like a bad idea because it would have to be paired with a pm_runtime_disable() at driver unload time, oth

[Intel-gfx] [PATCH 01/11] drm/i915: Fix runtime PM for LPE audio

2017-04-25 Thread ville . syrjala
From: Ville Syrjälä Not calling pm_runtime_enable() means that runtime PM can't be enabled at all via sysfs. So we definitely need to call it from somewhere. Calling it from the driver seems like a bad idea because it would have to be paired with a pm_runtime_disable() at driver unload time, oth