]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: add suspend and resume function for smu
authorLikun Gao <Likun.Gao@amd.com>
Thu, 14 Feb 2019 10:35:14 +0000 (18:35 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:01 +0000 (15:04 -0500)
commit9836b0fc1281b25c2e6feb8a0c34d9eb9756a796
tree326f0ee3c9b32edd0530e6498d9aa26c5c67acda
parent198728132468c01845de81e5397c8c6ce8729838
drm/amd/powerplay: add suspend and resume function for smu

Functional the function of smu suspend and resume.
Modified the function of smu_smc_table_hw_init to make it useful for smu
resume.

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