AnsweredAssumed Answered

Vivante GPU issue

Question asked by Beniamin Sandu on Jul 31, 2017
Latest reply on Aug 21, 2017 by Beniamin Sandu

Hello,

 

First of all, I'm sorry if this is not the right place to ask, it's the first time I'm doing this. I don't expect a direct solution, but any hint or idea regarding my issue will be greatly appreciated.

 

I'm working on creating a BSP for a board similar to Nitrogen6 Max from Boundary Devices, based on a 4.8 Kernel. Our board has 4GB of RAM so we need CONFIG_HIGHMEM enabled in order to use all available memory. Problem is that the Galcore driver implementation does not work with HIGHMEM enabled on 4.8 kernel (and I assume on any recent kernel version).

 

I've been trying to debug and fix this for the past few days, with no success. Apparently, because of memory allocation changes between kernels, the driver will try to allocate and use memory from the >2GB area, and was built to only work with lowmem area. 

 

Is there any Galcore driver implementation that takes into account usage of buffers from >2GB memory area? I saw that the Freescale Yocto BSP uses the out-of-tree kernel-module-imx-gpu-viv, but the most recent version is still built against 4.1 kernel, and I could not find anything which works with more recent kernels.

 

I have no previous experience with this driver and it's pretty complex and slow to debug, so as I said, any hint could help.

 

Thank you,

Beni

Outcomes