MX53 IPU/overlay issue

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

MX53 IPU/overlay issue

1,111 Views
xiaoqianlin
NXP Employee
NXP Employee

Hi,

One customer reported below issue, it's MX53, android R10.3.2, any suggestion on this issue?

我们反复在导航的地图界面与其他界面 切换的时候,经常就会出现如下的情况(再刷新一下界面,就能恢复正常)

image002.jpgimage004.jpg
image006.jpg

Linda Lin
11 Replies

831 Views
YixingKong
Senior Contributor IV

Xiaoqiang

How is your issue going? Should we close the issue if it is done?

Thanks,

Yixing

0 Kudos

831 Views
max_tsai
NXP Employee
NXP Employee

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.

Regards,

Max

0 Kudos

831 Views
xiaoqianlin
NXP Employee
NXP Employee

Hi Max,

From customer, the navigation can run normally on other platform

Linda Lin
0 Kudos

831 Views
max_tsai
NXP Employee
NXP Employee

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.

-Max

0 Kudos

831 Views
xiaoqianlin
NXP Employee
NXP Employee

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?

Linda Lin
0 Kudos

831 Views
max_tsai
NXP Employee
NXP Employee

hi Linda,

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

-Max

0 Kudos

831 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

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.

0 Kudos

831 Views
tollerhecht
Contributor III

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.

0 Kudos

831 Views
xiaoqianlin
NXP Employee
NXP Employee

I am not clear where should I put the ioctl (dma_sync_single_for_cpu) calling in ipu lib output buffer, can  you advise?

Linda Lin
0 Kudos

831 Views
YixingKong
Senior Contributor IV

MaxTsai, could you please help this one?

Thanks,

Yixing

0 Kudos

831 Views
YixingKong
Senior Contributor IV

Please put customer's name here.

0 Kudos