]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: keep the BACO feature enabled for suspend
authorEvan Quan <evan.quan@amd.com>
Thu, 30 Dec 2021 09:53:54 +0000 (17:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 31 Dec 2021 13:56:21 +0000 (08:56 -0500)
commitac5de83d5a67f281ea0f83a2f7bb8e67a7cc5eb7
tree248b3586eb8e97961a5ed2964042cefa4da13481
parent87da3cda05fab042ebfa9124f1a5368b572b1693
drm/amd/pm: keep the BACO feature enabled for suspend

To pair with the workaround which always reset the ASIC in suspend.
Otherwise, the reset which relies on BACO will fail.

Fixes: 76ac5f78bc49d3 ("drm/amdgpu: always reset the asic in suspend (v2)")
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c