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

Commit 93d51bb7 authored by Prashant Singh's avatar Prashant Singh
Browse files

drm/msm/sde: cleanup writeback phys_enc structures during wb disable



Hardware structures for writeback ctl and cdm are set
to null during wb disable, to prevent crtc mode change
on primary during subsequent wfd and cwb sessions.

Change-Id: I7536203761c615c37c8633d1621951475895400a
Signed-off-by: default avatarPrashant Singh <prasin@codeaurora.org>
parent 97761dba
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1594,6 +1594,8 @@ static void sde_encoder_phys_wb_disable(struct sde_encoder_phys *phys_enc)
exit:
	phys_enc->enable_state = SDE_ENC_DISABLED;
	wb_enc->crtc = NULL;
	phys_enc->hw_cdm = NULL;
	phys_enc->hw_ctl = NULL;
}

/**