mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 03:10:12 +00:00
drm/amdgpu: Fix BACO entry failure in NAVI10.
BACO feature must be kept enabled to allow entry into BACO state in SMU during runtime suspend. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Tested-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
ad51b4ac12
commit
4b4c5638c0
1 changed files with 1 additions and 1 deletions
|
@ -1383,7 +1383,7 @@ static int smu_suspend(void *handle)
|
|||
if (ret)
|
||||
return ret;
|
||||
|
||||
if (adev->in_gpu_reset && baco_feature_is_enabled) {
|
||||
if (baco_feature_is_enabled) {
|
||||
ret = smu_feature_set_enabled(smu, SMU_FEATURE_BACO_BIT, true);
|
||||
if (ret) {
|
||||
pr_warn("set BACO feature enabled failed, return %d\n", ret);
|
||||
|
|
Loading…
Reference in a new issue