Commit Graph

400 Commits

Author SHA1 Message Date
Chris Wilson 9f3fc9ec49 Allow selection of glamor as the default acceleration method
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74162
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2014-01-28 21:56:23 +00:00
Chris Wilson c4b88d6026 2.99.907 snapshot 2013-12-30 10:35:18 +00:00
Chris Wilson 989198f3dd intel-virtual-output: Disable build if timerfd is not present
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-15 09:45:24 +00:00
Chris Wilson ba9a173d81 configure: Correct closing ']'
Too many closed, too few opened.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-12-05 11:06:59 +00:00
Zdenek Kabelac 41be7e9d49 config apostrophe
Signed-off-by: Zdenek Kabelac <zkabelac@redhat.com>
2013-11-25 09:32:31 +00:00
Chris Wilson 7468a6b740 2.99.906 snapshot 2013-11-13 09:55:20 +00:00
Rémi Cardona 922a8bab89 configure: Use proper variables set by PKG_CHECK_MODULES
$DRI_CFLAGS does not actually exist. The PKG_CHECK_MODULES call creates
a $DRI1_CFLAGS variable instead. This doesn't break often because
"recent" versions of xorg-server.pc indirectly depend on xf86driproto.pc
thus bringing in the required CFLAGS through $XORG_CFLAGS.

Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=490342
Signed-off-by: Rémi Cardona <remi@gentoo.org>
2013-11-10 11:35:00 +00:00
Chris Wilson 585340f75c 2.99.905 snapshot 2013-10-23 09:50:24 +01:00
Chris Wilson e914dada55 configure: Allow manual specification of intel-gen4asm path
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-11 10:51:35 +01:00
Daniel Martin 700a845cc6 configure: Add xfixes to X11 pkg check
Add xfixes to the list of PKG_CHECK_MODULES for X11. '-lXfixes' was
hardcoded in test/Makefile.am before. This could lead to a broken build
in very rare cases where the build environment has all specified X
libraries but Xfixes.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
2013-10-10 14:36:37 +01:00
Chris Wilson b9ad5b625e 2.99.904 snapshot 2013-10-09 17:18:43 +01:00
Chris Wilson b8aed26619 configure: Disable building tools if prerequisite headers not found
After the pkg-config checks, we then probe the headers. If those probes
fail, we obviously wish to prevent building the tools as the build will
fail.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-04 08:37:48 +01:00
Chris Wilson db1edf0e10 configure: Error out if glamor request but UXA is disabled
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-10-02 16:18:43 +01:00
Chris Wilson 36d142153b 2.99.903 snapshot 2013-09-28 18:38:12 +01:00
Chris Wilson dcf9b5ae18 intel: Compile fixes for base install of SLED11.sp3
Highlights of that distribution include xorg-xserver-1.6.5, kernel
3.0.76 and gcc-4.3.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-18 12:49:41 +01:00
Chris Wilson 76790db4e6 test: Exercise flips/blit swaps on each pipe
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-12 15:25:19 +01:00
Chris Wilson f25235a854 configure: Only assert DRI2 requirements not met if the DRI2 package is missing
The new error message was added in
commit ea30967245 [2.99.902]
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri Sep 6 22:54:48 2013 +0000

    configure: Disable UXA build without DRI2

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-08 16:38:58 +01:00
Chris Wilson 58a7611ccf 2.99.902 snapshot 2013-09-07 08:48:34 +01:00
Chris Wilson ea30967245 configure: Disable UXA build without DRI2
DRI2 is interwoven into the UXA structs, so simply disable building UXA
if DRI2 is not available.

Reported-by: Ross Burton <ross@burtonini.com>
Bugzilla:  https://bugs.freedesktop.org/show_bug.cgi?id=69056
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-06 23:58:17 +01:00
Chris Wilson 94bc69d5b9 2.99.901 snapshot 2013-09-04 15:18:29 +01:00
Chris Wilson 4dfd7674d8 intel: Select SNA as the default acceleration method
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-04 15:18:29 +01:00
Chris Wilson f906a4de62 sna: WriteThrough support is now upstream
Now that the WriteThrough ABI is upstream, we can rely on runtime
detection of the current interface.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-04 15:18:29 +01:00
Chris Wilson 6f49a413aa configure: Check for required UMS headers before enabling
Prevents the build failing with i810 if we can not find vgaHW.h

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-04 15:18:28 +01:00
Chris Wilson 4b3669548a intel-virtual-output: Fallback to Xinerama if RandR is not supported by the target
With Xinerama, we do not support reconfiguration of the target's CRTCs
but we can still paint!

This will require some more work to try and minimise the incompatibility
between configuring Randr displays locally and the static arrangement
remotely. But you can paint!

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-09-02 16:39:17 +01:00
Chris Wilson 9742ff3ae1 intel-virtual-output: use depth-16 transfers for remote hosts or low bpp targets
Avoid up-converting to a depth-24 image and wasting extra bandwidth if
either end-point is only using depth-16.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-31 18:44:49 +01:00
Chris Wilson 6509e46eca intel-virtual-output: use XRender for format conversion if required
Support rendering between mixed depths by using Render to stage the
transfer into our x8r8g8b8 image. An improvement would be to use the gcd
intermediate depth so we don't waste bw unecessarily.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-31 17:45:24 +01:00
Chris Wilson ead32f4a14 configure; Remember to disable building the tools
If we find that the headers for the tools are not available on the
system, simply disable building them as they are not essential features
of the driver.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-31 16:19:21 +01:00
Chris Wilson 8067255dc9 tools: Add intel-virtual-output to extend the local desktop with remote outputs
Based on the original implementation (hybrid-screenclone) by
Tomáš Janoušek, and Bumblebee integration by Kevin Puetz.

intel-virtual-output utilizes local VirtualHeads to present a contiguous
desktop to the local display manager, but maps the drawing on those
outputs to the remote display, and provides bidirectional RandR proxy so
that you can resize the remote display and configure it within your
desktop. The remote display should also send hotplug events back to the
local desktop, for reconfiguration on the fly.

Ideally the remote display is a discrete GPU on the same host so that we
can use local Shared Memory transport and avoid sending data over the
wire (though it will work in that setup). Ideally you would have userptr
support to provide zero-copy rendering between the GPUs, or have dma-buf
(in which case you would be using PRIME). For remote rendering, no
compression is done so this fares worse than VNC.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-31 15:49:01 +01:00
Chris Wilson 8b0d69e76c intel: Add experimental rendernode support
Render nodes allow clients full access to off-screen rendering and GPU
offload, without assuming any master responsiblities (for device and
display management). As they have a more limited interface, they can be
used in a more permissive manner.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-23 19:27:23 +01:00
Chris Wilson f57ce6ef9c 2.21.15 release 2013-08-21 12:20:29 +01:00
Sedat Dilek 6bd897157b Correct misspelled caching
Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
2013-08-14 19:10:11 +01:00
Julien Cristau b2df6cc8f0 configure: use CPPFLAGS for xaa.h check, not CFLAGS
CFLAGS aren't passed to the preprocessor, which then can't find the
header.

Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-08-12 22:42:18 +01:00
Julien Cristau d661332de9 Check for struct sysinfo as well as <sys/sysinfo.h>
Non-linux glibc systems have the latter but not the former.

Signed-off-by: Julien Cristau <jcristau@debian.org>
2013-08-12 22:42:12 +01:00
Chris Wilson 4abc9c317b configure: Correct the spelling of XORG_TESTSET_CFLAGS
Reported-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-12 13:10:05 +01:00
Chris Wilson b3cb8b209d configure: Fix reversed check for XORG_TESTSET_CFLAG
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-12 13:05:18 +01:00
Chris Wilson 039a64e89e configure: Only use XORG_TESTSET_CFLAG if defined
Repairs the build for f16 which has an older version of xorg-macros.
Fortunately, as it doesn't define XORG_TESTSET_CFLAG it also doesn't use
it generate noisy output.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-09 09:14:42 +01:00
Chris Wilson cbf1f97d5d configure: Include the experimental features in the configuration summary
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-08 19:43:24 +01:00
Dave Airlie 6004870d53 configure.ac: fix dri enabled with kms only picked
Otherwise we'd fail saying DRI1 wasn't possible, when that
is exactly what we asked for.

[ickle: The breakage was introduced with

commit bd6ffd1ad2 [2.21.14]
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Sat Jul 27 15:33:19 2013 +0100

    configure: Print a summary of compilation options

which modified the search to only take place if UMS was enabled, but
missed mollifying the resulting error.]

Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-08-06 09:31:21 +01:00
Chris Wilson 0cd154039a 2.21.14 release 2013-08-04 10:30:14 +01:00
Chris Wilson 493763301e sna: Allow CPU access to scanouts if WT cached
On Iris, we may store the framebuffer in the eLLC/LLC and mark it as
being Write-Through cached. This means that we can treat it as being
cached for read accesses (either by the GPU or CPU), but must be careful
to still not write directly to the scanout with the CPU (only the GPU
writes are cached and coherent with the display).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-30 23:02:50 +01:00
Chris Wilson a3eea6e61e Suppress misleading warnings for -Wmaybe-uninitialized
All the curent reports by gcc are false positives. Instead we have better
static analysis tools at our disposal and valgrind.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-30 13:26:14 +01:00
Chris Wilson cf7d36455f intel: Suppress some extremely noisy warnings
Warning about redundant declarations within the xorg headers hides
genuine warnings in our own code - disable them until the headers are
cleaned up.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-29 23:49:08 +01:00
Chris Wilson bd6ffd1ad2 configure: Print a summary of compilation options
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-28 14:51:56 +01:00
Chris Wilson 04d5c33b96 uxa: Colocate architecture source files with backend implementation sources
i.e. move the toplevel uxa/*.[ch] into src/uxa/*.[ch]

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-28 14:49:07 +01:00
Chris Wilson 45d4e8dcf9 uxa: Clear up the common intel directory
Move all the UXA backend specifc files into their own subdirectory.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-28 14:49:07 +01:00
Chris Wilson bb8484da48 2.21.13 release 2013-07-28 14:08:24 +01:00
Chris Wilson a8c7834e1d configure: Supply a default value for dridriverdir
Rather than fail to load DRI2 if not found.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-22 22:03:17 +01:00
Chris Wilson 8d94f030c6 configure: Fix enabling of DRI2
After setting it to false, we then need to set DRI2 to true after we
detect the headers.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-22 22:01:22 +01:00
Chris Wilson e8cd5b5ff6 configure: Use --enable-dri to control both DRI/DRI2 enabling
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-07-22 19:42:56 +01:00
Chris Wilson e83e7e60f4 2.21.12 release 2013-07-14 09:35:07 +01:00