* [U-Boot] [PATCH 1/2] DIU: 1080P and 720P support
@ 2011-11-02 1:16 Chang-Ming.Huang at freescale.com
2011-11-02 1:16 ` [U-Boot] [PATCH 2/2] P1022DS: set max alloc length to 10MB Chang-Ming.Huang at freescale.com
2011-11-24 22:03 ` [U-Boot] [PATCH 1/2] DIU: 1080P and 720P support Anatolij Gustschin
0 siblings, 2 replies; 4+ messages in thread
From: Chang-Ming.Huang at freescale.com @ 2011-11-02 1:16 UTC (permalink / raw)
To: u-boot
From: Jerry Huang <Chang-Ming.Huang@freescale.com>
Add the 1920x1080 and 1280x720 resolution support.
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
CC: Anatolij Gustschin <agust@denx.de>
---
drivers/video/fsl_diu_fb.c | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
diff --git a/drivers/video/fsl_diu_fb.c b/drivers/video/fsl_diu_fb.c
index 7cb8cb6..baaf061 100644
--- a/drivers/video/fsl_diu_fb.c
+++ b/drivers/video/fsl_diu_fb.c
@@ -150,6 +150,38 @@ static struct fb_videomode fsl_diu_mode_1280_1024 = {
.vmode = FB_VMODE_NONINTERLACED
};
+static struct fb_videomode fsl_diu_mode_1280_720 = {
+ .name = "1280x720-60",
+ .refresh = 60,
+ .xres = 1280,
+ .yres = 720,
+ .pixclock = 13426,
+ .left_margin = 192,
+ .right_margin = 64,
+ .upper_margin = 22,
+ .lower_margin = 1,
+ .hsync_len = 136,
+ .vsync_len = 3,
+ .sync = FB_SYNC_COMP_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
+ .vmode = FB_VMODE_NONINTERLACED
+};
+
+static struct fb_videomode fsl_diu_mode_1920_1080 = {
+ .name = "1920x1080-60",
+ .refresh = 60,
+ .xres = 1920,
+ .yres = 1080,
+ .pixclock = 5787,
+ .left_margin = 328,
+ .right_margin = 120,
+ .upper_margin = 34,
+ .lower_margin = 1,
+ .hsync_len = 208,
+ .vsync_len = 3,
+ .sync = FB_SYNC_COMP_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
+ .vmode = FB_VMODE_NONINTERLACED
+};
+
/*
* These are the fields of area descriptor(in DDR memory) for every plane
*/
@@ -303,6 +335,12 @@ int fsl_diu_init(u16 xres, u16 yres, u32 pixel_format, int gamma_fix)
case RESOLUTION(1280, 1024):
fsl_diu_mode_db = &fsl_diu_mode_1280_1024;
break;
+ case RESOLUTION(1280, 720):
+ fsl_diu_mode_db = &fsl_diu_mode_1280_720;
+ break;
+ case RESOLUTION(1920, 1080):
+ fsl_diu_mode_db = &fsl_diu_mode_1920_1080;
+ break;
default:
printf("DIU: Unsupported resolution %ux%u\n", xres, yres);
return -1;
--
1.7.4.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 2/2] P1022DS: set max alloc length to 10MB
2011-11-02 1:16 [U-Boot] [PATCH 1/2] DIU: 1080P and 720P support Chang-Ming.Huang at freescale.com
@ 2011-11-02 1:16 ` Chang-Ming.Huang at freescale.com
2011-11-11 13:24 ` Kumar Gala
2011-11-24 22:03 ` [U-Boot] [PATCH 1/2] DIU: 1080P and 720P support Anatolij Gustschin
1 sibling, 1 reply; 4+ messages in thread
From: Chang-Ming.Huang at freescale.com @ 2011-11-02 1:16 UTC (permalink / raw)
To: u-boot
From: Jerry Huang <Chang-Ming.Huang@freescale.com>
In order to support 1920x01080 resolution, we must increase the alloc length.
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
CC: Anatolij Gustschin <agust@denx.de>
---
include/configs/P1022DS.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h
index 87fc55b..db8af6a 100644
--- a/include/configs/P1022DS.h
+++ b/include/configs/P1022DS.h
@@ -295,7 +295,7 @@
#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
#define CONFIG_SYS_MONITOR_LEN (512 * 1024)
-#define CONFIG_SYS_MALLOC_LEN (6 * 1024 * 1024)
+#define CONFIG_SYS_MALLOC_LEN (10 * 1024 * 1024)
/*
* Serial Port
--
1.7.4.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 2/2] P1022DS: set max alloc length to 10MB
2011-11-02 1:16 ` [U-Boot] [PATCH 2/2] P1022DS: set max alloc length to 10MB Chang-Ming.Huang at freescale.com
@ 2011-11-11 13:24 ` Kumar Gala
0 siblings, 0 replies; 4+ messages in thread
From: Kumar Gala @ 2011-11-11 13:24 UTC (permalink / raw)
To: u-boot
On Nov 1, 2011, at 8:16 PM, <Chang-Ming.Huang@freescale.com> <Chang-Ming.Huang@freescale.com> wrote:
> From: Jerry Huang <Chang-Ming.Huang@freescale.com>
>
> In order to support 1920x01080 resolution, we must increase the alloc length.
>
> Acked-by: Timur Tabi <timur@freescale.com>
>
> Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
> CC: Anatolij Gustschin <agust@denx.de>
> ---
> include/configs/P1022DS.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
applied to 85xx
- k
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 1/2] DIU: 1080P and 720P support
2011-11-02 1:16 [U-Boot] [PATCH 1/2] DIU: 1080P and 720P support Chang-Ming.Huang at freescale.com
2011-11-02 1:16 ` [U-Boot] [PATCH 2/2] P1022DS: set max alloc length to 10MB Chang-Ming.Huang at freescale.com
@ 2011-11-24 22:03 ` Anatolij Gustschin
1 sibling, 0 replies; 4+ messages in thread
From: Anatolij Gustschin @ 2011-11-24 22:03 UTC (permalink / raw)
To: u-boot
On Wed, 2 Nov 2011 09:16:43 +0800
<Chang-Ming.Huang@freescale.com> wrote:
> From: Jerry Huang <Chang-Ming.Huang@freescale.com>
>
> Add the 1920x1080 and 1280x720 resolution support.
>
> Acked-by: Timur Tabi <timur@freescale.com>
>
> Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
> CC: Anatolij Gustschin <agust@denx.de>
> ---
> drivers/video/fsl_diu_fb.c | 38 ++++++++++++++++++++++++++++++++++++++
> 1 files changed, 38 insertions(+), 0 deletions(-)
Applied to u-boot-video/master. Thanks!
Anatolij
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-11-24 22:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-02 1:16 [U-Boot] [PATCH 1/2] DIU: 1080P and 720P support Chang-Ming.Huang at freescale.com
2011-11-02 1:16 ` [U-Boot] [PATCH 2/2] P1022DS: set max alloc length to 10MB Chang-Ming.Huang at freescale.com
2011-11-11 13:24 ` Kumar Gala
2011-11-24 22:03 ` [U-Boot] [PATCH 1/2] DIU: 1080P and 720P support Anatolij Gustschin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox