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?
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);