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

Commit 868a1799 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: cache crtc during encoder enable state"

parents 3279ef1f e73bcdd9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2722,6 +2722,9 @@ static void sde_encoder_virt_enable(struct drm_encoder *drm_enc)
		return;
	}

	if (drm_enc->crtc && !sde_enc->crtc)
		sde_enc->crtc = drm_enc->crtc;

	comp_info = &mode_info.comp_info;
	cur_mode = &sde_enc->base.crtc->state->adjusted_mode;