Skip to content

HDMI playback resume has no sound #737

Closed

Description

@libinyang

This bug happens after resume from S3 when HDMI playback is running. It is obviously detected in 5.0 kernel. In 4.20 kernel, I didn't reproduce this bug. This bug is a general issue from the root cause. It should be reproduced on all platforms.
Reproduce step:

  1. aplay -Dhw:0,n file.wav
  2. call rtcwake to suspend/resume

Run several times of step 1 and step 2, and this bug will be reproduced.

No error message is dumped out.

Activity

  1. self-assigned this
    on Mar 21, 2019
  2. libinyang commented on Mar 21, 2019

    @libinyang
    Author

    This bug only can be reproduced after applying #725
    Without patch #725, playback will be crashed after S3 and never arrive at this bug step.

  3. libinyang commented on Mar 21, 2019

    @libinyang
    Author

    This bug is because of the contest.
    When resume, audio will try to get the lock to power on i915 audio domain. But if i915's lock is occupied, it will sleep. This will cause the contest and make something (register reading and writing on HDMI) which should not happen at that monent happens at that time.

  4. libinyang commented on Mar 22, 2019

    @libinyang
    Author

    Patch is ready: #744

  5. added
    bugSomething isn't working
    P1Blocker bugs or important features
    on Mar 28, 2019
  6. wenqingfu commented on Apr 19, 2019

    @wenqingfu

    Is this still valid? or it's fixed with upstream code merged in after #851? @libinyang

  7. libinyang commented on Apr 20, 2019

    @libinyang
    Author

    This bug is fixed. Mark has merged the patch yesterday.

  8. wenqingfu commented on Apr 20, 2019

    @wenqingfu

    You should have closed it in last reply, and save one conversation cycle. thanks.

  9. libinyang commented on Apr 20, 2019

    @libinyang
    Author

    I planed to close it after QA has verified on the latest kernel. OK. I will close it.

  10. wenqingfu commented on Apr 20, 2019

    @wenqingfu

    thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1Blocker bugs or important featuresbugSomething isn't workingsuspend resumeIssues related to suspend resume (e.g. rtcwake)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions