Skip to contentSkip to conversation

linux-ti-staging: bump rev, update GFX patches w/ AM3/AM4 support

PATCH New Denys Dmytriyenko 1 participant 1 message Aug 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-ti-staging: bump rev, update GFX patches w/ AM3/AM4 support

From: Denys Dmytriyenko <[email protected]>

---
 ...0001-DT-gpu-add-binding-for-TI-SGX-driver.patch |   4 +-
 ...-dts-DRA7xx-add-device-tree-entry-for-SGX.patch |   4 +-
 .../0003-arm-dra7xx-Add-gpu-hwmod-data.patch       |   4 +-
 .../0004-drm-omap-Add-omapdrm-plugin-API.patch     |   4 +-
 ...cache-flush-management-symbols-when-MULTI.patch |  36 +++++
 .../0006-ARM-dts-am33xx-add-DT-node-for-gpu.patch  | 150 +++++++++++++++++++++
 .../0007-ARM-dts-am437x-add-DT-node-for-gpu.patch  | 102 ++++++++++++++
 ...se-pdata-quirks-for-sgx-deassert_hardrese.patch |  96 +++++++++++++
 recipes-kernel/linux/linux-ti-staging_4.1.bb       |  27 ++--
 9 files changed, 408 insertions(+), 19 deletions(-)
 create mode 100644 recipes-kernel/linux/linux-ti-staging-4.1/0005-arm-Export-cache-flush-management-symbols-when-MULTI.patch
 create mode 100644 recipes-kernel/linux/linux-ti-staging-4.1/0006-ARM-dts-am33xx-add-DT-node-for-gpu.patch
 create mode 100644 recipes-kernel/linux/linux-ti-staging-4.1/0007-ARM-dts-am437x-add-DT-node-for-gpu.patch
 create mode 100644 recipes-kernel/linux/linux-ti-staging-4.1/0008-ARM-OMAP2-Use-pdata-quirks-for-sgx-deassert_hardrese.patch
recipes-kernel/linux/linux-ti-staging-4.1/0001-DT-gpu-add-binding-for-TI-SGX-driver.patch +2 -2
index e7cf88f..00628a6 100644
@@ -1,7 +1,7 @@
-From 4b4e3b2f13798a581171abb09b400c033ece9211 Mon Sep 17 00:00:00 2001
+From 4b375ae644830ea38d8bfc1c78da6d83628527ea Mon Sep 17 00:00:00 2001
 From: Anand Balagopalakrishnan <[email protected]>
 Date: Wed, 26 Aug 2015 09:34:49 +0000
-Subject: [PATCH 1/4] DT: gpu: add binding for TI SGX driver
+Subject: [PATCH 1/8] DT: gpu: add binding for TI SGX driver
 
 This patch adds the devicetree binding for TI SGX device driver.
 
recipes-kernel/linux/linux-ti-staging-4.1/0002-ARM-dts-DRA7xx-add-device-tree-entry-for-SGX.patch +2 -2
index ac168c7..ca84e27 100644
@@ -1,7 +1,7 @@
-From 20d10ea071c2b9eebb740f94f1fd0a7e4c9f7c03 Mon Sep 17 00:00:00 2001
+From f3a4651fef3c51a0ec30f321352dc26273eb56d4 Mon Sep 17 00:00:00 2001
 From: Anand Balagopalakrishnan <[email protected]>
 Date: Wed, 26 Aug 2015 09:34:50 +0000
-Subject: [PATCH 2/4] ARM: dts: DRA7xx: add device tree entry for SGX
+Subject: [PATCH 2/8] ARM: dts: DRA7xx: add device tree entry for SGX
 
 Addition of SGX to DRA7xx DTS to enable graphics support.
 
recipes-kernel/linux/linux-ti-staging-4.1/0003-arm-dra7xx-Add-gpu-hwmod-data.patch +2 -2
index 57ee268..7c74b24 100644
@@ -1,7 +1,7 @@
-From cbfdfed432347a3c52cf1c62cba5141b540d8d09 Mon Sep 17 00:00:00 2001
+From 7d96508055ba60029f6fc7a3f8603f2f2630a667 Mon Sep 17 00:00:00 2001
 From: Hemant Hariyani <[email protected]>
 Date: Wed, 26 Aug 2015 09:34:51 +0000
-Subject: [PATCH 3/4] arm:dra7xx: Add gpu hwmod data
+Subject: [PATCH 3/8] arm:dra7xx: Add gpu hwmod data
 
 GPU hwmod data for DRA7xx
 
recipes-kernel/linux/linux-ti-staging-4.1/0004-drm-omap-Add-omapdrm-plugin-API.patch +2 -2
index c89a49d..e09325a 100644
@@ -1,7 +1,7 @@
-From a5ddaecfdf950bd47560ac0a9b1ca9e57afc0c2e Mon Sep 17 00:00:00 2001
+From 931f19bb07833a342e1d87785e989f4609825927 Mon Sep 17 00:00:00 2001
 From: Rob Clark <[email protected]>
 Date: Wed, 26 Aug 2015 09:34:52 +0000
-Subject: [PATCH 4/4] drm/omap: Add omapdrm plugin API
+Subject: [PATCH 4/8] drm/omap: Add omapdrm plugin API
 
 This patch enables SGX driver to be added as a plugin to omapdrm.
 
recipes-kernel/linux/linux-ti-staging-4.1/0005-arm-Export-cache-flush-management-symbols-when-MULTI.patch new file +36 -0
new file mode 100644
index 0000000..12dd52f
@@ -0,0 +1,36 @@
+From ea8c16f49b043f4f096909e0d7bc0b9d248aafce Mon Sep 17 00:00:00 2001
+From: Pantelis Antoniou <[email protected]>
+Date: Fri, 28 Aug 2015 06:17:59 +0000
+Subject: [PATCH 5/8] arm: Export cache flush management symbols when
+ !MULTI_CACHE
+
+When compiling a kernel without CONFIG_MULTI_CACHE enabled the
+dma access functions end up not being exported. Fix it.
+
+Signed-off-by: Pantelis Antoniou <[email protected]>
+Signed-off-by: Tomi Valkeinen <[email protected]>
+Signed-off-by: Eric Ruei <[email protected]>
+---
+ arch/arm/kernel/setup.c | 9 +++++++++
+ 1 file changed, 9 insertions(+)
+
+diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c
+index 979c1c5..063165d 100644
+--- a/arch/arm/kernel/setup.c
++++ b/arch/arm/kernel/setup.c
+@@ -1137,3 +1137,12 @@ const struct seq_operations cpuinfo_op = {
+ 	.stop	= c_stop,
+ 	.show	= c_show
+ };
++
++/* export the cache management functions */
++#ifndef MULTI_CACHE
++
++EXPORT_SYMBOL(__glue(_CACHE,_dma_map_area));
++EXPORT_SYMBOL(__glue(_CACHE,_dma_unmap_area));
++EXPORT_SYMBOL(__glue(_CACHE,_dma_flush_range));
++
++#endif
+-- 
+2.2.0
+
recipes-kernel/linux/linux-ti-staging-4.1/0006-ARM-dts-am33xx-add-DT-node-for-gpu.patch new file +150 -0

150 lines not on this page · raw message

recipes-kernel/linux/linux-ti-staging-4.1/0007-ARM-dts-am437x-add-DT-node-for-gpu.patch new file +102 -0

102 lines not on this page · raw message

recipes-kernel/linux/linux-ti-staging-4.1/0008-ARM-OMAP2-Use-pdata-quirks-for-sgx-deassert_hardrese.patch new file +96 -0

96 lines not on this page · raw message

recipes-kernel/linux/linux-ti-staging_4.1.bb +16 -11
index dff9867..e67cc15 100644
@@ -50,11 +50,11 @@ S = "${WORKDIR}/git"
 
 BRANCH = "ti-lsk-linux-4.1.y"
 
-SRCREV = "4d8b97ba78fe68be2ce19008a6968a2aea0af8bb"
+SRCREV = "20d5e1664b054e8775f4023d65f16b2a1efc8dda"
 PV = "4.1.6+git${SRCPV}"
 
 # Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
-MACHINE_KERNEL_PR_append = "d"
+MACHINE_KERNEL_PR_append = "e"
 PR = "${MACHINE_KERNEL_PR}"
 
 KERNEL_CONFIG_DIR = "${S}/ti_config_fragments"
@@ -68,12 +68,17 @@ MULTI_CONFIG_BASE_SUFFIX = ""
 KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
 KERNEL_GIT_PROTOCOL = "git"
 SRC_URI += "${KERNEL_GIT_URI};protocol=${KERNEL_GIT_PROTOCOL};branch=${BRANCH} \
-            file://defconfig \
-           "
-
-GFX_PATCHES = "file://0001-DT-gpu-add-binding-for-TI-SGX-driver.patch \
-            file://0002-ARM-dts-DRA7xx-add-device-tree-entry-for-SGX.patch \
-            file://0003-arm-dra7xx-Add-gpu-hwmod-data.patch \
-            file://0004-drm-omap-Add-omapdrm-plugin-API.patch"
-
-SRC_URI_append_dra7xx = " ${GFX_PATCHES}"
+            file://defconfig"
+
+GFX_PATCHES =  "file://0001-DT-gpu-add-binding-for-TI-SGX-driver.patch \
+                file://0002-ARM-dts-DRA7xx-add-device-tree-entry-for-SGX.patch \
+                file://0003-arm-dra7xx-Add-gpu-hwmod-data.patch \
+                file://0004-drm-omap-Add-omapdrm-plugin-API.patch \
+                file://0005-arm-Export-cache-flush-management-symbols-when-MULTI.patch \
+                file://0006-ARM-dts-am33xx-add-DT-node-for-gpu.patch \
+                file://0007-ARM-dts-am437x-add-DT-node-for-gpu.patch \
+                file://0008-ARM-OMAP2-Use-pdata-quirks-for-sgx-deassert_hardrese.patch"
+
+SRC_URI_append_omap-a15 = " ${GFX_PATCHES}"
+SRC_URI_append_ti33x = " ${GFX_PATCHES}"
+SRC_URI_append_ti43x = " ${GFX_PATCHES}"
Signature · 1 line
2.2.0