summaryrefslogtreecommitdiff
path: root/drivers/video/mxc_hdmi.c
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2012-07-03 17:37:27 +0800
committerTerry Lv <r65388@freescale.com>2012-07-25 13:11:03 +0800
commitbb4f8439d51e4b94d184dbaf621aab0f5d6ff300 (patch)
tree4a634c7d6b123a0c6c34db4ff6a5976155832990 /drivers/video/mxc_hdmi.c
parent684760bd855225e515ecc2a6492716a1b484dcde (diff)
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 <R01008@freescale.com>
Diffstat (limited to 'drivers/video/mxc_hdmi.c')
-rw-r--r--drivers/video/mxc_hdmi.c7
1 files 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;