iMX6Q IPU Double Buffering

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX6Q IPU Double Buffering

873 Views
ogj
Contributor IV

I'm running into an issue using double buffering in the IPU. If I can keep all drawing in a buffer within one frame time (60 HZ refresh), the alternating of EBA0 and EBA1 works fine (by setting both buffer ready bits). However the time it takes to update a buffer is ~20ms, so I need to swap buffers every other frame. Anyone out there know how to accomplish this? From reading other posts I've learned that there are some counters (I assume in the DC) to count frames and preform different functions. Can one of these be used to control the current buffer bit? The answer is NOT go read some Linux manual and see if you can figure it out. Is there somewhere in Linux where this is done? I couldn't find anything in the IPU drivers that addresses this.

0 Kudos
Reply
0 Replies