diff options
author | Denys Dmytriyenko <denys@ti.com> | 2017-11-11 06:05:17 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2017-11-13 11:48:48 -0500 |
commit | 7bdd54b55b75cf0a495e5d07838e4e499892dd9a (patch) | |
tree | c29e851334d9623d90762ff07f36326ec07b7218 /recipes-bsp/powervr-drivers | |
parent | e3b3c89b9163f16a5aa652d44fe337fa337e48a2 (diff) | |
download | meta-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.patch | 26 | ||||
-rw-r--r-- | recipes-bsp/powervr-drivers/ti-sgx-ddk-km_1.14.3699939.bb | 7 |
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 @@ | |||
1 | From 621e02869be9958400fd045e1bb0f4f1d81a6918 Mon Sep 17 00:00:00 2001 | ||
2 | From: Denys Dmytriyenko <denys@ti.com> | ||
3 | Date: Fri, 10 Nov 2017 18:55:26 -0500 | ||
4 | Subject: [PATCH] srvkm/common/devicemem.c: suppress implicit fallthrough error | ||
5 | in gcc7 | ||
6 | |||
7 | Signed-off-by: Denys Dmytriyenko <denys@ti.com> | ||
8 | --- | ||
9 | eurasia_km/services4/srvkm/common/devicemem.c | 1 + | ||
10 | 1 file changed, 1 insertion(+) | ||
11 | |||
12 | diff --git a/eurasia_km/services4/srvkm/common/devicemem.c b/eurasia_km/services4/srvkm/common/devicemem.c | ||
13 | index 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 | -- | ||
25 | 2.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 | ||
8 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" | 8 | COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15" |
9 | 9 | ||
10 | MACHINE_KERNEL_PR_append = "m" | 10 | MACHINE_KERNEL_PR_append = "o" |
11 | PR = "${MACHINE_KERNEL_PR}" | 11 | PR = "${MACHINE_KERNEL_PR}" |
12 | 12 | ||
13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
@@ -22,7 +22,10 @@ RCONFLICTS_${PN} = "omapdrm-pvr" | |||
22 | 22 | ||
23 | BRANCH = "ti-img-sgx/${PV}/k4.9" | 23 | BRANCH = "ti-img-sgx/${PV}/k4.9" |
24 | 24 | ||
25 | SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH}" | 25 | SRC_URI = "git://git.ti.com/graphics/omap5-sgx-ddk-linux.git;protocol=git;branch=${BRANCH} \ |
26 | file://0001-srvkm-common-devicemem.c-suppress-implicit-fallthrou.patch \ | ||
27 | " | ||
28 | |||
26 | S = "${WORKDIR}/git" | 29 | S = "${WORKDIR}/git" |
27 | 30 | ||
28 | SRCREV = "0086977380d3320d70a3abc78b95fa0641427073" | 31 | SRCREV = "0086977380d3320d70a3abc78b95fa0641427073" |