Rev 6321 | Rev 6938 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6321 | Rev 6661 | ||
---|---|---|---|
Line 895... | Line 895... | ||
895 | if (ret) |
895 | if (ret) |
896 | goto done; |
896 | goto done; |
Line 897... | Line 897... | ||
897 | 897 | ||
898 | /* update display watermarks based on new power state */ |
898 | /* update display watermarks based on new power state */ |
- | 899 | radeon_bandwidth_update(rdev); |
|
- | 900 | /* update displays */ |
|
Line 899... | Line 901... | ||
899 | radeon_bandwidth_update(rdev); |
901 | radeon_dpm_display_configuration_changed(rdev); |
900 | 902 | ||
901 | /* wait for the rings to drain */ |
903 | /* wait for the rings to drain */ |
902 | for (i = 0; i < RADEON_NUM_RINGS; i++) { |
904 | for (i = 0; i < RADEON_NUM_RINGS; i++) { |
Line 911... | Line 913... | ||
911 | /* update current power state */ |
913 | /* update current power state */ |
912 | rdev->pm.dpm.current_ps = rdev->pm.dpm.requested_ps; |
914 | rdev->pm.dpm.current_ps = rdev->pm.dpm.requested_ps; |
Line 913... | Line 915... | ||
913 | 915 | ||
Line 914... | Line -... | ||
914 | radeon_dpm_post_set_power_state(rdev); |
- | |
915 | - | ||
916 | /* update displays */ |
- | |
917 | radeon_dpm_display_configuration_changed(rdev); |
916 | radeon_dpm_post_set_power_state(rdev); |
918 | 917 | ||
919 | rdev->pm.dpm.current_active_crtcs = rdev->pm.dpm.new_active_crtcs; |
918 | rdev->pm.dpm.current_active_crtcs = rdev->pm.dpm.new_active_crtcs; |
Line 920... | Line 919... | ||
920 | rdev->pm.dpm.current_active_crtc_count = rdev->pm.dpm.new_active_crtc_count; |
919 | rdev->pm.dpm.current_active_crtc_count = rdev->pm.dpm.new_active_crtc_count; |