mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
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: Yuan Zhao <yzhao@codeaurora.org>
This commit is contained in:
parent
4fbdcba865
commit
263ee4756c
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue