Error occured when testing g2d on ubuntu imx6dl

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Error occured when testing g2d on ubuntu imx6dl

ソリューションへジャンプ
1,886件の閲覧回数
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 解決策
1,402件の閲覧回数
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 返答(返信)
1,402件の閲覧回数
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 件の賞賛
返信
1,402件の閲覧回数
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 件の賞賛
返信
1,403件の閲覧回数
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 件の賞賛
返信
1,402件の閲覧回数
franklee19731
Contributor I

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

0 件の賞賛
返信