projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9201a85
)
fbdev: vt8623fb: better resume from STR
author
Ondrej Zajicek
<
[email protected]
>
Mon, 28 Apr 2008 09:15:17 +0000
(
02:15
-0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 28 Apr 2008 15:58:38 +0000
(08:58 -0700)
After resume from STR, image is shifted by 8 pixels to the left. This patch
fixes it.
Signed-off-by: Ondrej Zajicek <
[email protected]
>
Cc: "Antonino A. Daplas" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/video/vt8623fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/vt8623fb.c
b/drivers/video/vt8623fb.c
index f6895ef6bf5944f40e60138942f520c085704a44..0b9dd22f3ee6f43eaa1572e04c483c1d670b7a07 100644
(file)
--- a/
drivers/video/vt8623fb.c
+++ b/
drivers/video/vt8623fb.c
@@
-436,6
+436,10
@@
static int vt8623fb_set_par(struct fb_info *info)
svga_wcrt_multi(vt8623_offset_regs, offset_value);
svga_wseq_multi(vt8623_fetch_count_regs, fetch_value);
+ /* Clear H/V Skew */
+ svga_wcrt_mask(0x03, 0x00, 0x60);
+ svga_wcrt_mask(0x05, 0x00, 0x60);
+
if (info->var.vmode & FB_VMODE_DOUBLE)
svga_wcrt_mask(0x09, 0x80, 0x80);
else