From 507e8161a9c9e277dab95769af0e456d057cc155 Mon Sep 17 00:00:00 2001 From: Zheng Yang Date: Thu, 10 May 2012 14:17:17 +0800 Subject: [PATCH] rk30 hdmi: disable csc when output color mode is same to input color mode. --- drivers/video/rockchip/hdmi/rk30_hdmi_hw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/rockchip/hdmi/rk30_hdmi_hw.c b/drivers/video/rockchip/hdmi/rk30_hdmi_hw.c index 9c75c3031c41..364caad800ec 100755 --- a/drivers/video/rockchip/hdmi/rk30_hdmi_hw.c +++ b/drivers/video/rockchip/hdmi/rk30_hdmi_hw.c @@ -299,6 +299,7 @@ static void rk30_hdmi_config_csc(struct rk30_hdmi_video_para *vpara) if( ((vpara->input_color == VIDEO_INPUT_COLOR_RGB) && (vpara->output_color == VIDEO_OUTPUT_RGB444)) || ((vpara->input_color == VIDEO_INPUT_COLOR_YCBCR) && (vpara->output_color != VIDEO_OUTPUT_RGB444) )) { + HDMIWrReg(AV_CTRL2, v_CSC_ENABLE(0)); HDMIWrReg(CSC_CONFIG1, v_CSC_MODE(CSC_MODE_AUTO) | v_CSC_BRSWAP_DIABLE(1)); return; } -- 2.34.1