Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andrey Grodzovsky and committed by
Alex Deucher
4b4c5638 ad51b4ac

+1 -1
+1 -1
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
··· 1383 1383 if (ret) 1384 1384 return ret; 1385 1385 1386 - if (adev->in_gpu_reset && baco_feature_is_enabled) { 1386 + if (baco_feature_is_enabled) { 1387 1387 ret = smu_feature_set_enabled(smu, SMU_FEATURE_BACO_BIT, true); 1388 1388 if (ret) { 1389 1389 pr_warn("set BACO feature enabled failed, return %d\n", ret);