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:
5bee017
)
rk616: rgb screen no invert d_clk
author
ZHW
<zhw@rock-chips.com>
Tue, 8 Oct 2013 02:24:33 +0000
(10:24 +0800)
committer
ZHW
<zhw@rock-chips.com>
Tue, 8 Oct 2013 02:24:33 +0000
(10:24 +0800)
drivers/mfd/rk616-vif.c
patch
|
blob
|
history
diff --git
a/drivers/mfd/rk616-vif.c
b/drivers/mfd/rk616-vif.c
index ebc719066da1e4b162346cf47c8ab5d4a3c5843d..848606c6d467ed63683945529bfe31e620f3275c 100755
(executable)
--- a/
drivers/mfd/rk616-vif.c
+++ b/
drivers/mfd/rk616-vif.c
@@
-737,7
+737,10
@@
static int rk616_dither_cfg(struct mfd_rk616 *rk616,rk_screen *screen,bool enabl
{
u32 val = 0;
int ret = 0;
- val = FRC_DCLK_INV | (FRC_DCLK_INV << 16);
+
+ if(screen->type != SCREEN_RGB) //if RGB screen , not invert D_CLK
+ val = FRC_DCLK_INV | (FRC_DCLK_INV << 16);
+
if((screen->face != OUT_P888) && enable) //enable frc dither if the screen is not 24bit
val |= FRC_DITHER_EN | (FRC_DITHER_EN << 16);
//val |= (FRC_DITHER_EN << 16);