summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2016-03-01NEWS: Updates and bump release to 1.14.Marius Vlad
Signed-off-by: Marius Vlad <marius.c.vlad@intel.com>
2016-02-08configure.ac: Test for libdrm_vc4 and build vc4 tests based on it.Eric Anholt
Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Daniel Stone <daniels@collabora.com>
2016-01-25build: Disable x86-specific utilities on non-x86Daniel Stone
Some bits can't be built on non-x86 architectures, mostly because they require x86-specific assembly primitives. Disable these by default on non-x86 architectures. Signed-off-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Eric Anholt <eric@anholt.net>
2015-12-02Update version to 1.13 and add the release dateThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-11-03kms_atomic: Add basic atomic modesetting testsDaniel Stone
Add tests for KMS atomic modesetting, to exercise the basic interface and test failure/corner cases. Should ensure coherency between the legacy and atomic interfaces. v2: New patch. v3: Disable connector checking for now, as it was causing GPU hangs on newer kernels. v4: Rebase. v5: Use do_ioctl or do_ioctl_err consistently. Use igt_assert_*() helper macros rather than igt_assert() directly. Move assertions into helper/check functions. Define atomic commit helper. v6: Use do_ioctl_err, and define macros to move errors to actual callsite, rather than helper functions. Co-authored-by: Micah Fedke <micah.fedke@collabora.com> Signed-off-by: Daniel Stone <daniels@collabora.com>
2015-09-11Update version to 1.12 and add the release dateThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-09-08tools: install the register definition filesThomas Wood
Install the register definition files and use them by default in intel_reg. v2: remove redundant path check Suggested-by: Jani Nikula <jani.nikula@linux.intel.com> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-09-08tools: remove quick_dumpThomas Wood
Remove quick_dump as it has been replaced by the intel_reg tool and move the register definition files to tools/registers. Signed-off-by: Thomas Wood <thomas.wood@intel.com> Acked-by: Jani Nikula <jani.nikula@intel.com>
2015-08-05configure.ac: Fix chmod on intel_aubdump the right wayKristian Høgsberg Kristensen
autoconf executes the init commands after each file it creates, causing these errors at configure time: ... chmod: cannot access 'tools/intel_aubdump': No such file or directory config.status: creating tools/Makefile chmod: cannot access 'tools/intel_aubdump': No such file or directory config.status: creating tools/intel_aubdump config.status: creating tools/quick_dump/Makefile ... Once it creates intel_aubdump, the errors go away. When I first added the chmod command, I already had a tools/intel_aubdump in my tree and didn't get the error. Split the intel_aubdump creation into its own AC_CONFIG_FILES() invocation to avoid this. Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
2015-08-04configure.ac: Fix the intel_aubdump chmod to use topbuilddirKristian Høgsberg Kristensen
Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
2015-07-31tools: Add LD_PRELOAD-based AUB dumper toolKristian Høgsberg Kristensen
This does everything the aub dump functionality in libdrm does, but without being part of libdrm. This moves the very developer oriented functionality out of core libdrm and adds some flexibility in how we activate it (we can specify filename, for example). Most importantly, this lets us dump aub files for tools and/or drivers that don't use libdrm, without having to add that code to each of those projects. The tool is used much like strace or valgrind. For example: $ intel_aubdump -v --output=stuff.aub -- glxgears -geometry 500x500 will launch glxgears with its options and enable aub dumping and pass the -v and --output=stuff.aub options to the aub dumper. Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
2015-07-20intel_reg: support platforms without sys/io.hThomas Wood
Based on an idea from Jani Nikula. Cc: Jani Nikula <jani.nikula@intel.com> Cc: Derek Morton <derek.j.morton@intel.com> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-07-14configure: require libdrm >= 2.4.55Paulo Zanoni
And drop the now unnecessary universal plane definitions. The 2.4.55 version is already quite old, so we should be fine. Thanks to Thomas Wood for quickly spotting this. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@>
2015-07-02build: Don't use automake's conditional in a Makefile.sourcesDamien Lespiau
I just remembered that those Makefile.sources files where also included by the Android build system, so we can't use automake's conditionals in there. So, we want to use GNU make's one. Unfortunately, after all those years, GNU automake still doesn't do anything useful with GNU make's ifeq: lib/Makefile.sources:66: error: else without if automake will helpfully signal that the 'else' corresponding to the 'ifeq' doesn't have a corresponding 'if'. Well, yeah, thanks. Fortunately, we can work around this by cunningly inserting a space before 'ifeq', 'else' and 'endif' and fool automake's regex-based checks. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-07-02build: Add an option to not use the git hash in versionDamien Lespiau
When developing, it's quite annoying that the version changes every commit, causing the library to be rebuild and every single binary re-linked. Add a config option to skip that. I remember Ville asking for this "feature" as well. v2: Option is now called --disable-git-hash (Thomas) Various spelling mistakes (Thomas) Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-06-11Update version to 1.11 and add the release dateThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-06-05build: Add the automake subdir-objects optionDamien Lespiau
automake 1.14 was complaining here: overlay/Makefile.am:44: warning: source file 'x11/x11-window.c' is in a subdirectory, but option 'subdir-objects' is disabled. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2015-04-30man: add man page for intel_reg in reStructured text formatJani Nikula
Produce the intel_reg man page from rst using rst2man. Also facilitate writing any man page in reStructured text, as long as rst2man is available. v2: configure check for rst2man, credits to Thomas Wood for that. Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2015-03-26Add default debug flags for testsThomas Wood
Include debugging symbols in tests by default to improve stack traces and also set the compiler optimisation level to improve the debugging experience. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-03-26lib: print a stack trace when a test assertion failsThomas Wood
Add an optional dependency on libunwind to print stack traces when a test assertion fails. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-03-12Update version to 1.10 and add the release dateThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2015-01-06Provide sighandler_t fallback for non-GNU-libc platformsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-01-06Need to #include <libgen.h> for basename() on SolarisAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2015-01-06Solaris needs to #include <sys/kd.h> instead of <linux/kd.h>Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-12-12Update version to 1.9 and add the release dateThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-11-14configure: update bug reporting urlThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-11-12configure: require automake 1.12Thomas Wood
The check tests require AM_TESTS_ENVIRONMENT, which was added in automake 1.12. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-11-06configure: fix issues when running outside the source treeThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-10-29Move library selftests to lib/testsDaniel Vetter
Again they're not really igt testcases so are in the way of running spatch unconditionally. Move them someplace else. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-10-17configure: include the skylake quick_dump files in EXTRA_DISTThomas Wood
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-10-09Don't use += to append to a shell variable.Adam Sampson
POSIX only requires "=" to be supported; "+=" works in bash but not in dash. Signed-off-by: Adam Sampson <ats@offog.org> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-10-09Use = rather than == in test.Adam Sampson
The POSIX standard only requires test to support "="; "==" works in bash but not in dash. Other comparisons in configure.ac use "=" already. Signed-off-by: Adam Sampson <ats@offog.org> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-09-08bump version to 1.8 and add the release dateRodrigo Vivi
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2014-07-11configure: Only build overlay if dri2proto is presentChris Wilson
Instead of making dri2proto mandatory, disable intel-gpu-overlay if it is not installed. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-12quick_dump: read the architecture files for items to add to EXTRA_DISTThomas Wood
Each architecture file contains a list of the text files it requires, so use this to add to the list of files to distribute. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
2014-06-09bump version to 1.7 and add the release dateRodrigo Vivi
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
2014-06-03tools/null_state_gen: generate null render stateMika Kuoppala
Generate valid (null) render state for each gen. Output it as a c source file with batch and relocations. v2: noinst and vs_start fixed for BDW GT3 (Damien Lespiau) Acked-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
2014-05-28build: Don't fail if SWIG isn't foundDamien Lespiau
People from distros have reported that packaging the newer versions is more difficult because we now depend on SWIG. We don't have to, it's needed for the python dumper and is an optional build dependency. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-03-21build: Define enable_gtk_doc when the m4 macro is missingDamien Lespiau
For setups where we don't have gtk-doc installed, ie when the GTK_DOC_CHECK macro doesn't expand, we still need to populate the enable_gtk_doc variable to provide a value to the configure summary. Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2014-03-13bump version to 1.6 and add the release dateRodrigo Vivi
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
2014-03-11gtk-doc: Document the docsDaniel Vetter
- configure output to easily see whether docs are built or not - small blurb in README Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-03-11Add API documentation supportThomas Wood
Add optional support for building API documentation using gtk-doc. Signed-off-by: Thomas Wood <thomas.wood@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2014-03-07configure: Bump libdrm requirementsDaniel Vetter
2014-01-02configure.ac: Fix shader debugger for realBen Widawsky
I tried to get fancy before, but ended up pushing something which I didn't test. Keep the thing simple and stupid, and just make it work. Reported-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-12-30configure.ac: Fixup conditional shader debuggerBen Widawsky
The original patch was incomplete. Testing no assembler build is a pain for me. Sorry for the mess. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-12-30configure.ac: Remove GEN4ASM defineBen Widawsky
This was a leftover hunk that got accidently merged. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-12-20shader-debugger: Use in tree gen4asmBen Widawsky
Reported-by: Patrick McMunn <doctorwhoguy@gmail.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
2013-12-10lib: Add host platform to version stringDaniel Vetter
This is import on systems where we compile 32bit tests that run on 64bit platforms. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
2013-11-06bump version to 1.5 and add the release dateRodrigo Vivi
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
2013-10-14Depend on libdrm_intel >= 2.4.47.Matt Turner
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>