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

Skip to content
Commit 5bf9dfa8 authored by Chunhuan Zhan's avatar Chunhuan Zhan
Browse files

msm: ais: change the buffer SOF timestamp match



When IFE RDI WM HW list becomes empty, the below situaltion will happen:
1. queue buffer 0 when last frame done, queue SOF0;
2. queue SOF1;
3. buffer 0 frame done.
step3 will use the SOF0 as its SOF timestamp, it is incorrect.
Change the SOF timestamp match method:
1. when queue buffer 0 to WM HW, get the SOF HW timestamp
2. when framedone, traverse sof_q,
   if the sof <= queue_sof_ts, mismatch, discard; else match

Change-Id: I0b2bfbd5b9148aec97476bf87bdfb5fffee5bbdd
Signed-off-by: default avatarChunhuan Zhan <zhanc@codeaurora.org>
parent 6564db44
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