Commit 887f75c
drm/amdgpu: Ensure HDA function is suspended before ASIC reset
DP/HDMI audio on AMD PRO VII stops working after S3:
[ 149.450391] amdgpu 0000:63:00.0: amdgpu: MODE1 reset
[ 149.450395] amdgpu 0000:63:00.0: amdgpu: GPU mode1 reset
[ 149.450494] amdgpu 0000:63:00.0: amdgpu: GPU psp mode1 reset
[ 149.983693] snd_hda_intel 0000:63:00.1: refused to change power state from D0 to D3hot
[ 150.003439] amdgpu 0000:63:00.0: refused to change power state from D0 to D3hot
...
[ 155.432975] snd_hda_intel 0000:63:00.1: CORB reset timeout#2, CORBRP = 65535
The offending commit is daf8de0 ("drm/amdgpu: always reset the asic in
suspend (v2)"). Commit 34452ac ("drm/amdgpu: don't use BACO for
reset in S3 ") doesn't help, so the issue is something different.
Assuming that to make HDA resume to D0 fully realized, it needs to be
successfully put to D3 first. And this guesswork proves working, by
moving amdgpu_asic_reset() to noirq callback, so it's called after HDA
function is in D3.
Fixes: daf8de0 ("drm/amdgpu: always reset the asic in suspend (v2)")
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org1 parent e3cf2e0 commit 887f75c
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2323 | 2323 | | |
2324 | 2324 | | |
2325 | 2325 | | |
2326 | | - | |
2327 | 2326 | | |
2328 | 2327 | | |
2329 | 2328 | | |
2330 | 2329 | | |
2331 | 2330 | | |
2332 | | - | |
2333 | | - | |
2334 | | - | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
2335 | 2339 | | |
2336 | | - | |
2337 | | - | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
2338 | 2343 | | |
2339 | 2344 | | |
2340 | 2345 | | |
| |||
2575 | 2580 | | |
2576 | 2581 | | |
2577 | 2582 | | |
| 2583 | + | |
2578 | 2584 | | |
2579 | 2585 | | |
2580 | 2586 | | |
| |||
0 commit comments