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

Commit f07ebd86 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 0d6da4c1 f492c5d8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2546,6 +2546,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;