Commit c00f53be authored by Alex Deucher's avatar Alex Deucher Committed by Dave Airlie

drm/radeon/kms/pm: update display watermarks with power state changes

Signed-off-by: default avatarAlex Deucher <alexdeucher@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent a48b9b4e
...@@ -293,6 +293,11 @@ static void radeon_pm_set_clocks(struct radeon_device *rdev) ...@@ -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); mutex_unlock(&rdev->cp.mutex);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment