]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00215636 HDMI: Pass HCT TestID 7-19: Packet Types
authorSandor Yu <R01008@freescale.com>
Tue, 3 Jul 2012 09:37:27 +0000 (17:37 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:25 +0000 (14:12 +0200)
HDMI not support deep color output, setting register
VP_PR_CD bits color_depth to 0.(24 bits per pixel video)

Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/video/mxc_hdmi.c

index 317013149db0eda6c01f0feac00854af614f2c07..362018ebdff01841d80b244c04d385c42f33560a 100644 (file)
@@ -571,9 +571,9 @@ static void hdmi_video_packetize(struct mxc_hdmi *hdmi)
        } else
                return;
 
-       if (!hdmi->edid_cfg.vsd_dc_48bit && !hdmi->edid_cfg.vsd_dc_36bit &&
-               !hdmi->edid_cfg.vsd_dc_30bit && !hdmi->edid_cfg.vsd_dc_y444)
-               color_depth = 0;
+       /* HDMI not support deep color,
+        * because IPU MAX support color depth is 24bit */
+       color_depth = 0;
 
        /* set the packetizer registers */
        val = ((color_depth << HDMI_VP_PR_CD_COLOR_DEPTH_OFFSET) &
@@ -1930,6 +1930,7 @@ static void mxc_hdmi_setup(struct mxc_hdmi *hdmi, unsigned long event)
                                hdmi->hdmi_data.enc_out_format = YCBCR422_8BITS;
                }
 
+       /* IPU not support depth color output */
        hdmi->hdmi_data.enc_color_depth = 8;
        hdmi->hdmi_data.pix_repet_factor = 0;
        hdmi->hdmi_data.hdcp_enable = 0;