linux/drivers/gpu/drm/amd/pm
Evan Quan be68d44bf8 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>
2021-09-23 15:17:28 -04:00
..
inc drm/amdgpu: add manual sclk/vddc setting support for cyan skilfish(v3) 2021-09-14 15:39:40 -04:00
powerplay drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform 2021-08-30 15:09:27 -04:00
swsmu drm/amd/pm: fix runpm hang when amdgpu loaded prior to sound driver 2021-09-23 15:17:28 -04:00
amdgpu_dpm.c drm/amd/pm: unify the interface for power gating 2021-04-09 16:46:46 -04:00
amdgpu_pm.c drm/amd/amdgpu: Enable some sysnodes for guest smi 2021-09-14 15:36:06 -04:00
Makefile