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

Commit 0973f18f authored by Daniel Vetter's avatar Daniel Vetter
Browse files

drm/i915: stop for_each_intel_crtc_masked macro from leaking



Spotted while changing related code.

Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent e29c22c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7943,7 +7943,7 @@ intel_modeset_update_state(struct drm_device *dev, unsigned prepare_pipes)
	list_for_each_entry((intel_crtc), \
			    &(dev)->mode_config.crtc_list, \
			    base.head) \
		if (mask & (1 <<(intel_crtc)->pipe)) \
		if (mask & (1 <<(intel_crtc)->pipe))

static bool
intel_pipe_config_compare(struct intel_crtc_config *current_config,