]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bb47b0fba5539fdb2d5a72504daf6b476e88af8
tree22cb297fb192f51f127e3e51f34ef3e0146968fe
parent48346c9433e54bc3cab64b3af5a9753f291ac6d8
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