drm/radeon/kms/pm: update display watermarks with power state changes
Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
a48b9b4edb
commit
c00f53be5e
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue