| #
9b77a21e |
| 31-Dec-2011 |
Chad Versace <[email protected]> |
Don't include config.h on Android
Android doesn't use autotools, so the header is never generated.
Signed-off-by: Chad Versace <[email protected]>
|
| #
a0a53a67 |
| 24-Oct-2011 |
Nithin Nayak Sujir <[email protected]> |
libpciaccess: close mtrr fd on pci_cleanup
Since the fd is not closed, calling pci_system_init and pci_system_cleanup more than 1024 times results in "too many files open" error.
Signed-off-by: Nit
libpciaccess: close mtrr fd on pci_cleanup
Since the fd is not closed, calling pci_system_init and pci_system_cleanup more than 1024 times results in "too many files open" error.
Signed-off-by: Nithin Nayak Sujir <[email protected]> Reviewed-by: Jeremy Huddleston <[email protected]>
show more ...
|
| #
af4478c5 |
| 11-Oct-2011 |
Jeremy Huddleston <[email protected]> |
linux sysfs: Fix read-write access in map_legacy
O_RDONLY | O_WRONLY != O_RDWR
><
Reported-by: Javier Pello <[email protected]> Signed-off-by: Jeremy Huddleston <[email protected]>
|
| #
58e87933 |
| 10-May-2011 |
Adam Jackson <[email protected]> |
linux: Implement map_legacy
Signed-off-by: Adam Jackson <[email protected]> Reviewed-by: Jeremy Huddleston <[email protected]>
|
| #
e1a0240a |
| 17-Sep-2011 |
Alan Coopersmith <[email protected]> |
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersm
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <[email protected]>
show more ...
|
| #
7bfc4f80 |
| 03-Aug-2011 |
Adam Jackson <[email protected]> |
linux: Fix a crash in populate_devices
If scandir returns -1, the 'devices' array won't be initialized, and attempting to free() it will crash.
Signed-off-by: Adam Jackson <[email protected]>
|
| #
f9159b97 |
| 04-Jun-2011 |
Chris Wilson <[email protected]> |
linux: Only set errno after an error
errno is only valid after an error, and was being filled with a garbage value upon eof.
Signed-off-by: Chris Wilson <[email protected]>
|
| #
5e8d4c19 |
| 18-Nov-2009 |
Adam Jackson <[email protected]> |
I/O port access routines
Acked-by: Tiago Vignatti <[email protected]> Acked-by: Matt Turner <[email protected]> Signed-off-by: Adam Jackson <[email protected]>
|
| #
cdbdfaf6 |
| 18-Sep-2009 |
Keith Packard <[email protected]> |
Free return value from scandir instead of leaking it.
Scandir is defined to return pointers to malloc'd storage, so make sure that memory is nicely freed.
Signed-off-by: Keith Packard <keithp@keith
Free return value from scandir instead of leaking it.
Scandir is defined to return pointers to malloc'd storage, so make sure that memory is nicely freed.
Signed-off-by: Keith Packard <[email protected]>
show more ...
|
| #
dedd31b3 |
| 05-Aug-2009 |
Dave Airlie <[email protected]> |
pciaccess: make linux rom reading fallback optional
On kernels which have ROM files, the boot VGA rom file will contain the 0xc0000 file anyways. If another card is missing a rom file there is no ne
pciaccess: make linux rom reading fallback optional
On kernels which have ROM files, the boot VGA rom file will contain the 0xc0000 file anyways. If another card is missing a rom file there is no need for this.
This is fallback is disabled by default, on the premise that distro shipping this new a pciaccess will be running on kernels with working rom support which is been upstream for a long time
show more ...
|
| #
8aa06cf7 |
| 05-Aug-2009 |
Dave Airlie <[email protected]> |
pciaccess: make linux rom reading fallback optional
On kernels which have ROM files, the boot VGA rom file will contain the 0xc0000 file anyways. If another card is missing a rom file there is no ne
pciaccess: make linux rom reading fallback optional
On kernels which have ROM files, the boot VGA rom file will contain the 0xc0000 file anyways. If another card is missing a rom file there is no need for this.
This is fallback is disabled by default, on the premise that distro shipping this new a pciaccess will be running on kernels with working rom support which is been upstream for a long time
show more ...
|
| #
57cf6f1f |
| 05-Aug-2009 |
Dave Airlie <[email protected]> |
pciaccess: make linux rom reading fallback optional
On kernels which have ROM files, the boot VGA rom file will contain the 0xc0000 file anyways. If another card is missing a rom file there is no ne
pciaccess: make linux rom reading fallback optional
On kernels which have ROM files, the boot VGA rom file will contain the 0xc0000 file anyways. If another card is missing a rom file there is no need for this.
This is fallback is disabled by default, on the premise that distro shipping this new a pciaccess will be running on kernels with working rom support which is been upstream for a long time
show more ...
|
| #
5d1bdf0c |
| 16-Jul-2009 |
Dave Airlie <[email protected]> |
add support for finding if something has a kernel driver
|
| #
8ba6b02e |
| 01-May-2009 |
Aaron Plattner <[email protected]> |
Don't try to write boot_vga since that fails with EACCES
|
| #
b2838fb6 |
| 04-Mar-2009 |
Dave Airlie <[email protected]> |
pciaccess: provide a method to detect if a device is boot VGA
When the linux kernel exposes this information, we can use this interface in the X server to detect whether the kernel believes the devi
pciaccess: provide a method to detect if a device is boot VGA
When the linux kernel exposes this information, we can use this interface in the X server to detect whether the kernel believes the device we are looking at is the boot VGA device.
Signed-off-by: Dave Airlie <[email protected]>
show more ...
|
| #
d43d21c8 |
| 15-Oct-2008 |
Alan Coopersmith <[email protected]> |
Fix various typos (mostly in comments)
|
| #
7282b53c |
| 23-Jun-2008 |
Jesse Barnes <jbarnes@hobbes.(none)> |
Support write combine resource files in Linux sysfs
Starting with version 2.6.26, Linux will support resourceN_wc files which export write combining mappings of PCI resource ranges, so support them
Support write combine resource files in Linux sysfs
Starting with version 2.6.26, Linux will support resourceN_wc files which export write combining mappings of PCI resource ranges, so support them if present in libpciaccess.
show more ...
|
| #
f49f6671 |
| 23-Jun-2008 |
Stefan Dirsch <[email protected]> |
Fixed typo in output ("performace" --> "performance").
|
| #
e3adc06b |
| 05-Jun-2008 |
Eric Anholt <[email protected]> |
Catch and recover from yet another linux kernel bug in mprotect.
|
| #
4586bb67 |
| 21-May-2008 |
Adam Jackson <[email protected]> |
Linux: Fail gracefully on machines without PCI.
|
| #
4bc9292f |
| 21-May-2008 |
Dave Airlie <[email protected]> |
linux: add pci_device_enable entrypoint and sysfs support for it
|
| #
b30d4582 |
| 16-Apr-2008 |
Keith Packard <[email protected]> |
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 disabl
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.
show more ...
|
| #
a5c86202 |
| 14-Mar-2008 |
Stuart Bennett <[email protected]> |
Bug #13988: Fix reads from "0"-sized ROMs.
|
| #
adc46f65 |
| 19-Feb-2008 |
Julien Cristau <[email protected]> |
Don't export private symbols.
|
| #
5cf29b06 |
| 31-Aug-2007 |
Keith Packard <[email protected]> |
Don't add MTRR for uncached regions. Remove MTRR on unmap.
MTRR regions aren't needed for uncached mappings, so don't add them. Also, when unmapping memory, remove the MTRR entry.
|