diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c index ce8be467608d..27d8dd77860d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |||
@@ -555,6 +555,7 @@ static ssize_t amdgpu_get_pp_od_clk_voltage(struct device *dev, | |||
555 | if (adev->powerplay.pp_funcs->print_clock_levels) { | 555 | if (adev->powerplay.pp_funcs->print_clock_levels) { |
556 | size = amdgpu_dpm_print_clock_levels(adev, OD_SCLK, buf); | 556 | size = amdgpu_dpm_print_clock_levels(adev, OD_SCLK, buf); |
557 | size += amdgpu_dpm_print_clock_levels(adev, OD_MCLK, buf+size); | 557 | size += amdgpu_dpm_print_clock_levels(adev, OD_MCLK, buf+size); |
558 | size += amdgpu_dpm_print_clock_levels(adev, OD_RANGE, buf+size); | ||
558 | return size; | 559 | return size; |
559 | } else { | 560 | } else { |
560 | return snprintf(buf, PAGE_SIZE, "\n"); | 561 | return snprintf(buf, PAGE_SIZE, "\n"); |