amd/powerplay: implement the vega12_force_clock_level interface
authorKenneth Feng <kenneth.feng@amd.com>
Mon, 9 Apr 2018 06:53:51 +0000 (14:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:09 +0000 (13:43 -0500)
commit61279073b1d35ea29bf546c7751bda09610ab5ef
treeb7241a97e966bb6ee8c3275873db7d6d456ed58d
parent08ebb6e9f4fd7098c28e0ebbb42847cf0488ebb8
amd/powerplay: implement the vega12_force_clock_level interface

pp_dpm_sclk/pp_dpm_mclk in sysfs implemented to force
gfxclk/uclk dpm level for Vega12

Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c