Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent a48b9b4e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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);
}