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:
Chunhuan Zhan <zhanc@codeaurora.org>
Loading
Please register or sign in to comment