diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0050-DSS2-OMAPFB-remove-fb-clearing-code.patch | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-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-omap-2.6.29/dss2/0050-DSS2-OMAPFB-remove-fb-clearing-code.patch')
-rw-r--r-- | meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0050-DSS2-OMAPFB-remove-fb-clearing-code.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0050-DSS2-OMAPFB-remove-fb-clearing-code.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0050-DSS2-OMAPFB-remove-fb-clearing-code.patch new file mode 100644 index 0000000000..8c5edd0c3d --- /dev/null +++ b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0050-DSS2-OMAPFB-remove-fb-clearing-code.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | From 07482193cccdfe9ede1f47d72790dfbe54343505 Mon Sep 17 00:00:00 2001 | ||
2 | From: Tomi Valkeinen <tomi.valkeinen@nokia.com> | ||
3 | Date: Wed, 22 Apr 2009 10:26:06 +0300 | ||
4 | Subject: [PATCH] DSS2: OMAPFB: remove fb clearing code | ||
5 | |||
6 | VRAM manager does the clearing now when the area is allocated. | ||
7 | --- | ||
8 | drivers/video/omap2/omapfb/omapfb-main.c | 8 -------- | ||
9 | 1 files changed, 0 insertions(+), 8 deletions(-) | ||
10 | |||
11 | diff --git a/drivers/video/omap2/omapfb/omapfb-main.c b/drivers/video/omap2/omapfb/omapfb-main.c | ||
12 | index cd63740..76e7c6c 100644 | ||
13 | --- a/drivers/video/omap2/omapfb/omapfb-main.c | ||
14 | +++ b/drivers/video/omap2/omapfb/omapfb-main.c | ||
15 | @@ -1174,7 +1174,6 @@ static int omapfb_alloc_fbmem(struct fb_info *fbi, unsigned long size, | ||
16 | struct omapfb2_mem_region *rg; | ||
17 | void __iomem *vaddr; | ||
18 | int r; | ||
19 | - int clear = 0; | ||
20 | |||
21 | rg = &ofbi->region; | ||
22 | memset(rg, 0, sizeof(*rg)); | ||
23 | @@ -1184,7 +1183,6 @@ static int omapfb_alloc_fbmem(struct fb_info *fbi, unsigned long size, | ||
24 | if (!paddr) { | ||
25 | DBG("allocating %lu bytes for fb %d\n", size, ofbi->id); | ||
26 | r = omap_vram_alloc(OMAPFB_MEMTYPE_SDRAM, size, &paddr); | ||
27 | - clear = 1; | ||
28 | } else { | ||
29 | DBG("reserving %lu bytes at %lx for fb %d\n", size, paddr, | ||
30 | ofbi->id); | ||
31 | @@ -1206,9 +1204,6 @@ static int omapfb_alloc_fbmem(struct fb_info *fbi, unsigned long size, | ||
32 | } | ||
33 | |||
34 | DBG("allocated VRAM paddr %lx, vaddr %p\n", paddr, vaddr); | ||
35 | - | ||
36 | - if (clear) | ||
37 | - memset_io(vaddr, 0, size); | ||
38 | } else { | ||
39 | void __iomem *va; | ||
40 | |||
41 | @@ -1232,9 +1227,6 @@ static int omapfb_alloc_fbmem(struct fb_info *fbi, unsigned long size, | ||
42 | rg->vrfb.vaddr[0] = va; | ||
43 | |||
44 | vaddr = NULL; | ||
45 | - | ||
46 | - if (clear) | ||
47 | - memset_io(va, 0, size); | ||
48 | } | ||
49 | |||
50 | rg->paddr = paddr; | ||
51 | -- | ||
52 | 1.5.6.5 | ||
53 | |||