From: Wayne Zou Date: Fri, 10 Aug 2012 01:25:34 +0000 (+0800) Subject: ENGR00220011-2 IPU: Show video to DP/fb0 when bootup, the color space incorrect X-Git-Tag: v3.0.35-fsl_4.1.0~789 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8f6938fc43d4ad7abe636ad24fbbb92f964c99cc;p=karo-tx-linux.git 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 --- 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];