libpciaccess: Changes to 'master'
Keith Packard
keithp at kemper.freedesktop.org
Wed Apr 16 12:12:06 PDT 2008
src/linux_sysfs.c | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit b30d458202bc0304c705eb081b12ead860584bea
Author: Keith Packard <keithp at keithp.com>
Date: Wed Apr 16 12:10:52 2008 -0700
Kludge around linux bug and turn off write-through and cache-disable bits
When mmaping the PCI device, the kernel turns on the write-through and
cache-disable bits in the allocated PTEs. This disables write-combining mode
and dramatically reduces write bandwidth to the frame buffer. While that
should be fixed in the kernel, we'll kludge around it here by using mprotect
to rewrite the PTEs and get those bits turned off.
More information about the xorg-commit
mailing list