projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73b1422
)
ALSA: hda/hdmi - enable automatic runtime pm for AMD HDMI codecs by default
author
Alex Deucher
<alexander.deucher@amd.com>
Fri, 22 Nov 2019 21:43:53 +0000
(16:43 -0500)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 26 Nov 2019 15:55:17 +0000
(16:55 +0100)
So that we can power down the GPU and audio to save power.
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link:
https://lore.kernel.org/r/20191122214353.582899-5-alexander.deucher@amd.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/patch_hdmi.c
b/sound/pci/hda/patch_hdmi.c
index bffde594e2040e1e97a4cd8413550bdaa433b7fd..f5a618fff1ec9b3a3464d47248477c949caf0ad2 100644
(file)
--- a/
sound/pci/hda/patch_hdmi.c
+++ b/
sound/pci/hda/patch_hdmi.c
@@
-4063,6
+4063,7
@@
static int atihdmi_init(struct hda_codec *codec)
ATI_VERB_SET_MULTICHANNEL_MODE,
ATI_MULTICHANNEL_MODE_SINGLE);
}
+ codec->auto_runtime_pm = 1;
return 0;
}