drm/amd/powerplay: add function to store overdrive information for smu11
authorLikun Gao <Likun.Gao@amd.com>
Tue, 8 Jan 2019 06:18:02 +0000 (14:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:59 +0000 (15:03 -0500)
commitb55ca3bdaf0bbfd14ad6619a991fbd324ae1ad4b
tree9da4728c2601b1cc76f258dcc38d21b1d4b47507
parent2e069391188c1883c30f3a9441ba1b279da68c94
drm/amd/powerplay: add function to store overdrive information for smu11

Add vega20_setup_od8_information function to store overdrive information
from powerplay_table to smu_table which will used when setting od8.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Acked-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/vega20_ppt.c