drm/amd/pp: Implement force_dpm_level on Rv
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 13 Dec 2017 07:28:06 +0000 (15:28 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Dec 2017 16:59:40 +0000 (11:59 -0500)
commit923a50a6868717673f43079fb2216c87b5df723f
tree9537a061792d41fc640f4bb892957116db1a45a0
parentf49e9bac191b066060a53d994f9c964fb71454f2
drm/amd/pp: Implement force_dpm_level on Rv

user can change dpm level on Rv through sysfs

v3: add smu version check
v2: fix no return statement

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/rv_hwmgr.h