Skip to content

runtime suspend/resume doesn't work when no hdmi pipelines defined in tplg file(with idisp BEs defined in machine driver). #234

Closed

Description

@keyonjie

it can't enter suspend as hdmi codec driver is always waiting for hdmi codec probing.

Activity

  1. plbossart commented on Oct 31, 2018

    @plbossart
    Member

    @keyonjie thanks for report. Can you please add more details so that people can reproduce your finding?

  2. plbossart commented on Mar 24, 2019

    @plbossart
    Member

    @keyonjie this issue has not been updated since October 31, 2018, there is no description of the issue. Should it be closed or is this still open?

  3. self-assigned this
    on Mar 26, 2019
  4. stripes416 commented on Apr 10, 2019

    @stripes416

    @keyonjie I've tested this on my up2 board to see if this is still an issue (per @ranj063 recommendations) I'm not seeing the issue you mentioned, but full disclosure, I couldn't replicate the issue as described either.

    I tested sof-apl-pcm512x.tplg from latest topic/sof-dev built with and without HDA.

    I've included two files - each containing data from one of the runs:
    dmesg logs + the output from 'cat /proc/asound/pcm' + the output of alias
    pcm_status="cat /sys/bus/pci/devices/0000\:00\:0e.0/power/runtime_status"

    pcm_dmesg_with-HDA.txt
    pcm_dmesg_no-HDA.txt

  5. keyonjie commented on Apr 11, 2019

    @keyonjie
    Author

    @stripes416 @zhuyingjiang the issue happened at when there is no hdmi/idisp pcm defined in tplg file, it was firstly found by @bardliao iirc, Bard and Libin did some work on that, I am not sure if it is already fixed in the latest code base, Can you comment out these in sof-apl-pcm512.m4 and retry if you can enter suspend?

    # Low Latency playback pipeline 2 on PCM 1 using max 2 channels of s32le.
    # Schedule 48 frames per 1000us deadline on core 0 with priority 0
    PIPELINE_PCM_ADD(sof/pipe-volume-playback.m4,
            2, 1, 2, s32le,
            48, 1000, 0, 0)
    
    # Low Latency playback pipeline 3 on PCM 2 using max 2 channels of s32le.
    # Schedule 48 frames per 1000us deadline on core 0 with priority 0
    PIPELINE_PCM_ADD(sof/pipe-volume-playback.m4,
            3, 2, 2, s32le,
            48, 1000, 0, 0)
    
    # Low Latency playback pipeline 4 on PCM 3 using max 2 channels of s32le.
    # Schedule 48 frames per 1000us deadline on core 0 with priority 0
    PIPELINE_PCM_ADD(sof/pipe-volume-playback.m4,
            4, 3, 2, s32le,
            48, 1000, 0, 0)
    
    
  6. zhuyingjiang commented on Apr 11, 2019

    @zhuyingjiang

    I verified on Up2 with sof-apl-pcm512x-nohdmi.tplg, the Up2 can normally do suspend/resume. So we can close this issue.

  7. keyonjie commented on Apr 11, 2019

    @keyonjie
    Author

    good, thanks @zhuyingjiang and @stripes416

  8. stripes416 commented on Apr 11, 2019

    @stripes416
  9. added a commit that references this issue on May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions