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:
58e1db4
)
rk3188 lcdc:fix ACT_WIDTH/HEIGHT err
author
yxj
<yxj@rock-chips.com>
Thu, 24 Jan 2013 07:47:31 +0000
(15:47 +0800)
committer
yxj
<yxj@rock-chips.com>
Thu, 24 Jan 2013 07:47:53 +0000
(15:47 +0800)
drivers/video/rockchip/lcdc/rk3188_lcdc.h
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/lcdc/rk3188_lcdc.h
b/drivers/video/rockchip/lcdc/rk3188_lcdc.h
index ac19a36238953b6f1d1954131e7f8248282bfc18..29d0dc3f81791e056e35046420a299551ee022ff 100644
(file)
--- a/
drivers/video/rockchip/lcdc/rk3188_lcdc.h
+++ b/
drivers/video/rockchip/lcdc/rk3188_lcdc.h
@@
-238,8
+238,8
@@
#define WIN0_ACT_INFO (0x34)
#define m_ACT_WIDTH (0x1fff<<0)
#define m_ACT_HEIGHT (0x1fff<<16)
-#define v_ACT_WIDTH(x) (((x)&0x1fff)<<0)
-#define v_ACT_HEIGHT(x) (((x)&0x1fff)<<16)
+#define v_ACT_WIDTH(x) (((x
-1
)&0x1fff)<<0)
+#define v_ACT_HEIGHT(x) (((x
-1
)&0x1fff)<<16)
#define WIN0_DSP_INFO (0x38)
#define v_DSP_WIDTH(x) (((x-1)&0x7ff)<<0)