Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2014 19:22:01 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r271121 - stable/10/sys/dev/vt/hw/vga
Message-ID:  <201409041922.s84JM1kX001950@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Sep  4 19:22:01 2014
New Revision: 271121
URL: http://svnweb.freebsd.org/changeset/base/271121

Log:
  MFC r270299 (dumbbell): vt_vga: When clearing video memory, don't read from it
  
    The goal is to clear the video memory, in case an application drew to
    it. So the content shouldn't be loaded in the latches, it can't be
    trusted anyway.
  
    This improves a bit the window switch speed.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/10/sys/dev/vt/hw/vga/vt_vga.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/vt/hw/vga/vt_vga.c
==============================================================================
--- stable/10/sys/dev/vt/hw/vga/vt_vga.c	Thu Sep  4 19:13:07 2014	(r271120)
+++ stable/10/sys/dev/vt/hw/vga/vt_vga.c	Thu Sep  4 19:22:01 2014	(r271121)
@@ -609,7 +609,6 @@ vga_initialize(struct vt_device *vd, int
 		 * planes.
 		 */
 		for (ofs = 0; ofs < VT_VGA_MEMSIZE; ofs++) {
-			MEM_READ1(sc, ofs);
 			MEM_WRITE1(sc, ofs, 0);
 		}
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409041922.s84JM1kX001950>