]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: add condition for smc table hw init
authorLikun Gao <Likun.Gao@amd.com>
Fri, 15 Feb 2019 07:47:26 +0000 (15:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:01 +0000 (15:04 -0500)
commitc3f8cefa9b93d3bf2988762699107495ed4ea71a
tree299d92674acfe5cc92062fe2e3145b358e3e1ed3
parent9fe5693876bccc1872bedc0c755b3288623494f6
drm/amd/powerplay: add condition for smc table hw init

Smc table hw init should be skipped for suspend/resume when dpm running.
Unified feature enable and disable function into smu_system_features_control.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c