drm/radeon/kms/pm: update display watermarks with power state changes
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 22 Mar 2010 17:34:22 +0000 (13:34 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:00 +0000 (18:21 +1000)
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_pm.c

index 10ef8924799d6a2c7f638efe5319b360d1485058..a137ee2f722cf640aa94616ea7e72faaabded297 100644 (file)
@@ -293,6 +293,11 @@ static void radeon_pm_set_clocks(struct radeon_device *rdev)
                }
        }
 
+       /* update display watermarks based on new power state */
+       radeon_update_bandwidth_info(rdev);
+       if (rdev->pm.active_crtc_count)
+               radeon_bandwidth_update(rdev);
+
        mutex_unlock(&rdev->cp.mutex);
 }