diff options
author | Rex Zhu <Rex.Zhu@amd.com> | 2018-01-30 12:48:12 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:19:06 -0500 |
commit | 948fd66c94e1206e9b62a5ab00934cb35d00b89a (patch) | |
tree | 5e879a512960c7f596bd6b9726d716b9b5f61828 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 6fa3ef3a9c4503d7769019a7b00f3f2e0e7d7c68 (diff) | |
download | linux-948fd66c94e1206e9b62a5ab00934cb35d00b89a.tar.gz linux-948fd66c94e1206e9b62a5ab00934cb35d00b89a.tar.xz |
drm/amd/pp: Refine pp_dpm_force_clock_level functions
Only when user set manual performance mode, driver
enable pp_dpm_force_clock_level.
so check the mode in pp_dpm_force_clock_level,
and delete the same logic in callback functions.
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions