Bug 9781 - ti-sgx-km build on kernel >4.1
Summary: ti-sgx-km build on kernel >4.1
Status: RESOLVED WONTFIX
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-27 13:31 UTC by Simon Benoit
Modified: 2018-02-05 16:46 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?