Error occured when testing g2d on ubuntu imx6dl

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Error occured when testing g2d on ubuntu imx6dl

跳至解决方案
2,735 次查看
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

标签 (3)
0 项奖励
回复
1 解答
2,251 次查看
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 项奖励
回复
4 回复数
2,251 次查看
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 项奖励
回复
2,251 次查看
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 项奖励
回复
2,252 次查看
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 项奖励
回复
2,251 次查看
franklee19731
Contributor I

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

0 项奖励
回复