]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00220011-2 IPU: Show video to DP/fb0 when bootup, the color space incorrect
authorWayne Zou <b36644@freescale.com>
Fri, 10 Aug 2012 01:25:34 +0000 (09:25 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:39 +0000 (14:12 +0200)
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>
drivers/mxc/ipu3/ipu_disp.c

index 9522c94f6b5763ac4b4b422243163027e9941fe1..7a344319e28af16810b49ef58114db4599c06fd9 100644 (file)
@@ -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];