]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
vt_vga: When clearing video memory, don't read from it
authorJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Thu, 21 Aug 2014 20:10:05 +0000 (20:10 +0000)
committerJean-Sébastien Pédron <dumbbell@FreeBSD.org>
Thu, 21 Aug 2014 20:10:05 +0000 (20:10 +0000)
commit0c1c6af43842a0e31a5626fb1e8238669525b623
treea94eb92857f357f8279893913ee00a87d804d9d7
parent02ebdd502d42b175c78cf21f10aec7ff32182da8
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
sys/dev/vt/hw/vga/vt_vga.c