summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWayne Zou <b36644@freescale.com>2012-08-10 09:25:34 +0800
committerWayne Zou <b36644@freescale.com>2012-08-10 12:31:46 +0800
commit9285c73237990f5b4e461d0a634c711abb5d05e4 (patch)
treec495432f3b43d7978ed219298f676e0dc10227fc /drivers
parentb8f85a69ca7b041429e39aa191f919d019e88a56 (diff)
ENGR00220011-2 IPU: Show video to DP/fb0 when bootup, the color space incorrect
Show video to IPU DP/fb0 when bootup, the color space incorrect It needs to set the correct SRM_MODE when enable DP. Signed-off-by: Wayne Zou <b36644@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mxc/ipu3/ipu_disp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mxc/ipu3/ipu_disp.c b/drivers/mxc/ipu3/ipu_disp.c
index 9522c94f6b57..7a344319e28a 100644
--- a/drivers/mxc/ipu3/ipu_disp.c
+++ b/drivers/mxc/ipu3/ipu_disp.c
@@ -909,6 +909,9 @@ void _ipu_dp_dc_enable(struct ipu_soc *ipu, ipu_channel_t channel)
reg = ipu_cm_read(ipu, IPU_SRM_PRI2) | 0x8;
ipu_cm_write(ipu, reg, IPU_SRM_PRI2);
return;
+ } else if (channel == MEM_BG_SYNC) {
+ reg = ipu_cm_read(ipu, IPU_SRM_PRI2) | 0x8;
+ ipu_cm_write(ipu, reg, IPU_SRM_PRI2);
}
di = ipu->dc_di_assignment[dc_chan];