[Armadeus-commitlog] armadeus branch, master, updated. armadeus-5.2-116-gf390811
Brought to you by:
sszy
|
From: Gwenhael Goavec-M. <gwe...@us...> - 2013-01-13 12:58:02
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via f39081101716f7454fd062c4379ab2eba8b354cc (commit)
via 367d85e2e74f54c67cd80393ea8b10fa8492b915 (commit)
from c64f3a140a2ac16207bc0d73c46e31cfc76f3648 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f39081101716f7454fd062c4379ab2eba8b354cc
Author: Gwenhael Goavec-Merou <gw...@tr...>
Date: Sun Jan 13 13:57:30 2013 +0100
[LINUX][3.8] imx-fb: fix imxfb_info configuration order
commit 367d85e2e74f54c67cd80393ea8b10fa8492b915
Author: Gwenhael Goavec-Merou <gw...@tr...>
Date: Sun Jan 13 13:57:19 2013 +0100
[LINUX][3.8] imx-fb: modifies platform device name
-----------------------------------------------------------------------
Summary of changes:
...mx27-framebuffer-fix_platform_device_name.patch | 19 ++++++++++++++
.../3.8/0207-armadeus-imxfb-fix_devtype_set.patch | 27 ++++++++++++++++++++
2 files changed, 46 insertions(+), 0 deletions(-)
create mode 100644 patches/linux/3.8/0206-armadeus-mx27-framebuffer-fix_platform_device_name.patch
create mode 100644 patches/linux/3.8/0207-armadeus-imxfb-fix_devtype_set.patch
diff --git a/patches/linux/3.8/0206-armadeus-mx27-framebuffer-fix_platform_device_name.patch b/patches/linux/3.8/0206-armadeus-mx27-framebuffer-fix_platform_device_name.patch
new file mode 100644
index 0000000..3299e41
--- /dev/null
+++ b/patches/linux/3.8/0206-armadeus-mx27-framebuffer-fix_platform_device_name.patch
@@ -0,0 +1,19 @@
+Framebuffer platform device is now identified by a device id (imx1-fb or
+imx21-fb) instead of by driver name (imx-fb).
+
+Signed-off-by: Gwenhael Goavec-Merou <gwe...@ar...>
+---
+
+Index: linux-3.8-rc2/arch/arm/mach-imx/devices/platform-imx-fb.c
+===================================================================
+--- linux-3.8-rc2.orig/arch/arm/mach-imx/devices/platform-imx-fb.c
++++ linux-3.8-rc2/arch/arm/mach-imx/devices/platform-imx-fb.c
+@@ -54,7 +54,7 @@ struct platform_device *__init imx_add_i
+ .flags = IORESOURCE_IRQ,
+ },
+ };
+- return imx_add_platform_device_dmamask("imx-fb", 0,
++ return imx_add_platform_device_dmamask(data->devid, 0,
+ res, ARRAY_SIZE(res),
+ pdata, sizeof(*pdata), DMA_BIT_MASK(32));
+ }
diff --git a/patches/linux/3.8/0207-armadeus-imxfb-fix_devtype_set.patch b/patches/linux/3.8/0207-armadeus-imxfb-fix_devtype_set.patch
new file mode 100644
index 0000000..db33d95
--- /dev/null
+++ b/patches/linux/3.8/0207-armadeus-imxfb-fix_devtype_set.patch
@@ -0,0 +1,27 @@
+The devtype field for fbi (struct imxfb_info) must be set after memset call to avoid
+some wrong behaviour (pixel size).
+
+Signed-off-by: Gwenhael Goavec-Merou <gwe...@ar...>
+---
+
+Index: linux-3.8-rc2/drivers/video/imxfb.c
+===================================================================
+--- linux-3.8-rc2.orig/drivers/video/imxfb.c
++++ linux-3.8-rc2/drivers/video/imxfb.c
+@@ -729,6 +729,8 @@ static int __init imxfb_init_fbinfo(stru
+
+ memset(fbi, 0, sizeof(struct imxfb_info));
+
++ fbi->devtype = pdev->id_entry->driver_data;
++
+ strlcpy(info->fix.id, IMX_NAME, sizeof(info->fix.id));
+
+ info->fix.type = FB_TYPE_PACKED_PIXELS;
+@@ -790,7 +792,6 @@ static int __init imxfb_probe(struct pla
+ return -ENOMEM;
+
+ fbi = info->par;
+- fbi->devtype = pdev->id_entry->driver_data;
+
+ if (!fb_mode)
+ fb_mode = pdata->mode[0].mode.name;
hooks/post-receive
--
armadeus
|