g2d_make_current: invalid g2d thread context

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

g2d_make_current: invalid g2d thread context

927件の閲覧回数
yongtang
Contributor I

Hi, Freescale

I use g2d for image scale,my call order as below:

     g2d_open(&mhG2d)

     g2d_alloc

     g2d_make_current(mhG2d, G2D_HARDWARE_2D)

     ...

But it failed on g2d_make_current,it is indicate "g2d_make_current: invalid g2d thread context !",what is wrong with this call order? How can i fixed?

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

536件の閲覧回数
jamesbone
NXP TechSupport
NXP TechSupport

Hello Yong,

Your memory allocation in your order it is incorrect. Please check document provided at: Re: GPU3D Driver Support

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

Something like

nSrcBufSize = 3220800; 

g2d_alloc(nSrcBufSize, 0);

0 件の賞賛