summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@freescale.com>2011-04-14 17:27:20 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 20:08:09 +0800
commit82c31a2e050e5811f2d035e2ec6ee145b4c4d382 (patch)
treefe22d7518ccc668fb75d40ce3e56637731806d7a /drivers
parentbfd685963ec009456b72848bbe4bb4c836117abe (diff)
ENGR00142124-2 ipu: Use preserved memory for primary DI only
Only fb0 uses reserved memory. Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mxc/ipu3/ipu_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mxc/ipu3/ipu_common.c b/drivers/mxc/ipu3/ipu_common.c
index bf09143e4702..bc49778ddcc6 100644
--- a/drivers/mxc/ipu3/ipu_common.c
+++ b/drivers/mxc/ipu3/ipu_common.c
@@ -284,12 +284,16 @@ static int __init register_fb_device(struct platform_device *pdev)
/* DI1 -> DP-BG channel: */
imx_add_ipuv3_fb(plat_data->fb_head1_platform_data, 1);
/* DI0 -> DC channel: */
+ plat_data->fb_head0_platform_data->res_base = 0;
+ plat_data->fb_head0_platform_data->res_size = 0;
imx_add_ipuv3_fb(plat_data->fb_head0_platform_data, 0);
} else {
dev_info(g_ipu_dev, "DI0 is primary\n");
/* DI0 -> DP-BG channel: */
imx_add_ipuv3_fb(plat_data->fb_head0_platform_data, 0);
/* DI1 -> DC channel: */
+ plat_data->fb_head1_platform_data->res_base = 0;
+ plat_data->fb_head1_platform_data->res_size = 0;
imx_add_ipuv3_fb(plat_data->fb_head1_platform_data, 1);
}