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. MFC after: 1 week
This commit is contained in:
parent
02ebdd502d
commit
0c1c6af438
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270299
@ -604,7 +604,6 @@ vga_initialize(struct vt_device *vd, int textmode)
|
||||
* planes.
|
||||
*/
|
||||
for (ofs = 0; ofs < VT_VGA_MEMSIZE; ofs++) {
|
||||
MEM_READ1(sc, ofs);
|
||||
MEM_WRITE1(sc, ofs, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user