Error occured when testing g2d on ubuntu imx6dl

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

Error occured when testing g2d on ubuntu imx6dl

Jump to solution
1,407 Views
franklee19731
Contributor I

Hi All,

  I tested g2d blitting on Ubuntu imx6DL, but there is an error as follows:

 

g2d_blit_2d: fail with status -20

 

I do not know what "status -20" means, so I have no idea how to do next.

 

The C program and Makefile is in the attachment.

 

thanks

Frank

Original Attachment has been moved to: g2d_blit_test.tar.gz

Labels (3)
0 Kudos
1 Solution
923 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Frank, you should not use malloc to prepare the G2D buffer, it needs physical continued memory.

Please reference to attached sample code.

View solution in original post

0 Kudos
4 Replies
923 Views
ramd
Contributor I

Qiang Li,

I need this test program for IMX6SL which does not have IPU.

Is there a program to verify this ?

0 Kudos
923 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Fetch, it can be supported on iMX6SL too, this is 2D feature and the iMX6SL has the GPU 2D too.

0 Kudos
924 Views
qiang_li-mpu_se
NXP Employee
NXP Employee

Hi Frank, you should not use malloc to prepare the G2D buffer, it needs physical continued memory.

Please reference to attached sample code.

0 Kudos
923 Views
franklee19731
Contributor I

Thanks! You are right, g2d should use physical address.

0 Kudos