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:
55c6e00
)
rk fb: modify the judgement of vertical screen for hdmi
author
zwl
<zwl@rock-chips.com>
Tue, 24 Jun 2014 02:58:17 +0000
(10:58 +0800)
committer
zwl
<zwl@rock-chips.com>
Tue, 24 Jun 2014 02:59:58 +0000
(10:59 +0800)
drivers/video/rockchip/rk_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index 3d539ca9ef5f1846d2ecfc985ef27cb41dc86649..3c1b6c917ca9d899b977e172ecf3ec5bfd20f53c 100755
(executable)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-1524,7
+1524,7
@@
static void rk_fb_update_reg(struct rk_lcdc_driver *dev_drv,
ext_win->state = 0;
}
- if (
ext_win->area[0].xact < ext_
win->area[0].yact) {
+ if (
win->area[0].xact <
win->area[0].yact) {
int pixel_width, vir_width_bit, stride;
ext_win->area[0].xact = win->area[0].yact;
ext_win->area[0].yact = win->area[0].xact;