From a5626d33facad72dccef7a833c284945e220351f Mon Sep 17 00:00:00 2001 From: Sandor Yu Date: Tue, 3 Jul 2012 17:37:27 +0800 Subject: [PATCH] ENGR00215636 HDMI: Pass HCT TestID 7-19: Packet Types 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 --- drivers/video/mxc_hdmi.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c index 317013149db0..362018ebdff0 100644 --- a/drivers/video/mxc_hdmi.c +++ b/drivers/video/mxc_hdmi.c @@ -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; -- 2.39.5