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

Commit e6963ccf authored by Maarten Lankhorst's avatar Maarten Lankhorst
Browse files

drm/i915: Use new atomic iterator macros in cdclk

parent aa5e9b47
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1470,7 +1470,7 @@ static int intel_max_pixel_rate(struct drm_atomic_state *state)
	memcpy(intel_state->min_pixclk, dev_priv->min_pixclk,
	       sizeof(intel_state->min_pixclk));

	for_each_crtc_in_state(state, crtc, cstate, i) {
	for_each_new_crtc_in_state(state, crtc, cstate, i) {
		int pixel_rate;

		crtc_state = to_intel_crtc_state(cstate);