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
|
@ -1383,7 +1383,7 @@ static int smu_suspend(void *handle)
|
||||||
if (ret)
|
if (ret)
|
||||||
return 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);
|
ret = smu_feature_set_enabled(smu, SMU_FEATURE_BACO_BIT, true);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
pr_warn("set BACO feature enabled failed, return %d\n", ret);
|
pr_warn("set BACO feature enabled failed, return %d\n", ret);
|
||||||
|
|
Loading…
Reference in New Issue