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

Commit 0fbdc845 authored by obrody's avatar obrody Committed by Manoj Kumar AVM
Browse files

disp: msm: sde: Remove duplicate destination scaler checks



Delete destination scaler dirty bit clearing when crtc
is disabled as well as during duplicate state.

Change-Id: I4b2201c792a6750c060b2d9291d52547d8a81c15
Signed-off-by: default avatarManoj Kumar AVM <manojavm@codeaurora.org>
Signed-off-by: default avatarobrody <obrody@codeaurora.org>
parent 55ce1ad7
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -3834,9 +3834,6 @@ static struct drm_crtc_state *sde_crtc_duplicate_state(struct drm_crtc *crtc)
			old_cstate, cstate,
			&cstate->property_state, cstate->property_values);

	/* clear destination scaler dirty bit */
	clear_bit(SDE_CRTC_DIRTY_DEST_SCALER, cstate->dirty);

	/* duplicate base helper */
	__drm_atomic_helper_crtc_duplicate_state(crtc, &cstate->base);

@@ -4059,8 +4056,6 @@ static void sde_crtc_disable(struct drm_crtc *crtc)
	msm_mode_object_event_notify(&crtc->base, crtc->dev, &event,
			(u8 *)&power_on);

	bitmap_fill(cstate->dirty, SDE_CRTC_DIRTY_MAX);

	_sde_crtc_flush_event_thread(crtc);

	SDE_EVT32(DRMID(crtc), sde_crtc->enabled,