summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* configure.ac: Allow OpenGL ES1 and ES2 only with enabled OpenGLAndreas Boll2013-04-231-0/+11
| | | | | | | Building OpenGL ES1 and/or ES2 without OpenGL is not supported on mesa 9.0.x Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
* configure.ac: Remove gallium-g3dvl flag.Matt Turner2013-04-181-16/+1
| | | | | | | | It's next to useless, since it just allows you to turn off VDPAU and XvMC with a single switch. Just check whether Gallium drivers are enabled instead. Reviewed-by: Christian König <christian.koenig@amd.com>
* radeonsi: add 2d tiling support for texture v3Jerome Glisse2013-04-181-1/+1
| | | | | | | | v2: Remove left over code v3: Restage properly the commit so hunk of first one are not in second one. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
* configure: enable vdpau and xvmc detection, with galliumEmil Velikov2013-04-171-2/+8
| | | | | | | | | | | | Currently the vdpau and xvmc detection code, is enabled for all builds. The state trackers exist only within gallium. Enable whenever at least one gallium driver is selected v2: removed stray '-a' [mattst88 v3]: Removed stray $. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63645 Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
* gallivm: JIT symbol resolution with linux perf.José Fonseca2013-04-171-7/+0
| | | | | | | Details on docs/llvmpipe.html Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Roland Scheidegger <sroland@vmware.com>
* autoconf: enable detection of vdpau and xvmc by defaultChristian König2013-04-161-3/+3
| | | | | | | Since we now have UVD support we should enable them by default. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
* build: Get rid of GALLIUM_WINSYS_DIRSMatt Turner2013-04-151-15/+23
| | | | | | | | configure still uses it to print the enabled winsys. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* build: Get rid of GALLIUM_TARGET_DIRSMatt Turner2013-04-151-1/+1
| | | | | | | | configure still uses it to print the enabled targets. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* build: Build pipe-loader before gallium testsMatt Turner2013-04-151-4/+4
| | | | | | | | | And don't build it from other Makefiles. That's awful, and breaks distclean. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* build: Get rid of GALLIUM_MAKE_DIRSMatt Turner2013-04-151-23/+7
| | | | | | Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* build: Stop using GALLIUM_STATE_TRACKERS_DIRS for SUBDIRSMatt Turner2013-04-151-24/+21
| | | | | | | | configure still uses it to print the enabled state trackers. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* build: Get rid of DRIVER_DIRSMatt Turner2013-04-151-7/+2
| | | | | | Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* build: Stop AC_SUBST'ing DRI_DIRS and GALLIUM_DRIVERS_DIRSMatt Turner2013-04-151-2/+0
| | | | | | | | Neither are used in Makefile.ams. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* build: Remove GALLIUM_DIRSMatt Turner2013-04-151-4/+0
| | | | | | | | It's always constant anyway. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* build: Get rid of SRC_DIRSMatt Turner2013-04-151-14/+7
| | | | | | Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* build: Get rid of CORE_DIRSMatt Turner2013-04-151-29/+8
| | | | | | | | A step toward working make dist/distcheck. Tested-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-and-Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
* radeon/llvm: Handle ELF formatted binary output from the LLVM backendTom Stellard2013-04-151-0/+3
|
* radeon/uvd: add UVD implementation v5Christian König2013-04-111-3/+2
| | | | | | | | | | | | | | Just everything you need for UVD with r600g and radeonsi. v2: move UVD code to radeon subdir, clean up build system additions, remove an unused SI function, disable tiling on SI for now. v3: some minor indentation fix and rebased v4: dpb size calculation fixed v5: implement proper fall-back in case the kernel doesn't support UVD, based on patches from Andreas Boll but cleaned up a bit more. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
* autotools: Better describe which cases OProfileJIT is required.Johannes Obermayr2013-04-091-2/+6
| | | | Signed-off-by: José Fonseca <jfonseca@vmware.com>
* radeon/llvm: Bump minimum LLVM version to 3.3Tom Stellard2013-04-081-6/+2
|
* clover: Fix linkage of libOpenCLNiels Ole Salscheider2013-04-081-0/+4
| | | | | | | | | | Clover needs the irreader component of llvm v2: Check for irreader component irreader is only available with LLVM 3.3 >= 177971 Reviewed-by: Tom Stellard <thomas.stellard@amd.com> Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
* build: Enable x86 assembler on Hurd.Andreas Boll2013-03-191-0/+3
| | | | | | | | | | | | | | Taken from downstream: http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/mesa.git;a=blob;f=debian/patches/10-hurd-configure-tweaks.diff;h=984e17df1b8afdf8e4b36bee96aa5ab6a5691021;hb=refs/heads/ubuntu%2B1 Thanks to Pino Toscano. v2: Don't bother with x86_64. AFAICT GNU/Hurd doesn't support it so far. NOTE: This is a candidate for stable branches. Acked-by: Kenneth Graunke <kenneth@whitecape.org> (v1) Acked-by: Matt Turner <mattst88@gmail.com>
* radeon/llvm: fix LLVM dependenciesChristian König2013-03-141-1/+1
| | | | | | Since commit 1c4f283151b191c51cbd76d7f304cc1fe7be3019 we obvious depend on this. Signed-off-by: Christian König <christian.koenig@amd.com>
* configure: wire-up new OSMesa gallium state tracker and targetBrian Paul2013-03-121-0/+4
| | | | Reviewed-by: José Fonseca <jfonseca@vmware.com>
* configure.ac: Alphabetize freedreno makefiles.Matt Turner2013-03-121-3/+3
|
* build: Get rid of dead MESA_ASM_FILES variableMatt Turner2013-03-121-5/+0
| | | | Reviewed-by: Eric Anholt <eric@anholt.net>
* freedreno: gallium driver for adrenoRob Clark2013-03-111-1/+13
| | | | | | | | | | | | | | | | | | | Currently works on a220. Others in the a2xx family look pretty similar and should be pretty straightforward to support with the same driver. The a3xx has a new shader ISA, and while many registers appear similar, the register addresses have been completely shuffled around. I am not sure yet whether it is best to support with the same driver, but different compiler, or whether it should be split into a different driver. v1: original v2: build file updates from review comments, and remove GPL licensed header files from msm kernel v3: smarter temp/pred register assignment, fix clear and depth/stencil format issues, resource_transfer fixes, scissor fixes Signed-off-by: Rob Clark <robdclark@gmail.com>
* d3d1x: Remove.José Fonseca2013-03-121-21/+0
| | | | | | Unused/unmaintained. Reviewed-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
* configure.ac: Build dricommon for DRI gallium driversMatt Turner2013-03-081-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | Commit 67ef7559 added an || test "x$enable_dri" check in an attempt to get the DRI common bits built in some necessary cases. That change was inappropriate as it made these common DRI pieces be built unconditionally, so some builds were broken. Subsequently, commit 998d975e3 change the "|| test" to a "-a" conjunction within the existing test invocation. This made the '-a "x$enable_dri" = xyes' clause have no effect, (as it was inside an enclosing test for the same condition). So the new breakage from commit 67ef7559 was addressed, but the original problems were regressed. The immediately preceding commit removed the redundant condition. Now, finally this commit fixes the original problem as described in the commit message of 67ef7559: this code should be compiled when using the DRI state tracker. In order to do so, the HAVE_*_DRI conditionals must be moved after the last assignment of HAVE_COMMON_DRI. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61821 Tested-by: Stéphane Marchesin <marcheu@chromium.org>
* configure.ac: Remove redundant checks of enable_dri.Matt Turner2013-03-081-18/+16
| | | | The whole block is enclosed inside if test "x$enable_dri" = xyes.
* configure.ac: Remove stale comment about --x-* arguments.Matt Turner2013-03-051-6/+0
| | | | | | | Should have been removed with e273ed37. Note: This is a candidate for the 9.1 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
* configure.ac: Don't check for X11 unconditionally.Matt Turner2013-03-051-8/+0
| | | | | | | | | X11 is already checked conditionally below. Fixes OSMesa-only configurations to not require X11. Note: This is a candidate for the 9.1 branch. Reviewed-by: Brian Paul <brianp@vmware.com>
* Fix build of swrast only without libdrmDaniel Martin2013-03-041-1/+1
| | | | | Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Daniel Martin <consume.noise@gmail.com>
* autotools: oprofilejit should be included in the list of LLVM components ↵Adam Sampson2013-02-281-0/+3
| | | | | | | | required NOTE: This is a candidate for the stable branch. Signed-off-by: José Fonseca <jfonseca@vmware.com>
* configure.ac: Clarify the description of the --with-opencl-libdir parameter ↵Francisco Jerez2013-02-271-1/+1
| | | | | | | | a little. https://bugs.freedesktop.org/show_bug.cgi?id=61415 Signed-off-by: Francisco Jerez <currojerez@riseup.net>
* configure: Fix build with automake < 1.11Lauri Kasanen2013-02-221-1/+2
| | | | | | | | | | | Commit 86d30dea3c13d29ef8d39bc18db63a0441051975 broke building with older automake versions with this error: Makefile:769: *** Recursive variable am__v_YACC_ references itself (eventually). Stop. This patch fixes it. Fix stolen from xorg-macros. Signed-off-by: Lauri Kasanen <cand@gmx.com>
* configure.ac: Do not check for clock_gettime on MinGW.Vinson Lee2013-02-191-1/+1
| | | | | | | MinGW does not have clock_gettime. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
* configure.ac: Add components to LLVM_COMPONENTS when using llvm shared libsTom Stellard2013-02-131-9/+10
| | | | | This is required when LLVM is built with CMake, which creates one shared library for each component.
* configure.ac: Do not check for rt on Mac OS X.Vinson Lee2013-02-091-4/+10
| | | | | | | | There is no rt library on Mac OS X. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58872 Acked-by: Matt Turner <mattst88@gmail.com>
* Require libdrm_radeon 2.4.42 for radeonsi.Michel Dänzer2013-02-051-1/+1
| | | | It has new PCI IDs and an important tiled surface layout fix.
* configure.ac: Fix --with-llvm-shared-libsQuentin Glidic2013-02-011-2/+7
| | | | | | | | | | | The third argument of AC_ARG_WITH is evaluated for any provided value, not only on --with-, so it must not force-enable the feature Also, setting $with_llvm_shared_libs in the opencl check was overriding the user switch https://bugs.freedesktop.org/show_bug.cgi?id=59851 Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
* configure.ac: GLX cannot work without OpenGLMichel Dänzer2013-02-011-0/+10
| | | | | | | | | | | | | | | GLX uses mapi/glapi/libglapi.la, which is only built for OpenGL. If the user specified --enable-xlib-glx --disable-opengl, error out, as these cannot be both observed at the same time. If the user just specified --disable-opengl but not --disable-glx, print a warning and disable GLX as well. NOTE: This is a candidate for the stable branches. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59364 Tested-by: Tom Stellard <thomas.stellard@amd.com>
* mesa: bump version to 9.2 (devel)Andreas Boll2013-01-311-1/+1
| | | | | | | Now that branch 9.1 is created, bump the minor version in master. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
* build: Add missing comma in AS_IFMatt Turner2013-01-291-2/+2
| | | | | Reported-by: Lauri Kasanen<curaga@operamail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47248#c15
* r600g: Fix building with --enable-r600-llvm-compilerTom Stellard2013-01-281-4/+3
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=59877
* configure.ac: Don't set LLVM_LIBS when llvm is disabledTom Stellard2013-01-251-16/+19
|
* configure.ac: Force use of LLVM shared libs with --enable-opencl v2Tom Stellard2013-01-241-5/+33
| | | | | | | | | | | | | | | | | | | | If we build clover with LLVM static libraries, then clover and also each pipe_*.so driver that is built will contain their own static copy of LLVM. The recent automake changes have uncovered a problem where the pipe_*.so drivers try to use clover's LLVM symbols. This causes LLVM's static registry objects to be initialized each time a pipe_*.so driver is loaded by clover. Initializing these objects multiple times is not allowed and leads to assertion failures in the LLVM code. We can avoid all these problems by having clover and all the pipe_*.so drivers link against the same LLVM shared library. https://bugs.freedesktop.org/show_bug.cgi?id=59334 https://bugs.freedesktop.org/show_bug.cgi?id=59534 v2: - Fix shared library detection when LLVM is built with CMake
* configure.ac: Compute the required llvm static libraries only onceTom Stellard2013-01-241-7/+19
| | | | | | | | | | | In order to determine which static LLVM libraries are needed we pass a list of components to llvm-config and it generates the list of library dependencies for us. The advantage of only calling llvm-config one time is that it can determine if two components depend on the same library and then add it to the output list only once. The old practice of having each driver call llvm-config to add its own dependencies to $(LLVM_LIBS) caused many libraries to be added to this variable multiple times.
* build: Use AX_PROG_FLEXMatt Turner2013-01-221-1/+3
| | | | | | Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=47248
* build: Use AX_PROG_BISONMatt Turner2013-01-221-7/+3
| | | | | | | | No one tests yacc/byacc. Let's just request bison specifically. Tested-by: Andreas Boll <andreas.boll.dev@gmail.com> Reviewed-by: Eric Anholt <eric@anholt.net> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=46815