Date: Fri, 16 Mar 2012 19:22:30 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r233042 - head/sys/dev/fb Message-ID: <201203161922.q2GJMU1b031436@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Fri Mar 16 19:22:29 2012 New Revision: 233042 URL: http://svn.freebsd.org/changeset/base/233042 Log: Do not unnecessarily clear display memory when switching modes. MFC after: 3 days Modified: head/sys/dev/fb/vesa.c Modified: head/sys/dev/fb/vesa.c ============================================================================== --- head/sys/dev/fb/vesa.c Fri Mar 16 19:09:34 2012 (r233041) +++ head/sys/dev/fb/vesa.c Fri Mar 16 19:22:29 2012 (r233042) @@ -1313,7 +1313,7 @@ vesa_set_mode(video_adapter_t *adp, int if ((info.vi_flags & V_INFO_LINEAR) != 0) mode |= 0x4000; - if (vesa_bios_set_mode(mode)) + if (vesa_bios_set_mode(mode | 0x8000)) return (1); /* Palette format is reset by the above VBE function call. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203161922.q2GJMU1b031436>