Skip to content

Commit

Permalink
drm/radeon/kms/pm: update display watermarks with power state changes
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Alex Deucher authored and Dave Airlie committed May 18, 2010
1 parent a48b9b4 commit c00f53b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/gpu/drm/radeon/radeon_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit c00f53b

Please sign in to comment.