mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
fbdev: vt8623fb: better resume from STR
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]>
This commit is contained in:
parent
9201a8584c
commit
8f5af9de9c
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue