aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c2
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 a003fd881a89..f1404adc3a90 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c
@@ -1959,7 +1959,7 @@ void amdgpu_pm_compute_clocks(struct amdgpu_device *adev)
1959 if (!amdgpu_device_has_dc_support(adev)) { 1959 if (!amdgpu_device_has_dc_support(adev)) {
1960 mutex_lock(&adev->pm.mutex); 1960 mutex_lock(&adev->pm.mutex);
1961 amdgpu_dpm_get_active_displays(adev); 1961 amdgpu_dpm_get_active_displays(adev);
1962 adev->pm.pm_display_cfg.num_display = adev->pm.dpm.new_active_crtcs; 1962 adev->pm.pm_display_cfg.num_display = adev->pm.dpm.new_active_crtc_count;
1963 adev->pm.pm_display_cfg.vrefresh = amdgpu_dpm_get_vrefresh(adev); 1963 adev->pm.pm_display_cfg.vrefresh = amdgpu_dpm_get_vrefresh(adev);
1964 adev->pm.pm_display_cfg.min_vblank_time = amdgpu_dpm_get_vblank_time(adev); 1964 adev->pm.pm_display_cfg.min_vblank_time = amdgpu_dpm_get_vblank_time(adev);
1965 /* we have issues with mclk switching with refresh rates over 120 hz on the non-DC code. */ 1965 /* we have issues with mclk switching with refresh rates over 120 hz on the non-DC code. */