IMX6Q IPU2 seems to be slower

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

IMX6Q IPU2 seems to be slower

1,568 Views
guna007
Contributor III

I am able to capture image through second Parallel port with IPU2. But the image capture seems to be very slower. With the same image sensor with parallel 1 and IPU1, we are able to getting 50 - 60 fps but with parallel 2 and IPU2 we are achieving only 4 - 5 fps.

Is there any clock setting has to be done for IPU2?

FYI, I am using HDMI display as well which uses IPU2.

Labels (2)
0 Kudos
5 Replies

1,044 Views
guna007
Contributor III

Igor,

The value of GPR7(for IPU2) is 0x007F007F which is set through u-boot configuration. What should be the value for this register if priority has to be set high for IPU2 (QoS).

And, I tried disabling the HDMI and it's of no use.

Thank you,

Guna

0 Kudos

1,044 Views
igorpadykov
NXP Employee
NXP Employee

Hi Gunasekaran

one can set GPR7 for IPU2 the same as for IPU1.

Also one can check bus load using memory profile tool

mmdc2 which included in imx-test package (../test/mmdc).

www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.4.tar.gz

Best regards
igor

0 Kudos

1,044 Views
guna007
Contributor III

Igor,

I have tried setting the same value for GPR7 but it's of no use.

And the output of the mmdc profiling tool when the capture is running is as follows,

i.MX6Q detected.
MMDC SUM

MMDC new Profiling results:
***********************
Measure time: 501ms
Total cycles count: 264063872
Busy cycles count: 62977561
Read accesses count: 911812
Write accesses count: 14308
Read bytes count: 56734868
Write bytes count: 763856
Avg. Read burst size: 62
Avg. Write burst size: 53
Read: 108.00 MB/s /  Write: 1.45 MB/s  Total: 109.45 MB/s
Utilization: 5%
Overall Bus Load: 25%
Bytes Access: 62

0 Kudos

1,044 Views
igorpadykov
NXP Employee
NXP Employee

Hi Gunasekaran

this may be caused by high load on IPU2 buses so for test one

can try to disable hdmi. Also one can check IPU QoS settings

in IOMUXC_GPR6.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,044 Views
weikeng-jimmy
Contributor III

Hi Sir,

          The value of GPR6 and GPR7 all setting are 0x007F007F .

Uboot have comment  "/* set IPU AXI-id0 Qos=0xf(bypass) AXI-id1 Qos=0x7 */"

Why should this register only set ID00 to bypass? Why ID1 is 0x7 ?

Thanks!

0 Kudos