drm/amd/pp: Implement edit_dpm_table on smu7
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 16 Jan 2018 08:04:43 +0000 (16:04 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:19 +0000 (14:18 -0500)
commit5e4d4fbea55730362c2e6a68360a7444cb765c46
tree64a62c4aca034a2aa40bdb685c528cf7b58041ff
parentb7e919b9403fe5fb653d274d530d5118a3408f1b
drm/amd/pp: Implement edit_dpm_table on smu7

v2: - check clk against OverDrive limits from VBIOS
    - set OD flag when user commit the setting.

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/smu7_hwmgr.c