diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-11-22 16:43:53 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-11-26 16:55:17 +0100 |
commit | 8218df93b7c4b1c6d02c4f726029e10efa4b7ca2 (patch) | |
tree | d00fba30680aab8e0a19db08c7742734712705df /sound/pci/hda | |
parent | 73b1422bdfbb379332b2a5529148cda58e84315a (diff) | |
download | linux-8218df93b7c4b1c6d02c4f726029e10efa4b7ca2.tar.bz2 |
ALSA: hda/hdmi - enable automatic runtime pm for AMD HDMI codecs by default
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>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/patch_hdmi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c index bffde594e204..f5a618fff1ec 100644 --- 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; } |