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 a59e04f3eeba..d6df5728df7f 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |||
@@ -1466,7 +1466,7 @@ void amdgpu_pm_compute_clocks(struct amdgpu_device *adev) | |||
1466 | list_for_each_entry(crtc, | 1466 | list_for_each_entry(crtc, |
1467 | &ddev->mode_config.crtc_list, head) { | 1467 | &ddev->mode_config.crtc_list, head) { |
1468 | amdgpu_crtc = to_amdgpu_crtc(crtc); | 1468 | amdgpu_crtc = to_amdgpu_crtc(crtc); |
1469 | if (crtc->enabled) { | 1469 | if (amdgpu_crtc->enabled) { |
1470 | adev->pm.dpm.new_active_crtcs |= (1 << amdgpu_crtc->crtc_id); | 1470 | adev->pm.dpm.new_active_crtcs |= (1 << amdgpu_crtc->crtc_id); |
1471 | adev->pm.dpm.new_active_crtc_count++; | 1471 | adev->pm.dpm.new_active_crtc_count++; |
1472 | } | 1472 | } |