diff options
author | Alan Tull <r80115@freescale.com> | 2012-04-09 14:36:07 -0500 |
---|---|---|
committer | Alan Tull <r80115@freescale.com> | 2012-04-13 20:09:01 -0500 |
commit | 7b3296b71d51ba7efe82aad13cf908baf2c4963c (patch) | |
tree | 9b40ab9db7733397b3a95c0ef4a2694525df1737 /drivers | |
parent | c86a909e285f17cf91e9c89619601048cf8bf35d (diff) |
ENGR00179575 only set color depth if TV supports deep color
If TV's EDID indicates that deep color is not supported, then
write color depth field of HDMI_VP_PR_CD register to zero.
Signed-off-by: Alan Tull <r80115@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/mxc_hdmi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/mxc_hdmi.c b/drivers/video/mxc_hdmi.c index ad6d7139eaa8..fc5df129bcb1 100644 --- a/drivers/video/mxc_hdmi.c +++ b/drivers/video/mxc_hdmi.c @@ -570,6 +570,10 @@ 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; + /* set the packetizer registers */ val = ((color_depth << HDMI_VP_PR_CD_COLOR_DEPTH_OFFSET) & HDMI_VP_PR_CD_COLOR_DEPTH_MASK) | |