Tool/software: Linux
software: automote-dra7xx-evm-05_00_00_01
hardware: custom board with dra725 32bit DDR 1GByte
I need to load a lot of textures.
It's often get errors after call function eglCreateImageKHR.
the error mesg like this:
error creating EGLImage: 0x3003 0
[ 63.294201] omapdrm omapdrm.0: could not remap: -12 (3)
[ 63.299620] PVR_K:(Error): DmaBufImportAndAcquirePhysAddr: dma_buf_map_attachment failed: -298213824
[ 63.309004] PVR_K:(Error): PVRSRVMapDmaBufKM: Failed to get dma-buf phys addr
[ 63.316561] PVR_K:(Error): PVRSRVMapDmaBufBW: Failed to map dma-buf handle
the Error code 12 indicates out of memory (ENOMEM).
But there are lot of memory free.
root@dra72x:~# free
total used free shared buffers cached
Mem: 829900 225020 604880 126592 224 142572
-/+ buffers/cache: 82224 747676
Swap: 0 0 0
root@dra72x:~#
How to extend the GPU memory size?