Hello I've been trying to run freedreno on the Nexus 5. For that, I need a kernel compiled with Direct Rendering Manager enabled, and the MSM 2D and 3D graphics drivers with a DRM interface too. They are all enabled in the menuconfig interface, correctly set in the .config. These options are not enabled in stock kernels (and I need them all)
Note that I can build the kernel and get a bootimage working without a problem without the MSM 3D graphics driver. I've tried compiling both the AOSP kernel, Cyanogenmod kernel, and other kanged random kernels to no avail. The "Build a DRM interface for the MSM_KGSL driver" is the one that exactly causes this error. The others won't make the compilation fail, but are pretty useless on their own. ...... CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 drivers/built-in.o: In function `kgsl_gem_set_glock_handles_ ioctl': /home/pablo/linux/msm/drivers/gpu/msm/kgsl_drm.c:991: undefined reference to `genlock_get_handle_fd' drivers/built-in.o: In function `kgsl_gem_get_glock_handles_ioctl': /home/pablo/linux/msm/drivers/gpu/msm/kgsl_drm.c:962: undefined reference to `genlock_get_fd_handle' drivers/built-in.o: In function `kgsl_gem_free_memory': /home/pablo/linux/msm/drivers/gpu/msm/kgsl_drm.c:352: undefined reference to `genlock_put_handle' Makefile:878: recipe for target '.tmp_vmlinux1' failed make: *** [.tmp_vmlinux1] Error 1 make -j8 22.16s user 2.41s system 316% cpu 7.754 total KGSL_DRM is the actual thing I seek, and it fails miserably. The genlock functions that are undefined are present in these two files, so its not like they are missing msm/drivers/base/genlock.c msm/include/linux/genlock.h I looked into the drivers/makefile and found that the gpu group is made before the base group. Changing the order did not affect anything. If you have any idea on where to look next or if someone else has encountered this I'd be inmensely grateful. -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
