AnsweredAssumed Answered

Is there support for the imx-gpu-viv driver on a 4.14 kernel?

Question asked by Michael Worster on Feb 21, 2019
Latest reply on Feb 25, 2019 by jimmychan

I'm attempting to build a Sumo yocto release with a NXP supported 4.14.78 kernel from here: linux-imx - i.MX Linux kernel 


During the build, it appears there are a number of issues with the kernel-module-imx-gpu-viv driver (version 6.2.4.p1.2). Is there any support for this driver on the kernel?


Full build log is attached.


Sample of some of the build issues I'm seeing:

imx6dlicomv2cib/kernel-source/include/linux/stat.h:11:18: error: expected ')' before '(' token

imx6dlicomv2cib-poky-linux-gnueabi/kernel-module-imx-gpu-viv/6.2.4.p1.2+fslc+gitAUTOINC+86354002be-r0/git/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx.c:360:35: note: in expansion of macro 'S_IRUGO'
|  static DRIVER_ATTR(gpu3DMinClock, S_IRUGO | S_IWUSR, show_gpu3DMinClock, update_gpu3DMinClock);
|                                    ^~~~~~~