One customer reported below issue, it's MX53, android R10.3.2, any suggestion on this issue?
Please put customer's name here.
MaxTsai, could you please help this one?
hi, That looks like the applications just update screen partially, when back to foreground. Not sure exactly why it happens, but they may update whole screen when back to foreground by "invalidate()" function.
From customer, the navigation can run normally on other platform
hi, The issue seems to happen with their "界面" application according to your attached screenshot. I believe the navigation with Android default Launcher has no this problem. Can the customer check whether their "界面" application does the full screen update from background to forground.
We are trying to debug this issue on MX53 SMD board. Attached the whole log when issue happens on customer's board, any suggestion to locate the cause?
Maybe it is a cache issue.
For IPU dev, the memory works in noncache write buffer mode (alloced with dma_alloc_coherent(), L_PTE_MT_BUFFERABLE), in fact after mxc_ipu_lib_task_buf_update(), the memory data is correct, but when CPU access those memory, it will get the cached old data (because DMA updates that memory so CPU doesn’t know they are updated), to avoid such issue, dma_sync_single_for_cpu() can be called. The customer can add an ioctl in IPU dev driver to call dma_sync_single_for_cpu() for the ipu lib output buffer.
I am not clear where should I put the ioctl (dma_sync_single_for_cpu) calling in ipu lib output buffer, can you advise?
I am out of the office until 22.06.2014.
I will respond to your message when I return.
Note: This is an automated response to your message "Re:
- MX53 IPU/overlay issue" sent on 06/19/2014 6:03:10 AM.
This is the only notification you will receive while this person is away.
Please try Li Qiang's suggestion firstly. Then there are something in the log which needs to clarify.
(1) E/Surface ( 2556): [Surface] using an invalid surface, identity=782 should be 785
(2) E/imx5x.gralloc( 2556): handle 0x7b3668 not locked
How is your issue going? Should we close the issue if it is done?
Retrieving data ...