summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/powervr-drivers
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2017-11-11 06:05:17 +0000
committerDenys Dmytriyenko <denys@ti.com>2017-11-13 11:48:48 -0500
commit7bdd54b55b75cf0a495e5d07838e4e499892dd9a (patch)
treec29e851334d9623d90762ff07f36326ec07b7218 /recipes-bsp/powervr-drivers
parente3b3c89b9163f16a5aa652d44fe337fa337e48a2 (diff)
downloadmeta-ti-7bdd54b55b75cf0a495e5d07838e4e499892dd9a.tar.gz
ti-sgx-ddk-km: suppress implicit fallthrough error in gcc7
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/powervr-drivers')
-rw-r--r--recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-srvkm-common-devicemem.c-suppress-implicit-fallthrou.patch26
-rw-r--r--recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb7
2 files changed, 31 insertions, 2 deletions
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 00000000..f2affecb
--- /dev/null
+++ b/recipes-bsp/powervr-drivers/ti-sgx-ddk-km/0001-srvkm-common-devicemem.c-suppress-implicit-fallthrou.patch
@@ -0,0 +1,26 @@
1From 621e02869be9958400fd045e1bb0f4f1d81a6918 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com>
3Date: Fri, 10 Nov 2017 18:55:26 -0500
4Subject: [PATCH] srvkm/common/devicemem.c: suppress implicit fallthrough error
5 in gcc7
6
7Signed-off-by: Denys Dmytriyenko <denys@ti.com>
8---
9 eurasia_km/services4/srvkm/common/devicemem.c | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/eurasia_km/services4/srvkm/common/devicemem.c b/eurasia_km/services4/srvkm/common/devicemem.c
13index baf7c41..c083c63 100644
14--- a/eurasia_km/services4/srvkm/common/devicemem.c
15+++ b/eurasia_km/services4/srvkm/common/devicemem.c
16@@ -1071,6 +1071,7 @@ PVRSRV_ERROR FreeMemCallBackCommon(PVRSRV_KERNEL_MEM_INFO *psMemInfo,
17 case PVRSRV_MEMTYPE_ION:
18 case PVRSRV_MEMTYPE_DMABUF:
19 freeExternal(psMemInfo);
20+ /* FALLTHRU */
21 case PVRSRV_MEMTYPE_DEVICE:
22 case PVRSRV_MEMTYPE_DEVICECLASS:
23 #if defined(SUPPORT_ION)
24--
252.7.4
26
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 0e5411fa..03037977 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
7 7
8COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" 8COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
9 9
10MACHINE_KERNEL_PR_append = "m" 10MACHINE_KERNEL_PR_append = "o"
11PR = "${MACHINE_KERNEL_PR}" 11PR = "${MACHINE_KERNEL_PR}"
12 12
13PACKAGE_ARCH = "${MACHINE_ARCH}" 13PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -22,7 +22,10 @@ RCONFLICTS_${PN} = "omapdrm-pvr"
22 22
23BRANCH = "ti-img-sgx/${PV}/k4.9" 23BRANCH = "ti-img-sgx/${PV}/k4.9"
24 24
25SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}" 25SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \
26file://0001-srvkm-common-devicemem.c-suppress-implicit-fallthrou.patch \
27"
28
26S = "${WORKDIR}/git" 29S = "${WORKDIR}/git"
27 30
28SRCREV = "0086977380d3320d70a3abc78b95fa0641427073" 31SRCREV = "0086977380d3320d70a3abc78b95fa0641427073"