summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)Author
2014-09-082.99.915 snapshot2.99.915Chris Wilson
2014-08-31configure: check for cpuid.hJonathan Gray
Instead of checking for a particular version of GCC check for a cpuid.h with __cpuid_count. This allows cpuid.h to be provided for older/different compilers. Signed-off-by: Jonathan Gray <jsg@jsg.id.au> [ickle: Delete the bare and redundant config.h]
2014-08-24configure: Add guards for os.h redefinesChris Wilson
os.h redefines a few common libc functions, so check if the host provides them first and inform os.h if that is the case. Suggested-by: Zdenek Kabelac <zkabelac@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-08-18test: Make SHM tests in lowlevel-blt-bench optionalChris Wilson
A slightly more complex patch to disable the SHM based tests of lowlevel-blt-bench when MIT-SHM support is not available at compile time. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-08-18test: Only compile lowlevel-blt-bench if we have shmChris Wilson
Since 37ac34c4e4500bfc272222754949edc1dbb8c7e2, lowlevel-blt-bench requires SHM support, so only compile it if we detect such during configure. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-08-07test: Exercise different cursor sizesChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-08-06sna: Enable kernel rotation support by defaultChris Wilson
The kernel API is now upstream and so we can rely on it not changing. Time to use it. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-08-05intel: Use NOACCEL to avoid a symbol clash on old XorgChris Wilson
Old Xorg xf86str.h defines NONE preventing us from using it within an enum. Use NOACCEL instead. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-07-27configure: Expose no acceleration by default (--with-default-accel=none)Chris Wilson
Why? I am not sure, but it seems equally as valid as allowing the switch to uxa/glamor as default. The runtime equivalent is Option "AccelMethod". Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-07-232.99.914 snapshot2.99.914Chris Wilson
2014-07-23Add automake magic required for libobj/Chris Wilson
So libobj/ wasn't included in the tarball, and nor was the compatability functions being added to the driver when they were needed. The oddity is that using the ./configure script (and thus make distcheck) succeeds. It was only when 'autoreconf -fi' was run was the first error encoutered. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reported-by: Tobias Klausmann
2014-07-232.99.913 snapshot2.99.913Chris Wilson
2014-07-18configure: Double check xinerama's headersChris Wilson
Having the pkgconfig present doesn't always necessarily imply the headers are installed correctly - just fail over gracefully for xinerama and intel-virtual-output Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-07-11configure: Provide a poor man's replacement for getline()Chris Wilson
uClibc is one such library that doesn't implement getline() Reported-by: Ben Widawsky <benjamin.widawsky@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-24configure: Display our README before the summaryChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-20test: Increase number of tiled sourcesChris Wilson
Significantly improve the stress impose upon the tiled BLT operations. Also start dumping pngs of the failures. References: https://bugs.freedesktop.org/show_bug.cgi?id=80033 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-13xvmc: Sanitize compile and library flagsChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-13configure: Fix DRI2 buildChris Wilson
One s/DRI2/have_dri2/ too far. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-13configure: Allow manual disabling of each DRI levelChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-102.99.912 snapshot2.99.912Chris Wilson
2014-06-09configure: Allow disabling control over the backlightChris Wilson
Some OS prefer to control the backlight themselves through another daemon and so do not want X interfering. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-07sna: Allow TearFree to be enabled by default via configureChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-03configure: XORG_DRIVER_CHECK_EXT does not create CFLAGS/LIBS variablesChris Wilson
XORG_DRIVER_CHECK_EXT only adds the package name to the list of REQUIRED_MODULES (which is later passed to pkg-config). For our optional dependencies, we must do a later call to pkg-config to verify the package is available and then remember to include the includes with the CFLAGS. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-03configure: Remove xf86driproto from REQUIRED_MODULESChris Wilson
We only depend upon the original DRI1 infrastructure when building i810 with DRI support. So unless that is true, do not throw an error if the legacy protocol is absent. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-03configure: Don't link the driver against libX11Adam Jackson
78dc0c04745ad4485b994f67833f4a155749f01d added REQUIRED_MODULES to the driver link line for... some reason. That pulled in the libs from the XF86DRI check, which near as I can tell has always been wrong, all of the other extension checks just look for the protocol module and xextproto doesn't define dri1 protocol in any case. Signed-off-by: Adam Jackson <ajax@redhat.com>
2014-06-02intel-virtual-output: Add DRI3 xfer pathChris Wilson
Just as proof-of-principle. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-02Add rudimentary tests for PresentChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-02Add rudimentary tests for DRI3Chris Wilson
This is a simple little test to create a pixmap from a local bo, copy it to a normal pixmap, then read it back by importing it into anther local bo. It tests the fundamental mechanisms of opening a DRI3 render device, importing into pixmaps, exporting into /buffers and a read-barrier. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-06-02intel: Add common routines and configure probing for DRI3Chris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-05-16sna: Userptr lands upstream, enable.Chris Wilson
No longer an optional feature of an experimental kernel! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-05-14intel-virtual-output: Make it possible to disable building via configureChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-04-10configure: Report which version (lib or module) of glamor is usedChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-04-10Update for glamor in the 1.16 server.Eric Anholt
We should link against the server's copy, insted of using the external library.
2014-03-192.99.911 snapshot2.99.911Chris Wilson
2014-03-14intel-virtual-output: Minor DBG fixesChris Wilson
Improve the summary after failing to detect MIT-SHM, and fix a DBG Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-03-13uxa: Enable BLT acceleration on Broadwell.Kenneth Graunke
This supports solid, copy, put_image, and get_image acceleration via the BLT engine. RENDER acceleration (composite) and Xv would be piles of work, which is not worth doing since SNA exists, and Glamor is coming. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2014-02-15Backlight helper build fixesJan Alexander Steffens (heftig)
Don't hardcode $(prefix)/libexec Fix install hook when DESTDIR is set Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75028
2014-02-15intel: Add a helper for setting backlight without root rightsChris Wilson
Once the xserver stops running as root on kms capabable systems, we will need some other way to access the backlight. The approach taken in this patch moves most of the heavy lifting to a helper that runs with root privileges and pipes our requested brightness into the sysfs backlight interface. Where required, we use pkexec to launch the helper with the elevated privilege. v2: Amalgamate much more of the duplicate code. Keep the daemon and pipe alive for the lifetime of the backlight interface. Provide an alternative for systems without PolicyKit. Signed-off-by: Hans de Goede <hdegoede@redhat.com> [v1] Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-02-12sna: Support native primary plane rotationsChris Wilson
Use the display hardware for simple rotations, when exported through the rotation property on the CRTC. As the kernel support is not yet merged upstream, the feature is hidden behind --enable-rotation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-02-11Record Video ABI version that we configure againstChris Wilson
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-02-102.99.910 snapshot2.99.910Chris Wilson
2014-02-012.99.909 snapshot2.99.909Chris Wilson
2014-02-01glamor: Enable Xv supportChris Wilson
In addition to the UXA texture paths (which in theory support VSync) and direct overlay support, create a textured video paths that utilize the glamor acceleration code. Requested-by: Fabio Pedretti <fabio.ped@libero.it> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74311 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-02-012.99.908 snapshot2.99.908Chris Wilson
2014-01-28Allow selection of glamor as the default acceleration methodChris Wilson
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74162 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-12-302.99.907 snapshot2.99.907Chris Wilson
2013-12-15intel-virtual-output: Disable build if timerfd is not presentChris Wilson
Otherwise the build breaks on *BSD. Reported-by: Yuta SATOH <nigoro.gentoo@0x100.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72707 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-12-05configure: Correct closing ']'Chris Wilson
Too many closed, too few opened. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-11-25config apostropheZdenek Kabelac
Signed-off-by: Zdenek Kabelac <zkabelac@redhat.com>
2013-11-132.99.906 snapshot2.99.906Chris Wilson