Commit Graph

12 Commits

Author SHA1 Message Date
Eric Anholt 9a62d3b598 Remove i830+ driver's use of CARD*/INT* types for great justice.
Several uses are actually left, which are determined by the X Server
interfaces we're implementing.
2008-03-11 12:07:52 -07:00
Kristian Høgsberg 4ea67e9b85 Crack down on warnings.
Fix printf formatting warnings, wrap a couple of long lines, nuke
unused variables, add missing #include <unistd.h>.
2008-03-11 13:54:59 -04:00
Mark Kettenis fdc25cb0ca Bug #14649: Fix build if pciaccess headers are not with other xorg headers.
We failed to include the pciaccess header flags in our build.  Even if the
server was to include those flags for us, it would leave us broken for the
tools-only case, and it's easier to just put the flags everywhere so we avoid
future copy'n'paste mistakes.
2008-02-26 17:26:50 -08:00
Eric Anholt 219354af21 Restore building of pciaccess-based tools even if the server doesn't use it. 2007-10-01 16:09:13 -07:00
Keith Packard 3d3bf493a3 Intel driver configuration (only) changes for X server libpciaccess usage.
Detect whether the target X server uses libpciaccess, using it in the driver
compilation as necessary. This change means that utilities that used to use
libpciaccess will not do so unless the driver itself uses libpciaccess. Yes,
that could be fixed, but it doesn't seem that important.

This patch does not include any code changes necessary to actually have the
driver build against an X server using libpciaccess.
2007-08-26 22:27:34 -07:00
Eric Anholt ba90d94432 Add the file mode for bios_dumper output so it doesn't have 000 permissions. 2007-08-06 14:34:58 -07:00
Keith Packard b28817a87a Add i830_bios_get_aim_data_block to read AIM data from BIOS
Add-in modules have per-module data in the BIOS which contains configuration
information which cannot be entirely discovered.
2007-05-16 13:59:36 -07:00
Eric Anholt 274b99e5e7 Don't forget the warnings CFLAGS in subdirectories. 2007-03-30 17:19:22 -07:00
Eric Anholt 9d6d9ace4b Move vendor ID check in the utils to after pci_device_probe.
Even current libpciaccess seems to require this.
2007-03-16 19:41:54 -07:00
Eric Anholt b7b6063e62 Add a little BIOS dumper program.
This isn't actually tested yet as libpciaccess doesn't do rom access on
non-linux yet.
2007-03-04 17:18:48 -08:00
Keith Packard 0ca926e63c Check for presence of xf86Modes.h file.
xf86Modes.h file signals the availability of the new modes API in the
server; use that instead of counting on X server version numbers.
Also, finish eliminating use of local copies of those header files.
2007-02-16 02:19:10 -08:00
Eric Anholt 786ee3df17 Add a standalone program for parsing VBT. 2006-04-16 13:05:35 -05:00