From fd0fb50ca8092cbb0e8c52b462a1a91e8e6228e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Duje=20Mihanovi=C4=87?= Date: Fri, 19 Sep 2025 17:15:15 +0200 Subject: [PATCH] device: Move MSM GPU compile fix to shared patches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The downstream KGSL patch is shared by a ton of devices, make it shared. xiaomi-aries is exempt as it has a different path for the KGSL driver. [ci:skip-build] # No functional changes [ci:skip-vercheck] # See above Signed-off-by: Duje Mihanović Part-of: --- .../linux/02_gpu-msm-fix-gcc5-compile.patch | 33 +++++++++++++++++ .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 35 +------------------ device/downstream/linux-htc-ace/APKBUILD | 2 +- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- .../02_gpu-msm-fix-gcc5-compile.patch | 34 +----------------- 36 files changed, 68 insertions(+), 1124 deletions(-) create mode 100644 device/.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/archived/linux-htc-m8-downstream/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/archived/linux-lg-mako-downstream/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/archived/linux-motorola-falcon-downstream/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/archived/linux-motorola-peregrine-downstream/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/archived/linux-oneplus-bacon-downstream/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/archived/linux-samsung-royss/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/archived/linux-samsung-s6500d/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-acer-swing/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-amazon-thor/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-asus-duma/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-htc-ace/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-htc-vision/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-htc-vivo/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-huawei-y530/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-lg-d285/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-lg-d851/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-lg-d855/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-lg-e610/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-lg-p700/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-lg-vee3e/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-lg-vee7e/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-lg-w5/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-nokia-rm885/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-nokia-sand/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-samsung-i747m/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-samsung-serranodsdd/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-samsung-serranolte/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-semc-anzu/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-sony-coconut/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-sony-mango/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-sony-seagull/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-t2m-flame/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-xiaomi-armani/02_gpu-msm-fix-gcc5-compile.patch mode change 100644 => 120000 device/downstream/linux-xiaomi-cancro/02_gpu-msm-fix-gcc5-compile.patch diff --git a/device/.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch b/device/.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch new file mode 100644 index 000000000..91b17cd76 --- /dev/null +++ b/device/.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1,33 @@ +source: +https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 + +* These need to be static to avoid these errors: + +drivers/built-in.o: In function `.LANCHOR1': +msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' +msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' +Makefile:877: recipe for target '.tmp_vmlinux1' failed +make: *** [.tmp_vmlinux1] Error 1 + +Signed-off-by: Chet Kener + +--- a/drivers/gpu/msm/kgsl_iommu.c ++++ b/drivers/gpu/msm/kgsl_iommu.c +@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) + * + * Return - int - number of commands. + */ +-inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, ++static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, + unsigned int *cmds) + { + struct kgsl_device *device = mmu->device; +@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, + * + * Return - int - number of commands. + */ +-inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, ++static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, + unsigned int *cmds) + { + struct kgsl_device *device = mmu->device; diff --git a/device/archived/linux-htc-m8-downstream/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-htc-m8-downstream/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/archived/linux-htc-m8-downstream/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/archived/linux-htc-m8-downstream/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-htc-m8-downstream/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/archived/linux-htc-m8-downstream/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/archived/linux-lg-mako-downstream/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-lg-mako-downstream/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/archived/linux-lg-mako-downstream/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/archived/linux-lg-mako-downstream/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-lg-mako-downstream/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/archived/linux-lg-mako-downstream/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/archived/linux-motorola-falcon-downstream/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-motorola-falcon-downstream/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/archived/linux-motorola-falcon-downstream/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/archived/linux-motorola-falcon-downstream/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-motorola-falcon-downstream/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/archived/linux-motorola-falcon-downstream/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/archived/linux-motorola-peregrine-downstream/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-motorola-peregrine-downstream/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/archived/linux-motorola-peregrine-downstream/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/archived/linux-motorola-peregrine-downstream/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-motorola-peregrine-downstream/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/archived/linux-motorola-peregrine-downstream/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/archived/linux-oneplus-bacon-downstream/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-oneplus-bacon-downstream/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/archived/linux-oneplus-bacon-downstream/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/archived/linux-oneplus-bacon-downstream/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-oneplus-bacon-downstream/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/archived/linux-oneplus-bacon-downstream/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/archived/linux-samsung-royss/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-samsung-royss/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/archived/linux-samsung-royss/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/archived/linux-samsung-royss/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-samsung-royss/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/archived/linux-samsung-royss/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/archived/linux-samsung-s6500d/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-samsung-s6500d/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/archived/linux-samsung-s6500d/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/archived/linux-samsung-s6500d/02_gpu-msm-fix-gcc5-compile.patch b/device/archived/linux-samsung-s6500d/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/archived/linux-samsung-s6500d/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-acer-swing/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-acer-swing/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-acer-swing/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-acer-swing/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-acer-swing/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-acer-swing/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-amazon-thor/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-amazon-thor/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-amazon-thor/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-amazon-thor/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-amazon-thor/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-amazon-thor/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-asus-duma/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-asus-duma/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-asus-duma/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-asus-duma/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-asus-duma/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-asus-duma/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-htc-ace/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-htc-ace/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 3df461d52..000000000 --- a/device/downstream/linux-htc-ace/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 50284e8b1ef6a51f5f56d05bbf5ff28adc211a97 Mon Sep 17 00:00:00 2001 -From: victor9 -Date: Mon, 17 Jul 2017 12:18:56 +0200 -Subject: [PATCH] Changed kgsl_iommu_sync to static - ---- - drivers/gpu/msm/kgsl_iommu.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/drivers/gpu/msm/kgsl_iommu.c b/drivers/gpu/msm/kgsl_iommu.c -index 24690c4..47818c5 100755 ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -926,7 +926,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -984,7 +984,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; --- -2.7.4 - diff --git a/device/downstream/linux-htc-ace/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-htc-ace/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-htc-ace/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-htc-ace/APKBUILD b/device/downstream/linux-htc-ace/APKBUILD index 737aa0f89..3f5a83246 100644 --- a/device/downstream/linux-htc-ace/APKBUILD +++ b/device/downstream/linux-htc-ace/APKBUILD @@ -54,7 +54,7 @@ package() { sha512sums=" 72fc35e1c7fe848ae5c1139176d4c45ef042d494403ab38e5fa98e3620fce3253ffc4bf7151738c7dd47967f2ad96b034a9365dc68f1c025aef87e985d5b1776 linux-htc-ace-887cd64b8361ac89ac56810460947a537112bdc9.tar.gz 0c959e3da98feaa594b2177650a0b71e934376ceffa454b2f82b7517f357ca03e88a9f6db5e962a57f0b1f45579a830b41bf414e8c7cd38edaa4d3fec6c433de config-htc-ace.armv7 -2962e853aea3bec3cfea762584a6722023c5c9041994065a7ee75b6c4584121890d6dd1ac74317a2bb8069bff49583a9cccd73cca539665a76713465e05a2cf6 02_gpu-msm-fix-gcc5-compile.patch +7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch 6a4079863ca09f8bca1dd9c80487860a8f6fc6c20d18961bc54988bb1831517e36092605cc593e5e1531ebb80eb76d0b1a006c339a7e334dc0d85bd91b20c72a 03_msm-fb-pixclock.patch 9e3b067fa1b19ad02500c4fce1b6142051df3845c508e615788beb650c4f953683107ac2d80670c4e3df38f532e0e91060d2d13ec04c9ec985abd2dfa82e900b linux3.4-ARM-8933-1-replace-Sun-Solaris-style-flag-on-section.patch " diff --git a/device/downstream/linux-htc-vision/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-htc-vision/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-htc-vision/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-htc-vision/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-htc-vision/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-htc-vision/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-htc-vivo/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-htc-vivo/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-htc-vivo/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-htc-vivo/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-htc-vivo/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-htc-vivo/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-huawei-y530/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-huawei-y530/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-huawei-y530/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-huawei-y530/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-huawei-y530/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-huawei-y530/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-lg-d285/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-d285/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-lg-d285/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-lg-d285/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-d285/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-lg-d285/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-lg-d851/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-d851/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-lg-d851/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-lg-d851/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-d851/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-lg-d851/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-lg-d855/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-d855/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-lg-d855/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-lg-d855/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-d855/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-lg-d855/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-lg-e610/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-e610/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-lg-e610/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-lg-e610/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-e610/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-lg-e610/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-lg-p700/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-p700/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-lg-p700/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-lg-p700/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-p700/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-lg-p700/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-lg-vee3e/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-vee3e/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-lg-vee3e/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-lg-vee3e/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-vee3e/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-lg-vee3e/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-lg-vee7e/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-vee7e/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-lg-vee7e/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-lg-vee7e/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-vee7e/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-lg-vee7e/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-lg-w5/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-w5/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-lg-w5/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-lg-w5/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-lg-w5/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-lg-w5/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-nokia-rm885/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-nokia-rm885/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-nokia-rm885/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-nokia-rm885/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-nokia-rm885/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-nokia-rm885/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-nokia-sand/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-nokia-sand/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-nokia-sand/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-nokia-sand/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-nokia-sand/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-nokia-sand/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-samsung-i747m/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-samsung-i747m/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-samsung-i747m/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-samsung-i747m/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-samsung-i747m/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-samsung-i747m/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-samsung-serranodsdd/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-samsung-serranodsdd/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-samsung-serranodsdd/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-samsung-serranodsdd/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-samsung-serranodsdd/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-samsung-serranodsdd/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-samsung-serranolte/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-samsung-serranolte/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-samsung-serranolte/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-samsung-serranolte/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-samsung-serranolte/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-samsung-serranolte/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-semc-anzu/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-semc-anzu/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-semc-anzu/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-semc-anzu/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-semc-anzu/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-semc-anzu/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-sony-coconut/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-sony-coconut/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-sony-coconut/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-sony-coconut/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-sony-coconut/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-sony-coconut/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-sony-mango/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-sony-mango/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-sony-mango/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-sony-mango/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-sony-mango/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-sony-mango/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-sony-seagull/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-sony-seagull/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-sony-seagull/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-sony-seagull/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-sony-seagull/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-sony-seagull/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-t2m-flame/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-t2m-flame/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-t2m-flame/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-t2m-flame/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-t2m-flame/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-t2m-flame/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-xiaomi-armani/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-xiaomi-armani/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-xiaomi-armani/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-xiaomi-armani/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-xiaomi-armani/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-xiaomi-armani/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file diff --git a/device/downstream/linux-xiaomi-cancro/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-xiaomi-cancro/02_gpu-msm-fix-gcc5-compile.patch deleted file mode 100644 index 91b17cd76..000000000 --- a/device/downstream/linux-xiaomi-cancro/02_gpu-msm-fix-gcc5-compile.patch +++ /dev/null @@ -1,33 +0,0 @@ -source: -https://github.com/ShinySide/HispAsian_Lollipop_G6/commit/b7756b6fc4bb728722b14d2dfdbaf1dc843812e9 - -* These need to be static to avoid these errors: - -drivers/built-in.o: In function `.LANCHOR1': -msm_iommu_sec.c:(.data+0x9298): undefined reference to `kgsl_iommu_sync_lock' -msm_iommu_sec.c:(.data+0x929c): undefined reference to `kgsl_iommu_sync_unlock' -Makefile:877: recipe for target '.tmp_vmlinux1' failed -make: *** [.tmp_vmlinux1] Error 1 - -Signed-off-by: Chet Kener - ---- a/drivers/gpu/msm/kgsl_iommu.c -+++ b/drivers/gpu/msm/kgsl_iommu.c -@@ -1010,7 +1010,7 @@ static int kgsl_iommu_init_sync_lock(struct kgsl_mmu *mmu) - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; -@@ -1080,7 +1080,7 @@ inline unsigned int kgsl_iommu_sync_lock(struct kgsl_mmu *mmu, - * - * Return - int - number of commands. - */ --inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, -+static inline unsigned int kgsl_iommu_sync_unlock(struct kgsl_mmu *mmu, - unsigned int *cmds) - { - struct kgsl_device *device = mmu->device; diff --git a/device/downstream/linux-xiaomi-cancro/02_gpu-msm-fix-gcc5-compile.patch b/device/downstream/linux-xiaomi-cancro/02_gpu-msm-fix-gcc5-compile.patch new file mode 120000 index 000000000..e0da48130 --- /dev/null +++ b/device/downstream/linux-xiaomi-cancro/02_gpu-msm-fix-gcc5-compile.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/02_gpu-msm-fix-gcc5-compile.patch \ No newline at end of file