video: rockchip: hdmi: contrast uboot and kernel resolution

When box is starting, if kernel resolution is different from uboot,
need to clear hdmi->uboot

Change-Id: Iec56862fe20dcaccc12fefae21de55b56ab2fe54
Signed-off-by: Shen Zhenyi <szy@rock-chips.com>
(cherry picked from commit 899bf65ac08492fc5aec36a1b23509baa008d409)
This commit is contained in:
Shen Zhenyi
2016-07-22 16:04:02 +08:00
committed by Huang, Tao
parent e154cae591
commit e597832a0c

View File

@@ -144,6 +144,12 @@ static void hdmi_wq_set_video(struct hdmi *hdmi)
} else {
video->vic = hdmi->vic & HDMI_VIC_MASK;
}
if (hdmi->uboot) {
if ((uboot_vic & HDMI_UBOOT_VIC_MASK) != hdmi->vic)
hdmi->uboot = 0;
}
hdmi_set_lcdc(hdmi);
if (hdmi->ops->setvideo)
hdmi->ops->setvideo(hdmi, video);