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

Commit 63107e09 authored by Jayaprakash's avatar Jayaprakash
Browse files

disp: msm: sde: allow delayed_off_work scheduling always



Add changes to allow delayed_off_work scheduling in all cases.
Skip scheduling only in panel_dead cases where delay_kickoff
is enabled. This will fix the issue seen with commit 08d04c2f
("disp: msm: sde: avoid rc restart when triggered from panel dead").

Change-Id: I4c9a7cd26af9d99ecd3f58023a6fb6d041d91e92
Signed-off-by: default avatarJayaprakash <jmadiset@codeaurora.org>
parent 2b0b08b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1627,7 +1627,7 @@ static void _sde_encoder_rc_restart_delayed(struct sde_encoder_virt *sde_enc,
	struct msm_drm_thread *disp_thread;

	/* return early if called from esd thread */
	if (!sde_enc->delay_kickoff)
	if (sde_enc->delay_kickoff)
		return;

	/* set idle timeout based on master connector's lp value */