All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ALSA: x86: Fix runtime PM for hdmi-lpe-audio
@ 2018-10-24 15:48 Ville Syrjala
  2018-10-24 15:48 ` [PATCH 2/2] ALSA: x86: Rip out the lpe audio runtime suspend/resume hooks Ville Syrjala
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Ville Syrjala @ 2018-10-24 15:48 UTC (permalink / raw)
  To: alsa-devel; +Cc: Takashi Iwai, intel-gfx

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Commit 46e831abe864 ("drm/i915/lpe: Mark LPE audio runtime pm as
"no callbacks"") broke runtime PM with lpe audio. We can no longer
runtime suspend the GPU since the sysfs  power/control for the
lpe-audio device no longer exists and the device is considered
always active. We can fix this by not marking the device as
active.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fixes: 46e831abe864 ("drm/i915/lpe: Mark LPE audio runtime pm as "no callbacks"")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 sound/x86/intel_hdmi_audio.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sound/x86/intel_hdmi_audio.c b/sound/x86/intel_hdmi_audio.c
index 83d76c345940..bbed4acaafd1 100644
--- a/sound/x86/intel_hdmi_audio.c
+++ b/sound/x86/intel_hdmi_audio.c
@@ -1877,7 +1877,6 @@ static int hdmi_lpe_audio_probe(struct platform_device *pdev)
 
 	pm_runtime_use_autosuspend(&pdev->dev);
 	pm_runtime_mark_last_busy(&pdev->dev);
-	pm_runtime_set_active(&pdev->dev);
 
 	dev_dbg(&pdev->dev, "%s: handle pending notification\n", __func__);
 	for_each_port(card_ctx, port) {
-- 
2.18.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2018-11-02 16:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-24 15:48 [PATCH 1/2] ALSA: x86: Fix runtime PM for hdmi-lpe-audio Ville Syrjala
2018-10-24 15:48 ` [PATCH 2/2] ALSA: x86: Rip out the lpe audio runtime suspend/resume hooks Ville Syrjala
2018-10-25  6:53   ` Chris Wilson
2018-10-24 15:52 ` [PATCH 1/2] ALSA: x86: Fix runtime PM for hdmi-lpe-audio Chris Wilson
2018-10-24 16:28   ` Ville Syrjälä
2018-10-24 16:32     ` Chris Wilson
2018-10-25  6:50       ` Chris Wilson
2018-10-26 16:56         ` Ville Syrjälä
2018-10-24 16:09 ` Chris Wilson
2018-10-24 17:02 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] " Patchwork
2018-10-24 17:19 ` ✓ Fi.CI.BAT: success " Patchwork
2018-10-24 22:08 ` ✓ Fi.CI.IGT: " Patchwork
2018-11-01 15:24 ` [PATCH 1/2] " Ville Syrjälä
2018-11-02  9:31   ` Takashi Iwai
2018-11-02 16:20     ` Ville Syrjälä

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.