diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c index f251d0f4ea6a..9abd8f6705c0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |||
@@ -184,7 +184,7 @@ static ssize_t amdgpu_set_dpm_forced_performance_level(struct device *dev, | |||
184 | } | 184 | } |
185 | 185 | ||
186 | if (current_level == level) | 186 | if (current_level == level) |
187 | return 0; | 187 | return count; |
188 | 188 | ||
189 | if (level == AMD_DPM_FORCED_LEVEL_PROFILING) | 189 | if (level == AMD_DPM_FORCED_LEVEL_PROFILING) |
190 | amdgpu_set_clockgating_state(adev, AMD_IP_BLOCK_TYPE_GFX, | 190 | amdgpu_set_clockgating_state(adev, AMD_IP_BLOCK_TYPE_GFX, |