g2d_alloc: alloc memory fail with size 6220800

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

g2d_alloc: alloc memory fail with size 6220800

2,391件の閲覧回数
yongtang
Contributor I

Hi, Freescale

   I use g2d for image scale,but failed on alloc g2d memory(size = 6220800):

g2d_open(&mhG2d);

nSrcBufSize = 6220800;     //1080p yuv444

g2d_alloc(nSrcBufSize, 0);

error log:

g2d_alloc: alloc memory fail with size 6220800!

Alloc 4608000 bytes success(1920x1200, yuv422).

How can i fixed this issue? How much hard memory for G2D can i alloc?

ラベル(1)
タグ(1)
0 件の賞賛
2 返答(返信)

1,312件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi yong

g2d_alloc has the 32MB limit. Please check document provided at: Re: GPU3D Driver Support

Section 9 GPU memory, for instructions to change this reserved memory space.

Regards

0 件の賞賛

1,312件の閲覧回数
yongtang
Contributor I

Hi, Bio_TICFSL

     Thanks for your reply.

     I have some questions related the gpu memory:

          1. How can i observed the free memory size not be allocated?

          2. If g2d_alloc failed,does there have some workaround for this?

Regards

0 件の賞賛