summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/03-enable-overlay-opt.diff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/linux/linux-omap2-git/beagleboard/03-enable-overlay-opt.diff
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap2-git/beagleboard/03-enable-overlay-opt.diff')
-rw-r--r--meta/recipes-kernel/linux/linux-omap2-git/beagleboard/03-enable-overlay-opt.diff27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/03-enable-overlay-opt.diff b/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/03-enable-overlay-opt.diff
new file mode 100644
index 0000000000..9fa749f5fc
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/03-enable-overlay-opt.diff
@@ -0,0 +1,27 @@
1From: Mans Rullgard <mans@mansr.com>
2Date: Sun, 6 Jul 2008 13:15:36 +0000 (+0100)
3Subject: omapfb: enable overlay optimisation when possible
4X-Git-Tag: beagle-5~1
5X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=a63ac3abdf6781f863112321260fe7a5da757802
6
7omapfb: enable overlay optimisation when possible
8---
9
10diff --git a/drivers/video/omap/dispc.c b/drivers/video/omap/dispc.c
11index 6aff476..3b36227 100644
12--- a/drivers/video/omap/dispc.c
13+++ b/drivers/video/omap/dispc.c
14@@ -582,11 +582,13 @@ static int omap_dispc_enable_plane(int plane, int enable)
15 const u32 at_reg[] = { DISPC_GFX_ATTRIBUTES,
16 DISPC_VID1_BASE + DISPC_VID_ATTRIBUTES,
17 DISPC_VID2_BASE + DISPC_VID_ATTRIBUTES };
18+ unsigned overlay_opt = plane & !!enable & !dispc.color_key.key_type;
19 if ((unsigned int)plane > dispc.mem_desc.region_cnt)
20 return -EINVAL;
21
22 enable_lcd_clocks(1);
23 MOD_REG_FLD(at_reg[plane], 1, enable ? 1 : 0);
24+ MOD_REG_FLD(DISPC_CONTROL, 1<<12 | 1<<5, overlay_opt<<12 | 1<<5);
25 enable_lcd_clocks(0);
26
27 return 0;