summaryrefslogtreecommitdiffstats
path: root/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2014-09-01 09:25:46 +0300
committerSamuli Piippo <samuli.piippo@digia.com>2014-09-23 16:38:41 +0300
commit238bad671c9265b71db2f104d85c84bd74303605 (patch)
tree5e09edc1fed4aa8dbd3280125b208c6f8de72f26 /recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch
parent4c99bd2137f422a8b89ee6eeb0c516e60d15f137 (diff)
downloadmeta-boot2qt-238bad671c9265b71db2f104d85c84bd74303605.tar.gz
beaglebone: Add cape support for beaglebone black
Linux kernel version 3.8 from meta-beagleboard adds support for the cape manager. Using powervr driver version 4.10.00.01, SGX is also supported. Patches for the kernel and SGX are taken from TI support pages. Kernel args need 'quiet' for HDMI to work, otherwise you only get black screen. Double buffering (libpvrPVR2D_FLIPWSEGL.so) does not work, need to use FRONT buffering which can cause screen tearing. Task-number: QTEE-312 Change-Id: I160e7e954ce9d060b0cb1bdaca70b24de9ccd697 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@digia.com> Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch')
-rw-r--r--recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch b/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch
new file mode 100644
index 0000000..ce50479
--- /dev/null
+++ b/recipes/powervr-drivers/omap3-sgx-modules/0001-Graphics-SDK-04.10.00.01-AM335x-sgx-irq-change.patch
@@ -0,0 +1,32 @@
1From e55f63a07e5266095da89b7f94122fcba9bdef04 Mon Sep 17 00:00:00 2001
2From: Prathap M S <msprathap@ti.com>
3Date: Tue, 19 Nov 2013 16:33:24 +0530
4Subject: [PATCH 1/1] Graphics SDK 04.10.00.01 : AM335x sgx irq change
5
6This patch enables PVR_LINUX_DYNAMIC_SGX_RESOURCE_INFO for AM335x.
7This is required with 3.8 kernel onwards which uses DT.
8This will enable the path of getting sgx irq number dynamically.
9
10Signed-off-by: Prathap M S <msprathap@ti.com>
11---
12 services4/system/ti335x/syslocal.h | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/services4/system/ti335x/syslocal.h b/services4/system/ti335x/syslocal.h
16index 090b38d..222d52d 100644
17--- a/services4/system/ti335x/syslocal.h
18+++ b/services4/system/ti335x/syslocal.h
19@@ -69,8 +69,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20 #if !defined(LDM_PLATFORM)
21 #error "LDM_PLATFORM must be set"
22 #endif
23-//#define PVR_LINUX_DYNAMIC_SGX_RESOURCE_INFO
24-//#include <linux/platform_device.h>
25+#define PVR_LINUX_DYNAMIC_SGX_RESOURCE_INFO
26+#include <linux/platform_device.h>
27 #endif
28
29 #if ((defined(DEBUG) || defined(TIMING)) && \
30--
311.7.9.5
32