33 Commits

Author SHA1 Message Date
Daniel Vetter
7ee9f16e51 tools/intel_error_decode: convert over to libdrm decoder
Note that a per-ring error decode state would make more sense - this
way we could better decode the ring head and tail. But our current
head tracking is already lame (we need the kernel to also dump the
ringbuffer head/tail first, not just acthd), so I didn't bother.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-09 23:38:17 +01:00
Alan Coopersmith
504c4fa94f Fix pthread compiler flags to work on Solaris and with Studio compiler
AC_USE_SYSTEM_EXTENSIONS is used to let autoconf take care of setting
the right system defintions for POSIX threads & similar extensions to
the base POSIX API.   Since it will also #define _GNU_SOURCE 1, remove
the extra setting to avoid compiler warnings about redefined macros.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-08 21:49:03 +01:00
Alan Coopersmith
f73dddc767 Solaris defines struct winsize in termios.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-08 21:49:03 +01:00
Alan Coopersmith
9ebb860e39 Provide Solaris implementation of intel_get_total_ram_mb
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-08 21:49:03 +01:00
Gaetan Nadon
65db78f687 config: restore the libtool minimum version to 1.5
Very few systems still use this old version, but it would be
inconvenient to build a video driver with libtool 1.5 and have
to build the gpu tools on another system having libtool 2.2.

The toolchain version requirements are documented here:
http://www.x.org/wiki/ModularDevelopersGuide#GNU_Build_System

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04 10:47:11 +01:00
Gaetan Nadon
d63a1f6c73 config: the minimum version for autoconf is 2.60
A version later than 2.60 can be used, but no new features from such
a later version can be used in configure.ac.

The toolchain version requirements are documented here:
http://www.x.org/wiki/ModularDevelopersGuide#GNU_Build_System

Minimum version for Automake is 1.10 but we have not written it
in any xorg module so far and there has been no issues.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04 10:47:11 +01:00
Gaetan Nadon
a03ef7abb5 config: set-up xorg automatic rebuilding rules
The current code is a noop. Use the same configuration as all
the other xorg modules. This will change in the future but it is less
confusing when all modules behave the same way.
Note that these rules apply to building from a tarball only.

Restore autogen.sh to be identical in all xorg modules.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04 10:47:11 +01:00
Gaetan Nadon
665b86664a config: use project wide xorg warnings variable
Use CWARNFLAGS as in all of xorg. There seems to be no reason why this
module should be different. The warnings were updated recently
for those who install the latest util-macros.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04 10:47:11 +01:00
Gaetan Nadon
1722b78128 config: remove duplicate AC_PROG_CC and AC_PROG__CC_99
The compiler was configured three times.
It is done once by XORG_DEFAULT_OPTIONS in util-macros.

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04 10:47:10 +01:00
Gaetan Nadon
4435791013 config: remove unrequired AM_PROG_CC_C_O
Required when using per-target flags or subdir-objects with C sources.

http://www.gnu.org/software/automake/manual/automake.html

Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04 10:47:10 +01:00
Gaetan Nadon
4384c68f2e Man pages still showing version 1.0 in the 1.1 release
The patch coverts the man subdir to the standard xorg man page makefile.
The version number is automatically updated when a new release is made.
The man page section number is no longer hard coded either.

The package util-macros at version 1.8 or greater is required.

Acked-by: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2012-01-04 10:47:10 +01:00
Daniel Vetter
5a3fccbb57 Release 1.1 2011-12-24 01:23:59 +01:00
Daniel Vetter
6f7e6c9100 cargo-cult the build system into shape
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-11-01 17:20:01 +01:00
Daniel Vetter
593cb1874a always require libdrm
... and also add the missing files to lib/Makefile.am

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2011-11-01 17:04:44 +01:00
Ben Widawsky
7c8d41f4d9 i-g-t/debugger - make the debugger work with distcheck
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2011-10-31 17:34:16 -07:00
Ben Widawsky
15830ea54b i-g-t/debugger: Only allow the shader debugger if the user has specified a gen4asm
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2011-10-31 17:34:16 -07:00
Ben Widawsky
62873796c4 intel-gpu-tools/debugging: shader debugger
high level summary of the files:
  * debug_rdata - get current state from debug registers. Helpful
    when developing the debugger, and could serve some purpose in the
    future.
  * eudb - the debugger itself
  * eviction_macro - generate the proper macro to flush the EU render
    cache until I get control flow working
  * pre_cpp - an evaluating c preprocesser like thing, to be used before
    cpp
  * sr - the system routine, exception handler which runs on the EU
  * test - a very basic test system routine
  * debug.h
2011-07-28 14:26:57 -07:00
Chris Wilson
e0532d4eb0 scripts: Add throttle.py
Parses a trace.dat and works out how long each throttle was and how many
batches retired within that period (and their average duration).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-08 12:16:23 +01:00
Ben Widawsky
f70a717482 Add C99 requirement to autoconf.
snprintf is part of the C99 standard and is used in many places in the
tools.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2011-04-11 08:47:11 -07:00
Javier Jardón
68b64f1b39 build: Update autotools configuration
Replace deprecated macros and use the new libtool syntax
Also use silent-rules to make the build option less verbose.
2011-02-09 10:19:51 +00:00
Chris Wilson
293dd478d7 configure: Bump the libdrm dependency
Whoops, should have done this ages ago for I915_EXEC_BLT

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-02-08 12:04:17 +00:00
Jesse Barnes
5406c633a0 tests: add display testing program
Just a simple program to light up all detected outputs at their native
mode and respond to hotplug events.
2010-12-21 09:39:07 -08:00
Chris Wilson
95374225e8 Enable compilation on non-Intel, non-DRM systems.
A few of the tools can be performed post-mortem from a different system,
so it is useful to be able to compile those tools on those foreign
systems. Obviously, any program to interact with the PCI device or talk
to GEM will fail on a non-Intel system.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-08 12:17:31 +01:00
Eric Anholt
4e6400c4bb Replace dolt and shave with using current autotools. 2009-12-15 12:39:04 -08:00
Eric Anholt
d48fc144ca Bump to 1.0.2 for release. 2009-09-21 15:02:54 -07:00
Eric Anholt
0521bca629 Bump version to 1.0.1 for release. 2009-05-19 16:48:40 -07:00
Eric Anholt
e71c628302 Add manpages for all installed binaries. 2009-05-19 16:09:08 -07:00
Eric Anholt
cb5a35fe8e Add a couple of other intel_upload_blit_large variants for comparison. 2009-03-31 10:01:07 -07:00
Eric Anholt
1eabfa9a14 rename project 2009-03-27 16:03:12 -07:00
Eric Anholt
29777a542b Add intel_stepping from the 2D driver. 2009-03-27 11:01:14 -07:00
Eric Anholt
895a415909 Add the tests we want from libdrm. 2009-03-26 18:47:42 -07:00
Eric Anholt
ec172167d6 Fix project name/version for distfiles. 2009-03-26 18:45:01 -07:00
Eric Anholt
8c64183a46 Initial import of intel-graphics-tools with some microbenchmarks. 2009-03-26 17:15:11 -07:00