ALSA: hda/hdmi - enable runtime pm for more AMD display audio
authorEvan Quan <evan.quan@amd.com>
Tue, 8 Nov 2022 08:47:46 +0000 (16:47 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Nov 2022 09:13:24 +0000 (10:13 +0100)
We are able to power down the GPU and audio via the GPU driver
so flag these asics as supporting runtime pm.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20221108084746.583058-1-evan.quan@amd.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c

index 92f66bbc5c91e574a271672a1ad01ac7fa9f5d11..87002670c0c925e94e55a764b8d54daf61ca9647 100644 (file)
@@ -2711,6 +2711,9 @@ static const struct pci_device_id azx_ids[] = {
        { PCI_DEVICE(0x1002, 0xab28),
          .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS |
          AZX_DCAPS_PM_RUNTIME },
+       { PCI_DEVICE(0x1002, 0xab30),
+         .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS |
+         AZX_DCAPS_PM_RUNTIME },
        { PCI_DEVICE(0x1002, 0xab38),
          .driver_data = AZX_DRIVER_ATIHDMI_NS | AZX_DCAPS_PRESET_ATI_HDMI_NS |
          AZX_DCAPS_PM_RUNTIME },