summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0039-DSS2-Add-sysfs-entry-to-for-the-alpha-blending-supp.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-18 15:32:57 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-18 15:36:06 +0000
commit673abd92f999829bdd67d0273c43570a62123a63 (patch)
tree63132d1ffc1cb5bf50d244b184ca8d58a9cbc85c /meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0039-DSS2-Add-sysfs-entry-to-for-the-alpha-blending-supp.patch
parentfed61beb31c47e2d96af905a7047fe78d64c9bd0 (diff)
downloadpoky-673abd92f999829bdd67d0273c43570a62123a63.tar.gz
conf/machine: Drop older machines with no recent updates
These are all moving to meta-extras. Ideally in the future machines such as these will be maintained to topic specific layers as we move to a more layer oriented model. If this causes a problem for anyone please discuss it on the mailing list. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0039-DSS2-Add-sysfs-entry-to-for-the-alpha-blending-supp.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0039-DSS2-Add-sysfs-entry-to-for-the-alpha-blending-supp.patch59
1 files changed, 0 insertions, 59 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0039-DSS2-Add-sysfs-entry-to-for-the-alpha-blending-supp.patch b/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0039-DSS2-Add-sysfs-entry-to-for-the-alpha-blending-supp.patch
deleted file mode 100644
index af8c2cd09b..0000000000
--- a/meta/recipes-kernel/linux/linux-omap-2.6.29/dss2/0039-DSS2-Add-sysfs-entry-to-for-the-alpha-blending-supp.patch
+++ /dev/null
@@ -1,59 +0,0 @@
1From 6f1f0c7b19ecb468824b79f9d181ef0da41b7d7d Mon Sep 17 00:00:00 2001
2From: Hardik Shah <hardik.shah@ti.com>
3Date: Fri, 17 Apr 2009 13:58:21 +0530
4Subject: [PATCH] DSS2: Add sysfs entry to for the alpha blending support.
5
6Signed-off-by: Hardik Shah <hardik.shah@ti.com>
7---
8 drivers/video/omap2/dss/manager.c | 21 +++++++++++++++++++++
9 1 files changed, 21 insertions(+), 0 deletions(-)
10
11diff --git a/drivers/video/omap2/dss/manager.c b/drivers/video/omap2/dss/manager.c
12index e0501c4..7965a84 100644
13--- a/drivers/video/omap2/dss/manager.c
14+++ b/drivers/video/omap2/dss/manager.c
15@@ -192,6 +192,22 @@ static ssize_t manager_color_key_enabled_store(struct omap_overlay_manager *mgr,
16
17 return size;
18 }
19+static ssize_t manager_alpha_blending_enabled_show(
20+ struct omap_overlay_manager *mgr, char *buf)
21+{
22+ return snprintf(buf, PAGE_SIZE, "%d\n",
23+ mgr->get_alpha_blending_status(mgr));
24+}
25+static ssize_t manager_alpha_blending_enabled_store(
26+ struct omap_overlay_manager *mgr,
27+ const char *buf, size_t size)
28+{
29+ int enable;
30+ if (sscanf(buf, "%d", &enable) != 1)
31+ return -EINVAL;
32+ mgr->enable_alpha_blending(mgr, enable);
33+ return size;
34+}
35
36
37 struct manager_attribute {
38@@ -215,6 +231,10 @@ static MANAGER_ATTR(color_key_value, S_IRUGO|S_IWUSR,
39 manager_color_key_value_show, manager_color_key_value_store);
40 static MANAGER_ATTR(color_key_enabled, S_IRUGO|S_IWUSR,
41 manager_color_key_enabled_show, manager_color_key_enabled_store);
42+static MANAGER_ATTR(alpha_blending_enabled, S_IRUGO|S_IWUSR,
43+ manager_alpha_blending_enabled_show,
44+ manager_alpha_blending_enabled_store);
45+
46
47 static struct attribute *manager_sysfs_attrs[] = {
48 &manager_attr_name.attr,
49@@ -223,6 +243,7 @@ static struct attribute *manager_sysfs_attrs[] = {
50 &manager_attr_color_key_type.attr,
51 &manager_attr_color_key_value.attr,
52 &manager_attr_color_key_enabled.attr,
53+ &manager_attr_alpha_blending_enabled.attr,
54 NULL
55 };
56
57--
581.5.6.5
59