drm/amd/powerplay: support retrieving and adjusting SOC clock power levels V2
authorEvan Quan <evan.quan@amd.com>
Mon, 14 Jan 2019 06:45:47 +0000 (14:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commitd7337ca2640cde21ff178bd78f01d94cd5ea2e08
tree22cb297fb192f51f127e3e51f34ef3e0146968fe
parent7ca881a8651bdeffd99ba8e0010160f9bf60673e
drm/amd/powerplay: support retrieving and adjusting SOC clock power levels V2

User can use "pp_dpm_socclk" to retrieve and adjust SOC clock power
levels.

V2: expose this interface for Vega10 and later ASICs only

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/include/kgd_pp_interface.h
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c