summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0025-DSS2-VRFB-Macro-for-calculating-base-address-of-th.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0025-DSS2-VRFB-Macro-for-calculating-base-address-of-th.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0025-DSS2-VRFB-Macro-for-calculating-base-address-of-th.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0025-DSS2-VRFB-Macro-for-calculating-base-address-of-th.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0025-DSS2-VRFB-Macro-for-calculating-base-address-of-th.patch
new file mode 100644
index 0000000000..e81b1331bb
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0025-DSS2-VRFB-Macro-for-calculating-base-address-of-th.patch
@@ -0,0 +1,28 @@
1From 990f3160d33361c135ee72e91f202e05a8c378fc Mon Sep 17 00:00:00 2001
2From: Hardik Shah <hardik.shah@ti.com>
3Date: Mon, 13 Apr 2009 18:50:24 +0530
4Subject: [PATCH] DSS2: VRFB: Macro for calculating base address of the VRFB context was faulty
5
6Signed-off-by: Hardik Shah <hardik.shah@ti.com>
7---
8 arch/arm/plat-omap/vrfb.c | 4 ++--
9 1 files changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/arch/arm/plat-omap/vrfb.c b/arch/arm/plat-omap/vrfb.c
12index 7e0f8fc..d68065f 100644
13--- a/arch/arm/plat-omap/vrfb.c
14+++ b/arch/arm/plat-omap/vrfb.c
15@@ -16,8 +16,8 @@
16
17 #define SMS_ROT_VIRT_BASE(context, rot) \
18 (((context >= 4) ? 0xD0000000 : 0x70000000) \
19- | 0x4000000 * (context) \
20- | 0x1000000 * (rot))
21+ + (0x4000000 * (context)) \
22+ + (0x1000000 * (rot)))
23
24 #define OMAP_VRFB_SIZE (2048 * 2048 * 4)
25
26--
271.5.6.5
28