Bug 9781

Summary: ti-sgx-km build on kernel >4.1
Product: buildroot Reporter: Simon Benoit <sbenoit>
Component: OtherAssignee: unassigned
Status: RESOLVED WONTFIX    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Host: Target:
Build:

Description Simon Benoit 2017-03-27 13:31:28 UTC
The ti-gfx-km will not find the dmac function when building.
Since the prototype has changed file/folder since version higher than 4.1. We need to patch the ocfunc.c file and add


54a55,57
> #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0))
> #include <../mm/dma.h>
> #endif
Comment 1 Thomas Petazzoni 2018-02-05 16:46:03 UTC
This really is an upstream problem. The Git repository at http://git.ti.com/graphics/omap5-sgx-ddk-linux has newer versions, but the Git history is a bit of a mess, making it difficult to know if the latest master branch still applies to the SoCs ti-sgx-km currently supports.

Someone having access to HW and interested in TI platforms should look into this. Could you submit a patch updating the ti-sgx-km to a newer version?