From 79d9c74480fdf7feb9c919fa666b8ae7f3acd3d2 Mon Sep 17 00:00:00 2001 From: August Date: Wed, 27 Feb 2019 18:52:46 +0800 Subject: [PATCH] fix red screen issue when hdmi module load --- .../linux-4.9/drivers/video/fbdev/sunxi/disp2/hdmi/hdmi_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 lichee/linux-4.9/drivers/video/fbdev/sunxi/disp2/hdmi/hdmi_core.c diff --git a/lichee/linux-4.9/drivers/video/fbdev/sunxi/disp2/hdmi/hdmi_core.c b/lichee/linux-4.9/drivers/video/fbdev/sunxi/disp2/hdmi/hdmi_core.c old mode 100644 new mode 100755 index aea575d88e..88cad712d7 --- a/lichee/linux-4.9/drivers/video/fbdev/sunxi/disp2/hdmi/hdmi_core.c +++ b/lichee/linux-4.9/drivers/video/fbdev/sunxi/disp2/hdmi/hdmi_core.c @@ -827,7 +827,7 @@ u32 hdmi_core_get_csc_type(void) { int csc = 1; - if (hdmi_edid_is_yuv() == 0) + if ((hdmi_core_get_cts_enable() == 1) && (hdmi_edid_is_yuv() == 0)) csc = 0; if ((is_exp == 1) &&