linux/drivers/gpu/drm/amd/pm/swsmu
Evan Quan 8b514e898e 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>
Cc: stable@vger.kernel.org
2021-09-16 09:56:24 -04:00
..
smu11 drm/amd/pm: fix runpm hang when amdgpu loaded prior to sound driver 2021-09-16 09:56:24 -04:00
smu12 drm/amdgpu: fix sysfs_emit/sysfs_emit_at warnings(v2) 2021-09-16 09:56:23 -04:00
smu13 drm/amdgpu: fix sysfs_emit/sysfs_emit_at warnings(v2) 2021-09-16 09:56:23 -04:00
amdgpu_smu.c drm/amd/pm: fix the issue of uploading powerplay table 2021-09-14 16:15:21 -04:00
Makefile drm/amd/swsmu: add aldebaran smu13 ip support (v3) 2021-03-23 22:54:24 -04:00
smu_cmn.c drm/amd/pm: fix runpm hang when amdgpu loaded prior to sound driver 2021-09-16 09:56:24 -04:00
smu_cmn.h drm/amd/pm: fix runpm hang when amdgpu loaded prior to sound driver 2021-09-16 09:56:24 -04:00
smu_internal.h drm/amd/pm: correct the power limits reporting on OOB supported 2021-06-11 16:03:09 -04:00