[REGRESSION / HELP] sound/soc/amd: No sound after suspend/resume on RPL (merged into YC driver)
Mingyou Chen <[email protected]>
| Newsgroups | org.kernel.vger.linux-sound,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
Hi maintainers, I am writing to seek help/report an issue regarding audio losing functionality after suspend/resume. Previously, I merged the acp6x RPL support into the YC driver in commit: df4148a5a3cf ASoC: Add DMIC support for the AMD RPL platform Audio output works normally on fresh boot. After triggering suspend (s2idle) and resuming the system, audio stops working completely. [dmesg Log] [ 6.142953] calling rn_acp_driver_init+0x0/0xff0 [snd_rn_pci_acp3x] @ 912 [ 6.144924] initcall rn_acp_driver_init+0x0/0xff0 [snd_rn_pci_acp3x] returned 0 after 1213 usecs [ 6.253716] calling snd_amd_acp_pci_driver_init+0x0/0xff0 [snd_acp_pci] @ 912 [ 6.253744] initcall snd_amd_acp_pci_driver_init+0x0/0xff0 [snd_acp_pci] returned 0 after 23 usecs [ 6.300683] calling hda_bus_init+0x0/0xff0 [snd_hda_core] @ 907 [ 6.300707] initcall hda_bus_init+0x0/0xff0 [snd_hda_core] returned 0 after 13 usecs [ 6.322903] calling azx_driver_init+0x0/0xff0 [snd_hda_intel] @ 907 [ 6.323030] snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002) [ 6.323128] snd_hda_intel 0000:01:00.1: Disabling MSI [ 6.323135] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client [ 6.323250] snd_hda_intel 0000:07:00.1: enabling device (0000 -> 0002) [ 6.323300] snd_hda_intel 0000:07:00.1: Handle vga_switcheroo audio client [ 6.323341] snd_hda_intel 0000:07:00.6: enabling device (0000 -> 0002) [ 6.323390] initcall azx_driver_init+0x0/0xff0 [snd_hda_intel] returned 0 after 480 usecs [ 6.332088] calling generichdmi_driver_init+0x0/0xff0 [snd_hda_codec_hdmi] @ 1078 [ 6.332109] initcall generichdmi_driver_init+0x0/0xff0 [snd_hda_codec_hdmi] returned 0 after 13 usecs [ 6.334872] calling nvhdmi_driver_init+0x0/0xff0 [snd_hda_codec_nvhdmi] @ 1079 [ 6.335493] calling atihdmi_driver_init+0x0/0xff0 [snd_hda_codec_atihdmi] @ 941 [ 6.336448] snd_hda_intel 0000:07:00.1: bound 0000:07:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu]) [ 6.337487] initcall atihdmi_driver_init+0x0/0xff0 [snd_hda_codec_atihdmi] returned 0 after 1889 usecs [ 6.339335] calling generic_driver_init+0x0/0xff0 [snd_hda_codec_generic] @ 1081 [ 6.339358] initcall generic_driver_init+0x0/0xff0 [snd_hda_codec_generic] returned 0 after 17 usecs [ 6.341222] initcall nvhdmi_driver_init+0x0/0xff0 [snd_hda_codec_nvhdmi] returned 0 after 993 usecs [ 6.343098] calling conexant_driver_init+0x0/0xff0 [snd_hda_codec_conexant] @ 948 [ 6.343118] snd_hda_codec_conexant hdaudioC2D0: SN6140: BIOS auto-probing. [ 6.343542] snd_hda_codec_conexant hdaudioC2D0: SN6140: picked fixup for codec SSID 17aa:0000 [ 6.343605] snd_hda_codec_conexant hdaudioC2D0: autoconfig for SN6140: line_outs=1 (0x17/0x0/0x0/0x0/0x0) type:speaker [ 6.343609] snd_hda_codec_conexant hdaudioC2D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 6.343611] snd_hda_codec_conexant hdaudioC2D0: hp_outs=1 (0x16/0x0/0x0/0x0/0x0) [ 6.343613] snd_hda_codec_conexant hdaudioC2D0: mono: mono_out=0x0 [ 6.343614] snd_hda_codec_conexant hdaudioC2D0: inputs: [ 6.343615] snd_hda_codec_conexant hdaudioC2D0: Mic=0x19 [ 6.347674] initcall conexant_driver_init+0x0/0xff0 [snd_hda_codec_conexant] returned 0 after 652 usecs [ 6.526509] probe of acp_yc_pdm_dma.0 returned 0 after 26 usecs [ 6.526512] acp_yc_mach acp_yc_mach.0: Enabling ACP DMIC support via DMI [ 6.526734] probe of acp_yc_mach.0 returned 0 after 246 usecs [ 16.054575] snd_hda_intel 0000:01:00.1: calling nv_msi_ht_cap_quirk_leaf+0x0/0x30 @ 2245 [ 16.054586] snd_hda_intel 0000:01:00.1: nv_msi_ht_cap_quirk_leaf+0x0/0x30 took 3 usecs [ 32.373277] snd_hda_codec_conexant hdaudioC2D0: PM: calling hda_codec_pm_suspend [snd_hda_codec] @ 973, parent: 0000:07:00.6 [ 32.373280] snd_hda_codec_nvhdmi hdaudioC0D0: PM: calling hda_codec_pm_suspend [snd_hda_codec] @ 2608, parent: 0000:01:00.1 [ 32.373286] snd_hda_codec_atihdmi hdaudioC1D0: PM: calling hda_codec_pm_suspend [snd_hda_codec] @ 825, parent: 0000:07:00.1 [ 32.373803] acp_yc_mach acp_yc_mach.0: PM: calling platform_pm_suspend @ 4869, parent: 0000:07:00.5 [ 32.373813] acp_yc_mach acp_yc_mach.0: PM: platform_pm_suspend returned 0 after 6 usecs [ 32.373822] acp_yc_pdm_dma acp_yc_pdm_dma.0: PM: calling platform_pm_suspend @ 4869, parent: 0000:07:00.5 [ 32.373828] acp_yc_pdm_dma acp_yc_pdm_dma.0: PM: platform_pm_suspend returned 0 after 2 usecs [ 32.383535] snd_hda_codec_atihdmi hdaudioC1D0: PM: hda_codec_pm_suspend [snd_hda_codec] returned 0 after 10235 usecs [ 32.383547] snd_hda_intel 0000:07:00.1: PM: calling pci_pm_suspend @ 4959, parent: 0000:00:08.1 [ 32.383557] snd_hda_intel 0000:07:00.1: PM: pci_pm_suspend returned 0 after 5 usecs [ 32.384686] snd_hda_codec_nvhdmi hdaudioC0D0: PM: hda_codec_pm_suspend [snd_hda_codec] returned 0 after 11394 usecs [ 32.384702] snd_hda_intel 0000:01:00.1: PM: calling pci_pm_suspend @ 4958, parent: 0000:00:01.1 [ 32.385395] snd_hda_codec_conexant hdaudioC2D0: PM: hda_codec_pm_suspend [snd_hda_codec] returned 0 after 12105 usecs [ 32.385406] snd_hda_intel 0000:07:00.6: PM: calling pci_pm_suspend @ 4957, parent: 0000:00:08.1 [ 32.385509] snd_hda_intel 0000:01:00.1: PM: pci_pm_suspend returned 0 after 803 usecs [ 32.386452] snd_hda_intel 0000:07:00.6: PM: pci_pm_suspend returned 0 after 1042 usecs [ 32.548232] snd_hda_intel 0000:07:00.6: PM: calling pci_pm_suspend_late @ 1934, parent: 0000:00:08.1 [ 32.548238] snd_hda_intel 0000:07:00.6: PM: pci_pm_suspend_late returned 0 after 0 usecs [ 32.548247] snd_hda_intel 0000:07:00.1: PM: calling pci_pm_suspend_late @ 773, parent: 0000:00:08.1 [ 32.548248] snd_hda_intel 0000:01:00.1: PM: calling pci_pm_suspend_late @ 753, parent: 0000:00:01.1 [ 32.548256] snd_hda_intel 0000:07:00.1: PM: pci_pm_suspend_late returned 0 after 0 usecs [ 32.548265] snd_hda_intel 0000:01:00.1: PM: pci_pm_suspend_late returned 0 after 0 usecs [ 32.550201] snd_hda_intel 0000:07:00.6: PM: calling pci_pm_suspend_noirq @ 4965, parent: 0000:00:08.1 [ 32.550208] snd_hda_intel 0000:01:00.1: PM: calling pci_pm_suspend_noirq @ 753, parent: 0000:00:01.1 [ 32.550315] snd_hda_intel 0000:07:00.1: PM: calling pci_pm_suspend_noirq @ 773, parent: 0000:00:08.1 [ 32.563453] snd_hda_intel 0000:07:00.6: PM: pci_pm_suspend_noirq returned 0 after 13245 usecs [ 32.564480] snd_hda_intel 0000:07:00.1: PM: pci_pm_suspend_noirq returned 0 after 14160 usecs [ 32.574594] snd_hda_intel 0000:01:00.1: PM: pci_pm_suspend_noirq returned 0 after 24381 usecs [ 34.136842] snd_hda_intel 0000:07:00.6: PM: calling pci_pm_resume_noirq @ 773, parent: 0000:00:08.1 [ 34.149039] snd_hda_intel 0000:07:00.1: PM: calling pci_pm_resume_noirq @ 4967, parent: 0000:00:08.1 [ 34.152548] snd_hda_intel 0000:07:00.6: PM: pci_pm_resume_noirq returned 0 after 15697 usecs [ 34.161115] snd_hda_intel 0000:07:00.1: PM: pci_pm_resume_noirq returned 0 after 12069 usecs [ 34.528188] nvidia 0000:01:00.0: calling quirk_nvidia_hda+0x0/0x80 @ 1346 [ 34.528200] nvidia 0000:01:00.0: quirk_nvidia_hda+0x0/0x80 took 4 usecs [ 34.528251] snd_hda_intel 0000:01:00.1: PM: calling pci_pm_resume_noirq @ 1344, parent: 0000:00:01.1 [ 34.528313] snd_hda_intel 0000:01:00.1: calling nv_msi_ht_cap_quirk_leaf+0x0/0x30 @ 1344 [ 34.528325] snd_hda_intel 0000:01:00.1: nv_msi_ht_cap_quirk_leaf+0x0/0x30 took 5 usecs [ 34.528331] snd_hda_intel 0000:01:00.1: PM: pci_pm_resume_noirq returned 0 after 69 usecs [ 34.529178] snd_hda_intel 0000:01:00.1: PM: calling pci_pm_resume_early @ 4978, parent: 0000:00:01.1 [ 34.529187] snd_hda_intel 0000:01:00.1: PM: pci_pm_resume_early returned 0 after 0 usecs [ 34.529210] snd_hda_intel 0000:07:00.1: PM: calling pci_pm_resume_early @ 219, parent: 0000:00:08.1 [ 34.529212] snd_hda_intel 0000:07:00.6: PM: calling pci_pm_resume_early @ 4978, parent: 0000:00:08.1 [ 34.529215] snd_hda_intel 0000:07:00.1: PM: pci_pm_resume_early returned 0 after 0 usecs [ 34.529218] snd_hda_intel 0000:07:00.6: PM: pci_pm_resume_early returned 0 after 0 usecs [ 34.532175] snd_hda_intel 0000:01:00.1: PM: calling pci_pm_resume @ 4974, parent: 0000:00:01.1 [ 34.532434] snd_hda_intel 0000:07:00.6: PM: calling pci_pm_resume @ 4992, parent: 0000:00:08.1 [ 34.536184] snd_hda_intel 0000:01:00.1: PM: pci_pm_resume returned 0 after 4003 usecs [ 34.536193] snd_hda_codec_nvhdmi hdaudioC0D0: PM: calling hda_codec_pm_resume [snd_hda_codec] @ 4974, parent: 0000:01:00.1 [ 34.536340] snd_hda_codec_nvhdmi hdaudioC0D0: PM: hda_codec_pm_resume [snd_hda_codec] returned 0 after 0 usecs [ 34.635460] snd_hda_intel 0000:07:00.6: CORB reset timeout#2, CORBRP = 65535 [ 34.635469] snd_hda_intel 0000:07:00.6: PM: pci_pm_resume returned 0 after 103028 usecs [ 34.635475] snd_hda_codec_conexant hdaudioC2D0: PM: calling hda_codec_pm_resume [snd_hda_codec] @ 4992, parent: 0000:07:00.6 [ 34.635503] snd_hda_codec_conexant hdaudioC2D0: PM: hda_codec_pm_resume [snd_hda_codec] returned 0 after 0 usecs [ 34.637039] Modules linked in: nft_masq veth bridge stp llc rfcomm snd_seq_dummy snd_hrtimer nft_nat nft_redir tun overlay nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nvidia_uvm(OE) nf_tables nfnetlink qrtr bnep sunrpc binfmt_misc vfat f2fs fat nvidia_drm(OE) snd_ctl_led nvidia_modeset(OE) snd_soc_acp6x_mach snd_soc_dmic snd_acp6x_pdm_dma snd_sof_amd_acp70 snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp amd_atl snd_sof intel_rapl_msr intel_rapl_common iwlmvm snd_sof_utils nvidia(OE) snd_pci_ps snd_soc_acpi_amd_match snd_amd_sdw_acpi mac80211 soundwire_amd snd_hda_codec_conexant soundwire_generic_allocation soundwire_bus snd_hda_codec_generic edac_mce_amd snd_hda_codec_atihdmi snd_hda_codec_nvhdmi snd_soc_sdca snd_hda_codec_hdmi snd_hda_intel uvcvideo snd_soc_core [ 34.637104] kvm_amd snd_hda_codec uvc btusb videobuf2_vmalloc videobuf2_memops libarc4 btmtk snd_hda_core snd_compress videobuf2_v4l2 ac97_bus btrtl kvm snd_pcm_dmaengine snd_intel_dspcfg videobuf2_common btbcm snd_acp_pci snd_intel_sdw_acpi btintel snd_hwdep snd_amd_acpi_mach iwlwifi spd5118 videodev snd_seq snd_acp_legacy_common irqbypass bluetooth snd_pci_acp6x snd_seq_device mc rapl bitland_mifs_wmi cfg80211 pcspkr sparse_keymap snd_pci_acp5x wmi_bmof snd_pcm r8169 snd_rn_pci_acp3x snd_timer snd_acp_config joydev snd realtek snd_soc_acpi i2c_piix4 rfkill wireless_hotkey amd_pmc phy_package k10temp i2c_smbus snd_pci_acp3x soundcore zstd zram lz4hc_compress lz4_compress amdgpu drm_buddy amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec ucsi_acpi drm_panel_backlight_quirks typec_ucsi gpu_sched hid_multitouch nvme typec drm_suballoc_helper drm_display_helper thunderbolt i2c_hid_acpi nvme_core i2c_hid cec video nvme_keyring wmi nvme_auth sp5100_tco serio_raw fuse i2c_dev uinput [ 34.740640] snd_hda_intel 0000:07:00.1: PM: calling pci_pm_resume @ 219, parent: 0000:00:08.1 [ 34.740803] acp_yc_pdm_dma acp_yc_pdm_dma.0: PM: calling platform_pm_resume @ 4869, parent: 0000:07:00.5 [ 34.740815] acp_yc_pdm_dma acp_yc_pdm_dma.0: PM: platform_pm_resume returned 0 after 6 usecs [ 34.740826] acp_yc_mach acp_yc_mach.0: PM: calling platform_pm_resume @ 4869, parent: 0000:07:00.5 [ 34.740833] acp_yc_mach acp_yc_mach.0: PM: platform_pm_resume returned 0 after 4 usecs [ 34.742747] snd_hda_intel 0000:07:00.1: PM: pci_pm_resume returned 0 after 2097 usecs [ 34.742778] snd_hda_codec_atihdmi hdaudioC1D0: PM: calling hda_codec_pm_resume [snd_hda_codec] @ 4992, parent: 0000:07:00.1 [ 34.742796] snd_hda_codec_atihdmi hdaudioC1D0: PM: hda_codec_pm_resume [snd_hda_codec] returned 0 after 0 usecs