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

Commit 76dcac0a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Revert "disp: msm: sde: fix race between disable commit and vblank work""

parents 6fa30971 f6cfe46a
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -3849,10 +3849,8 @@ static int _sde_crtc_vblank_enable_no_lock(
		if (ret < 0)
			return ret;

		drm_for_each_encoder(enc, crtc->dev) {
			if (enc->crtc != crtc)
				continue;

		drm_for_each_encoder_mask(enc, crtc->dev,
				crtc->state->encoder_mask) {
			SDE_EVT32(DRMID(&sde_crtc->base), DRMID(enc), enable,
					sde_crtc->enabled);

@@ -3860,10 +3858,8 @@ static int _sde_crtc_vblank_enable_no_lock(
					sde_crtc_vblank_cb, (void *)crtc);
		}
	} else {
		drm_for_each_encoder(enc, crtc->dev) {
			if (enc->crtc != crtc)
				continue;

		drm_for_each_encoder_mask(enc, crtc->dev,
				crtc->state->encoder_mask) {
			SDE_EVT32(DRMID(&sde_crtc->base), DRMID(enc), enable,
					sde_crtc->enabled);