Signed-off-by: Denys Dmytriyenko <[email protected]> --- ...n-devicemem.c-suppress-implicit-fallthrou.patch | 26 ++++++++++++++++++++++ .../powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb | 7 ++++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-srvkm-common-devicemem.c-suppress-implicit-fallthrou.patch
diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-srvkm-common-devicemem.c-suppress-implicit-fallthrou.patch b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-srvkm-common-devicemem.c-suppress-implicit-fallthrou.patch new file mode 100644 index 0000000..f2affec --- /dev/null +++ b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-srvkm-common-devicemem.c-suppress-implicit-fallthrou.patch @@ -0,0 +1,26 @@ +From 621e02869be9958400fd045e1bb0f4f1d81a6918 Mon Sep 17 00:00:00 2001 +From: Denys Dmytriyenko <[email protected]> +Date: Fri, 10 Nov 2017 18:55:26 -0500 +Subject: [PATCH] srvkm/common/devicemem.c: suppress implicit fallthrough error + in gcc7 + +Signed-off-by: Denys Dmytriyenko <[email protected]> +--- + eurasia_km/services4/srvkm/common/devicemem.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/eurasia_km/services4/srvkm/common/devicemem.c b/eurasia_km/services4/srvkm/common/devicemem.c +index baf7c41..c083c63 100644 +--- a/eurasia_km/services4/srvkm/common/devicemem.c ++++ b/eurasia_km/services4/srvkm/common/devicemem.c +@@ -1071,6 +1071,7 @@ PVRSRV_ERROR FreeMemCallBackCommon(PVRSRV_KERNEL_MEM_INFO *psMemInfo, + case PVRSRV_MEMTYPE_ION: + case PVRSRV_MEMTYPE_DMABUF: + freeExternal(psMemInfo); ++ /* FALLTHRU */ + case PVRSRV_MEMTYPE_DEVICE: + case PVRSRV_MEMTYPE_DEVICECLASS: + #if defined(SUPPORT_ION) +-- +2.7.4 + diff --git a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb index 0e5411f..0303797 100644 --- a/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb +++ b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb @@ -7,7 +7,7 @@ inherit module COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" -MACHINE_KERNEL_PR_append = "m" +MACHINE_KERNEL_PR_append = "o" PR = "${MACHINE_KERNEL_PR}" PACKAGE_ARCH = "${MACHINE_ARCH}" @@ -22,7 +22,10 @@ RCONFLICTS_${PN} = "omapdrm-pvr" BRANCH = "ti-img-sgx/${PV}/k4.9" -SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}" +SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \ +file://0001-srvkm-common-devicemem.c-suppress-implicit-fallthrou.patch \ +" + S = "${WORKDIR}/git" SRCREV = "0086977380d3320d70a3abc78b95fa0641427073" -- 2.7.4 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
