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, 7 Jan 2022 22:19:46 +0000 (17:19 -0500)
commitf38b0d48cae88395a05e49cb885fa6ce657e1cc9
tree9b119473eb23b5aa1ea2823bd73a766e9634c910
parent216a9873198bdc5c670a9f71d58fafd30227c9c8
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: daf8de0874ab5b ("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