projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201797d
)
it66121:supplement disable hdmi csc to fix hdmi color gradation problem
author
yzq
<yzq@rock-chips.com>
Thu, 24 Oct 2013 07:44:08 +0000
(15:44 +0800)
committer
yzq
<yzq@rock-chips.com>
Thu, 24 Oct 2013 07:47:40 +0000
(15:47 +0800)
drivers/video/rockchip/hdmi/chips/cat66121/cat66121_hdmi_hw.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/hdmi/chips/cat66121/cat66121_hdmi_hw.c
b/drivers/video/rockchip/hdmi/chips/cat66121/cat66121_hdmi_hw.c
index ec19ff88b9f43a9c2b56732854850589285de445..75b84e0a54be635e318227cadb1ac174f3d780bf 100755
(executable)
--- a/
drivers/video/rockchip/hdmi/chips/cat66121/cat66121_hdmi_hw.c
+++ b/
drivers/video/rockchip/hdmi/chips/cat66121/cat66121_hdmi_hw.c
@@
-461,6
+461,7
@@
int cat66121_hdmi_sys_config_video(struct hdmi_video_para *vpara)
#endif
// output Color mode
+#ifndef DISABLE_HDMITX_CSC
switch(vpara->output_color)
{
case HDMI_COLOR_YCbCr444:
@@
-474,6
+475,10
@@
int cat66121_hdmi_sys_config_video(struct hdmi_video_para *vpara)
bOutputColorMode = F_MODE_RGB444 ;
break ;
}
+#else
+ bOutputColorMode = F_MODE_RGB444 ;
+#endif
+
// Set ext video
mode = (struct fb_videomode *)hdmi_vic_to_videomode(vpara->vic);
if(mode == NULL)