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

Commit 3f82428a authored by Yashwanth's avatar Yashwanth
Browse files

disp: msm: sde: add frame trigger count to detect frame count in TE period



When qsync is enabled, if there is a large start threshold
window, there might be a case where two frame transfers
could happen in single TE period if second frame trigger
start is issued within the window and could cause tearing
on the screen. This change adds a atomic variable to detect
multiple frame count and adds vsync wait in such cases to
fix this issue. This variable will be set whenever
wr_ptr_irq arrives and will be reset during rd_ptr_irq.

Change-Id: Ice77b8a717a18d39d70dc08647e15b761ad1c126
Signed-off-by: default avatarYashwanth <yvulapu@codeaurora.org>
parent 9122159c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment