forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionP2Critical bugs or normal featuresCritical bugs or normal featuresbugSomething isn't workingSomething isn't workingreuse legacy HDMI codecReuse legacy HDA HDMI codec driver snd-hda-codec-hdmiReuse legacy HDA HDMI codec driver snd-hda-codec-hdmisuspend resumeIssues related to suspend resume (e.g. rtcwake)Issues related to suspend resume (e.g. rtcwake)
Description
Describe the bug
DP output no sound after wake up from s3 during DP playback.
To Reproduce
1.Connect DP external
2.Wait till runtime PM status is suspned
3.Play DP music(aplay -Dhw:0,4 -f dat 1.wav -vv -i)
4.Run command "sudo rtcwake -m mem -s 10" enter S3 then wake up
frequency
3/3
Expected result
DP keep playing after wake up from s3
Actual result
DP output no sound after s3 while console shows music is still playing.
Environment
Firmware: 9152ba7 https://github.com/thesofproject/sof/commits/master
Kernel: 9d7da69 https://github.com/thesofproject/linux/commits/topic/sof-dev
Topology: file: tools/topology/sof-hda-generic-2ch.tplg same as firmware
platform: CML
dmesg
[ 788.675930] Restarting tasks ... done.
[ 788.679653] sof-audio-pci 0000:00:1f.3: hda: prepare stream dir 0
[ 788.679662] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 788.679804] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[ 788.679830] sof-audio-pci 0000:00:1f.3: format_val=49, rate=48000, ch=2, format=10
[ 788.679859] sof-audio-pci 0000:00:1f.3: pcm: prepare stream 4 dir 0
[ 788.679861] sof-audio-pci 0000:00:1f.3: pcm: hw params stream 4 dir 0
[ 788.679872] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 788.679895] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 788.679900] sof-audio-pci 0000:00:1f.3: period_bytes:0x3fc0
[ 788.679902] sof-audio-pci 0000:00:1f.3: periods:4
[ 788.679925] sof-audio-pci 0000:00:1f.3: stream_tag 1
[ 788.679931] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60010000: GLB_STREAM_MSG: PCM_PARAMS
[ 788.680125] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60010000: GLB_STREAM_MSG: PCM_PARAMS
[ 788.680128] sof-audio-pci 0000:00:1f.3: pcm: stream dir 0, posn mailbox offset is 790528
[ 788.680280] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 4 dir 0 cmd 1
[ 788.680953] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x14001e successful
[ 788.680957] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60040000: GLB_STREAM_MSG: TRIG_START
[ 788.681143] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60040000: GLB_STREAM_MSG: TRIG_START
[ 788.681149] sof-audio-pci 0000:00:1f.3: In hda_link_pcm_trigger cmd=1
[ 788.715396] PM: suspend exit
[ 789.481187] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[ 789.481226] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[ 823.800138] sof-audio-pci 0000:00:1f.3: pcm: trigger stream 4 dir 0 cmd 0
[ 823.800708] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
[ 823.800717] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
[ 823.800919] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60050000: GLB_STREAM_MSG: TRIG_STOP
[ 823.800927] sof-audio-pci 0000:00:1f.3: ipc tx: 0x60030000: GLB_STREAM_MSG: PCM_FREE
[ 823.801105] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x60030000: GLB_STREAM_MSG: PCM_FREE
[ 823.801122] sof-audio-pci 0000:00:1f.3: In hda_link_pcm_trigger cmd=0
[ 823.801137] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 823.801275] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[ 823.801416] sof-audio-pci 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 823.801537] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[ 823.801602] sof-audio-pci 0000:00:1f.3: pcm: close stream 4 dir 0
[ 823.802512] sof-audio-pci 0000:00:1f.3: some codecs still powered (00000004), not idle
[ 824.480983] sof-audio-pci 0000:00:1f.3: ipc rx: 0x90020000: GLB_TRACE_MSG
[ 824.481023] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x90020000: GLB_TRACE_MSG
[ 826.006261] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x20140000 successful
[ 826.041431] sof-audio-pci 0000:00:1f.3: ipc tx: 0x40010000: GLB_PM_MSG: CTX_SAVE
[ 826.041614] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x40010000: GLB_PM_MSG: CTX_SAVE
[ 826.041640] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010f0f successful
[ 826.041644] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f successful
[ 826.041647] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 0 : core_mask f
[ 826.041678] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000010 at 00000044
[ 905.540892] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at 00000044
[ 905.540902] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000040 at 00000048
[ 905.540907] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at 00000048
[ 905.543948] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at 00000048
[ 905.543957] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000040 at 00000048
[ 905.544018] sof-audio-pci 0000:00:1f.3: loading firmware
[ 905.544024] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000002 at 00000048
[ 905.544028] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at 00000048
[ 905.544034] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at 00000044
[ 905.544038] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000004 at 00000044
[ 905.544040] sof-audio-pci 0000:00:1f.3: booting DSP firmware
[ 905.544139] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 905.544157] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 905.544162] sof-audio-pci 0000:00:1f.3: period_bytes:0x0
[ 905.544164] sof-audio-pci 0000:00:1f.3: periods:1
[ 905.544259] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
[ 905.544269] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0e successful
[ 905.544273] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
[ 905.544278] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[ 905.544753] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000000 successful
[ 905.544759] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010e0e successful
[ 905.544813] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[ 905.623813] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x5000001 successful
[ 905.635744] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x5 successful
[ 905.635758] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x140000 successful
[ 905.635763] sof-audio-pci 0000:00:1f.3: Firmware download successful, booting...
[ 905.641428] sof-audio-pci 0000:00:1f.3: ipc rx: 0x70000000: FW_READY
[ 905.641436] sof-audio-pci 0000:00:1f.3: ipc: DSP is ready 0x70000000 offset 0x81000
[ 905.641450] sof-audio-pci 0000:00:1f.3: ipc rx done: 0x70000000: FW_READY
[ 905.641510] sof-audio-pci 0000:00:1f.3: firmware boot complete
[ 905.641526] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at 00000048
[ 905.641532] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000002 at 00000048
[ 905.641539] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000004 at 00000044
[ 905.641543] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at 00000044
[ 905.641553] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 905.641572] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x40000 successful
[ 905.641577] sof-audio-pci 0000:00:1f.3: period_bytes:0x0
[ 905.641580] sof-audio-pci 0000:00:1f.3: periods:1
[ 905.641595] sof-audio-pci 0000:00:1f.3: stream_tag: 1
[ 905.641609] sof-audio-pci 0000:00:1f.3: ipc tx: 0x90030000: GLB_TRACE_MSG
[ 905.641891] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x90030000: GLB_TRACE_MSG
[ 905.642471] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x2014001e successful
[ 905.642487] sof-audio-pci 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[ 905.642630] sof-audio-pci 0000:00:1f.3: ipc tx succeeded: 0x30010000: GLB_TPLG_MSG: COMP_NEW
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
CMLApplies to Comet Lake platformApplies to Comet Lake platformHDAApplies to HD-Audio bus for codec connectionApplies to HD-Audio bus for codec connectionP2Critical bugs or normal featuresCritical bugs or normal featuresbugSomething isn't workingSomething isn't workingreuse legacy HDMI codecReuse legacy HDA HDMI codec driver snd-hda-codec-hdmiReuse legacy HDA HDMI codec driver snd-hda-codec-hdmisuspend resumeIssues related to suspend resume (e.g. rtcwake)Issues related to suspend resume (e.g. rtcwake)