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>
This commit is contained in:
Evan Quan
2019-01-14 17:37:26 +08:00
committed by Alex Deucher
parent 828e37efe8
commit d7e28e2d6b
3 changed files with 107 additions and 5 deletions

View File

@@ -94,6 +94,7 @@ enum pp_clock_type {
PP_PCIE,
PP_SOCCLK,
PP_FCLK,
PP_DCEFCLK,
OD_SCLK,
OD_MCLK,
OD_VDDC_CURVE,