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

Commit 030e3f15 authored by Veera Sundaram Sankaran's avatar Veera Sundaram Sankaran
Browse files

disp: msm: sde: cleanup ctl/intf registers on cmd encoder disable



The SDE RM determines the number of displays enabled in cont-splash by
checking the INTF_ACTIVE bits in the ctl. The trusted-vm relies on the
same cont-splash path during transitions and the stale ctl INTF_ACTIVE
on dual display usecases leads to wrong status check. Currently, only
video/wb encoders use the phys_encoder disable helper during encoder
disable to clear out few ctl/intf registers. Extend it for cmd encoder
as well to remove the stale entries.

Change-Id: I7f21ef46178ce3943ee85abdf29f7cdef93d7c52
Signed-off-by: default avatarVeera Sundaram Sankaran <veeras@codeaurora.org>
parent 5caf284e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1345,6 +1345,7 @@ static void sde_encoder_phys_cmd_disable(struct sde_encoder_phys *phys_enc)
		else if (phys_enc->hw_pp->ops.enable_tearcheck)
			phys_enc->hw_pp->ops.enable_tearcheck(phys_enc->hw_pp,
					false);
		sde_encoder_helper_phys_disable(phys_enc, NULL);
	}

	phys_enc->enable_state = SDE_ENC_DISABLED;