diff options
author | Evan Quan <evan.quan@amd.com> | 2021-09-09 11:01:00 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-23 15:17:28 -0400 |
commit | be68d44bf82aa23c53bff0ad4cfd3f90b3b82220 (patch) | |
tree | f2ddf340759eca53e6851f1953bed87b0f96d245 /tools/accounting | |
parent | 0fcfb30019d3e0b891a201e41262b926648c38b0 (diff) | |
download | linux-be68d44bf82aa23c53bff0ad4cfd3f90b3b82220.tar.bz2 |
drm/amd/pm: fix runpm hang when amdgpu loaded prior to sound driver
Current RUNPM mechanism relies on PMFW to master the timing for BACO
in/exit. And that needs cooperation from sound driver for dstate
change notification for function 1(audio). Otherwise(on sound driver
missing), BACO cannot be kicked in correctly and hang will be observed
on RUNPM exit.
By switching back to legacy message way on sound driver missing,
we are able to fix the runpm hang observed for the scenario below:
amdgpu driver loaded -> runpm suspend kicked -> sound driver loaded
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reported-and-tested-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/accounting')
0 files changed, 0 insertions, 0 deletions