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

Commit 880fa626 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Jani Nikula
Browse files

drm/i915: Zap call to drm_plane_helper_disable, v2.



The primary plane can still be configured when crtc is off,
furthermore this is also a noop now that affected planes are
added on modesets.

Changes since v1:
- Move commit so no frontbuffer_bits warnings are generated.

Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 568c634a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -12938,8 +12938,6 @@ static int __intel_set_mode(struct drm_atomic_state *state)

		intel_crtc_disable_planes(crtc);
		dev_priv->display.crtc_disable(crtc);
		if (!crtc_state->enable)
			drm_plane_helper_disable(crtc->primary);
	}

	/* Only after disabling all output pipelines that will be changed can we