hdmi: rk3288: No need to enable scrambling again in uboot mode

If scrambling mode is enabled in uboot and set again in kernel,
picture will flicker serveral frame.

Change-Id: Ib8fe0b1e2ce2a74eb10fcfbb6c8eb872452cfd20
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Reviewed-on: https://10.10.10.29/30
Tested-by: Huang, Tao <huangtao@rock-chips.com>
Reviewed-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
Zheng Yang
2015-08-27 09:02:17 +08:00
committed by Huang, Tao
parent 7a710f31ba
commit effbcfa6c5

View File

@@ -589,7 +589,7 @@ static int rockchip_hdmiv2_video_framecomposer(struct hdmi *hdmi_drv,
/* Start/stop HDCP keepout window generation */
hdmi_msk_reg(hdmi_dev, FC_INVIDCONF,
m_FC_HDCP_KEEPOUT, v_FC_HDCP_KEEPOUT(1));
if (hdmi_drv->edid.scdc_present == 1) {
if (hdmi_drv->edid.scdc_present == 1 && !hdmi_drv->uboot) {
if (tmdsclk > 340000000 ||
hdmi_drv->edid.lte_340mcsc_scramble) {
/* used for HDMI 2.0 TX */