drm/amd/powerplay: support retrieving and adjusting dcefclock power levels V2
authorEvan Quan <evan.quan@amd.com>
Mon, 14 Jan 2019 09:37:26 +0000 (17:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:34 +0000 (16:15 -0500)
commitd7e28e2d6b518af760c81ba578ecf4e4b0c0f401
tree63371ec07920684f4dd50a37a0325e33fffe89fa
parent828e37efe802ba8c868922af23099638fde5b7b4
drm/amd/powerplay: support retrieving and adjusting dcefclock power levels V2

User can use "pp_dpm_dcefclk" to retrieve and adjust dcefclock 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