]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitf067499b4862c053a8971461d0d937e173690ddf
tree299d92674acfe5cc92062fe2e3145b358e3e1ed3
parent4733cc7244c2f18292dbb78ba88dfee35b73ff67
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