Skip to content

NVIDIA: SAUCE: sound/hda: add runtime PM suspend/resume to ACPI controller#496

Open
dcemin-nv wants to merge 1 commit into
NVIDIA:24.04_linux-nvidia-7.0-nextfrom
dcemin-nv:24.04_linux-nvidia-7.0-next
Open

NVIDIA: SAUCE: sound/hda: add runtime PM suspend/resume to ACPI controller#496
dcemin-nv wants to merge 1 commit into
NVIDIA:24.04_linux-nvidia-7.0-nextfrom
dcemin-nv:24.04_linux-nvidia-7.0-next

Conversation

@dcemin-nv

Copy link
Copy Markdown

The hda-acpi platform driver never enables runtime PM, so
pm_runtime_force_suspend() in hda_acpi_suspend() skips the runtime
callbacks. On resume the controller is therefore never re-initialised:
azx_init_chip() is called only at probe time, so after S3 the codec
verbs time out and audio is dead until the driver is rebound.

Add explicit runtime_suspend/runtime_resume callbacks and invoke them
from the system-sleep paths, mirroring the pattern used by snd-hda-intel.
Board-tested on N1x (NVDA2014): resume latency drops from 81.5s to 3.6s
and audio is live immediately after wake.

…oller

The hda-acpi platform driver never enables runtime PM, so
pm_runtime_force_suspend() in hda_acpi_suspend() skips the runtime
callbacks.  On resume the controller is therefore never re-initialised:
azx_init_chip() is called only at probe time, so after S3 the codec
verbs time out and audio is dead until the driver is rebound.

Add explicit runtime_suspend/runtime_resume callbacks and invoke them
from the system-sleep paths, mirroring the pattern used by snd-hda-intel.
Board-tested on N1x (NVDA2014): resume latency drops from 81.5s to 3.6s
and audio is live immediately after wake.

Signed-off-by: David Cemin <dcemin@nvidia.com>
@nirmoy nirmoy added the help wanted Extra attention is needed label Jul 22, 2026
@jamieNguyenNVIDIA

Copy link
Copy Markdown
Collaborator

Hi @dcemin-nv,

Is this a patch that you intend to send to the mailing list? If so, I'd suggest doing that first and then referencing the mailing list URL in this commit:

(backported from <lore URL>

Secondly, I suggest targeting this PR at the following branches instead of 24.04_linux-nvidia-7.0-next:

  1. 26.04_linux-nvidia-bos
  2. 26.04_linux-nvidia

Canonical helps ensure that the 24.04 kernel source is kept in sync with the 26.04 versions, so no need to target PRs at the 24.04+7.0 branches.

@nirmoy

nirmoy commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

BaseOS Kernel Review

Summary

No issues found across the reviewed commits.

Findings: no problems found

Latest watcher review: open review

Generated test plan: open test plan

Kernel deb build: successful (download debs, 4 files)

Head: 8a3b5920a6c3

This comment is maintained by nv-pr-bot. It is updated when the GitHub watcher publishes a newer review.

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

Labels

help wanted Extra attention is needed pending_review_comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants