I have a problem with g2d_open() on the 3.0.35 Linux kernel. I am using the drivers found in imx-gpu-viv-5.0.11.p4.5-hfp binary package and have initialized the galcore device with the following settings:
iv/galcore.ko irqLine=-1 registerMemBase=0x00220000 registerMemSize=0x00004000 i
rqLine=41 irqLine2D=42 irqLineVG=43 registerMemBase2D=0x002240000 registerMemSiz
e2D=0x00004000 contiguousSize=0x00800000 fastClear=-1 baseAddress=0.
galcore can be opened. However g2d_open() fails with a status of -7 reported from the g2d driver. What am I missing? Do The kernel is built for HFP on an imx6 (Solo). I am using a debian build, not Yocto. The vivante library files are in my /usr/lib directory with read/write permissions set for everyone.. The settings in the mxc/gpu-viv/config file are the default settings.
Do I need to use a different driver or is there some other setting I have failed to set?