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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jan 2022 14:35:19 +0000 (15:35 +0100)
commitb8a1293e38508a0f6664018a852f4585c22832a8
treed18a594dd95c5a422a089ebb3fd6cde47306eb8e
parent19070d812e130c035eca07b9af9ed7867cd9df96
drm/amd/pm: keep the BACO feature enabled for suspend

commit eaa090538e8d21801c6d5f94590c3799e6a528b5 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c