vt8623fb: beter resume from STR
PATCH 1/1 vt8623fb: beter resume from STR
After resume from STR, image is shifted by 8 pixels to the left. This patch fixes it.
Patch is against 2.6.24.2
Signed-off-by Ondrej Zajicek <[email protected]>
drivers/video/vt8623fb.c +4 -0
@@ -434,6 +434,10 @@ static int vt8623fb_set_par(struct fb_insvga_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
Signature · 10 lines
Elen sila lumenn' omentielvo Ondrej 'SanTiago' Zajicek (email: [email protected], jabber: [email protected]) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so." ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/