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

Commit 263ee475 authored by Yuan Zhao's avatar Yuan Zhao
Browse files

disp: msm: sde: set different wd timer according to te source



For dual panel, if they both used sim TE, the vsync sources
were set to the same watchdog timer. That's wrong, so need to
set different watchdog timer for different panels.

Change-Id: I8a5b4c6bb86b0b640d24fbfe6517e223d313fb68
Signed-off-by: default avatarYuan Zhao <yzhao@codeaurora.org>
parent 4fbdcba8
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1094,7 +1094,8 @@ static void _sde_encoder_update_vsync_source(struct sde_encoder_virt *sde_enc,
			vsync_source = SDE_VSYNC_SOURCE_WD_TIMER_0 -
					sde_enc->te_source;
		else if (disp_info->is_te_using_watchdog_timer)
			vsync_source = SDE_VSYNC_SOURCE_WD_TIMER_4;
			vsync_source = SDE_VSYNC_SOURCE_WD_TIMER_4 +
					sde_enc->te_source;
		else
			vsync_source = sde_enc->te_source;