Unsynchronized buffers when using DMA
When both double-buffering and DMA are enabled (i.e. d4dlcdhw_k70_lcdc_cfg.h contains the following definitions), the two buffers are not synchronized properly. When an object (not full screen) is invalidated, it is repainted to the back-buffer with deprecated content (previous screen). When the buffers are swapped, the screen content becomes broken.
#define D4DLCDHWFB_DOUBLE_BUFFER 1
#define D4DLCDHWFB_DMA_ENABLE 1
I couldn't get my K70 with DMA enable, i don't know if i need to change anything in my kernel (mqx4) and i can't find a lot information about using DMA for LCD. Did you find a solution for your problem of unsynchronization buffers?
And I have to add, that this is not all time but in some, occasional cases. Try to version on the dedicated branch if it remove this problem. In case that this helps, some we can clean up the code changes and implement.
Petr
2014-09-17 9:22 GMT+02:00 ruifaria [email protected]:
I couldn't get my K70 with DMA enable, i don't know if i need to change anything in my kernel (mqx4) and i can't find a lot information about using DMA for LCD. Did you find a solution for your problem of unsynchronization buffers?
— Reply to this email directly or view it on GitHub https://github.com/Gargy007/eGUI/issues/6#issuecomment-55857888.