Thomas Hellstrom [Tue, 8 Nov 2011 13:49:36 +0000 (14:49 +0100)]
vmwgfx: A number of damage fixes
A damage tracker was sometimes attached to a pixmap in the middle of an
operation. That meant that damage was never registered for that operation
which caused dirty-tracking to fail. Instead, add a damage tracker as
soon as we have storage attached to the pixmap.
Also, when a pixmap was resized, the dirty region trackers could become
stale, and cause DMA operation extending outside of the pixmap with
server crashes as a result. This commit fixes that.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Tue, 1 Nov 2011 14:39:07 +0000 (15:39 +0100)]
vmwgfx: Add an option to use a scanout surface
With this option enabled, we compose all contents (both sw and hw) in
the guest before presenting it. Just like the old xorg state tracker did
when 3D was enabled. It's not as bad as the old xorg state tracker was for
interactivity, but there's a small but noticeable lag when moving windows.
It's mainly intended for testing purposes, like testing the surface
dirty paths in the kernel module.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Tue, 1 Nov 2011 08:59:18 +0000 (09:59 +0100)]
vmwgfx: Be correct when setting up damage tracking
When setting up damage tracking, previously the code would guess wether
sw or hw was currently dirty. The caller always have that information,
so pass it to the damage tracking setup function.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Tue, 1 Nov 2011 07:38:52 +0000 (08:38 +0100)]
vmwgfx: Add an option for direct presents
With this option set to true, accelerated copies to a scanout pixmap will
be performed as hardware presents instead of copies to an intermediate
3D surface backing the scanout pixmap, followed by a present.
Depending on the application this might be a performance boost, but since
it might trigger device software readbacks in other situations, for example
dri2 copy front->fake_front, it might be a performance hog in other situations,
so disable it by default. (Before this commit it was enabled by default).
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Mon, 31 Oct 2011 14:14:21 +0000 (15:14 +0100)]
vmwgfx: Fix acceleration options.
Introduce relevant acceleration options and fix up the log printout.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Alan Hourihane <alanh@vmware.com>
Thomas Hellstrom [Mon, 31 Oct 2011 13:40:55 +0000 (14:40 +0100)]
vmwgfx: Remove a couple of unused options
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Reviewed-by: Alan Hourihane <alanh@vmware.com>
Thomas Hellstrom [Mon, 31 Oct 2011 13:27:29 +0000 (14:27 +0100)]
vmwgfx: Don't do present readbacks per crtc
The kernel now takes care of doing this the right way;
no need to duplicate that functionality.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Mon, 31 Oct 2011 09:50:09 +0000 (10:50 +0100)]
vmwgfx: Fall back to sw cursors if needed
If there is a risc that we need two simultaneous cursors,
(two outputs showing the same contents, at least one of them explicit),
fall back to sw cursor.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Wed, 26 Oct 2011 14:33:30 +0000 (16:33 +0200)]
vmwgfx: Fix crtc position of transformed fb
The fb allocated for transformed data always matches the scanout region,
so set the crtc origin to (0,0)
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Wed, 26 Oct 2011 13:08:18 +0000 (15:08 +0200)]
vmwgfx: Hook up vmwarectrl to the gui layout ioctl
Requires drm 2.3.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Wed, 26 Oct 2011 05:28:31 +0000 (07:28 +0200)]
vmwgfx: Update the connector type name array
Also map connector types that are not in the array to "Unknown".
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Fri, 21 Oct 2011 09:19:36 +0000 (11:19 +0200)]
vmwgfx: Save the dri2 requested depth since it may differ from the drawable
depth.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Thu, 1 Sep 2011 11:59:10 +0000 (13:59 +0200)]
vmwgfx: Adapt to vmwgfx kernel driver 2.1
This introduces fence objects with 2.0, and present / present readback
ioctls with 2.1.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Tue, 30 Aug 2011 10:22:53 +0000 (12:22 +0200)]
vmwgfx-xorg: Avoid enabling unwanted outputs in initial configuration
Add a hack so that we avoid enabling all connected outputs during the
initial configuration. On older X servers they would be enabled as cloned,
which didn't really cause any problem, but on later X servers they would
initially be enabled next to eachother which looks odd.
A RandR call will still show the disabled outputs as connected, and if there
is a monitor section in the config file for the output in question,
it will also have a connected status, so that it may be explicitly enabled
or disabled from a config file.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Jakob Bornecrantz [Wed, 13 Jul 2011 15:30:01 +0000 (16:30 +0100)]
vmwgfx: Just include vmwgfx_drm.h
We do this in mesa as well
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Jakob Bornecrantz [Wed, 13 Jul 2011 15:28:52 +0000 (16:28 +0100)]
saa: Remove superflouos headers includes
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Jakob Bornecrantz [Mon, 11 Jul 2011 11:23:32 +0000 (12:23 +0100)]
vmwgfx: Fix logic when checking for XA
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Thomas Hellstrom [Sat, 9 Jul 2011 20:54:41 +0000 (22:54 +0200)]
vmwgfx: Don't dirty the front buffer as hw when doing a dri2copyregion from it
When copying from a dri2 buffer we usually dirty it as hw, since dri has
been rendering to it, and there can only be hw contents in the buffer.
However for the real front, X has already done the dirty work for us.
Also remove a glxWaitX() debug message.
This should fix piglit read-front.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Thu, 7 Jul 2011 20:02:15 +0000 (22:02 +0200)]
vmwgfx: Add boolean flags for different rendering modes
Basically we support three ways of getting data to the screen:
1) Mixed mode: We mix presents and updates.
2) Mixed present optimized: A version of mixed where copies to the front
buffer end up as presents, saving a blit.
3) 3D surface mode: We only present from a 3D surface. Software contents are
first DMA'd to that surface.
This change adds boolean flags to the saa struct to select which mode to use.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Thu, 7 Jul 2011 07:21:56 +0000 (09:21 +0200)]
vmwgfx: Various acceleration fixes.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Fri, 1 Jul 2011 11:23:30 +0000 (13:23 +0200)]
vmwgfx: Require libxatracker >= 0.4.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Fri, 1 Jul 2011 10:29:50 +0000 (12:29 +0200)]
vmwgfx: Set up XA version checking.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Fri, 1 Jul 2011 09:28:52 +0000 (11:28 +0200)]
vmwgfx: Try to sort out format handling with composite.
Try to catch all cases where we have to do readbacks or format conversions
due to composite formats not being compatible with ordinary accel formats.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Wed, 22 Jun 2011 20:26:20 +0000 (22:26 +0200)]
vmwgfx: Support xa composite.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Wed, 22 Jun 2011 09:33:14 +0000 (11:33 +0200)]
saa: Add driver composite.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Wed, 22 Jun 2011 08:50:35 +0000 (10:50 +0200)]
saa: Reuse code for computing composite bounds.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Mon, 20 Jun 2011 22:13:32 +0000 (00:13 +0200)]
vmwgfx: Try to match created hardware formats with the dri state tracker.
Thomas Hellstrom [Mon, 20 Jun 2011 19:57:38 +0000 (21:57 +0200)]
vmwgfx: Fix dirty present bug
Clear dirty present areas when new contents are drawn to the backing
pixmap. Not when it is actually pushed to the screen.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Mon, 20 Jun 2011 19:48:23 +0000 (21:48 +0200)]
vmwgfx: Don't call xa_copy_done after a present.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Mon, 20 Jun 2011 12:13:46 +0000 (14:13 +0200)]
vmwgfx: Make present readbacks not cross scanout bounding box boundaries
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Mon, 20 Jun 2011 07:58:44 +0000 (09:58 +0200)]
vmwgfx: Make a list of scanout bounding boxes available to each scanout pixmap
This info is needed for present readback.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Mon, 20 Jun 2011 07:05:48 +0000 (09:05 +0200)]
vmwgfx: Import the WSBM list macros
Use WSBM list handling macros for the glxWaitX flush list.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Fri, 17 Jun 2011 09:25:53 +0000 (11:25 +0200)]
vmwgfx: Check for large files
Fixes segfault on 32-bit servers.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Fri, 17 Jun 2011 06:18:13 +0000 (08:18 +0200)]
vmwgfx, saa: Build saa as a convenience library
instead of as a shared object.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Thu, 16 Jun 2011 19:21:25 +0000 (21:21 +0200)]
vmwgfx: Fix up driver build process for Xserver >= 1.7.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Thu, 16 Jun 2011 13:55:07 +0000 (15:55 +0200)]
vmwgfx, saa: Initial import
This imports the vmwgfx driver, based on the Gallium3D Xorg state tracker,
as well as the saa library. A "Shadow Acceleration Architecture", which is
optimized for the case where transfers between system (shadow) and hw memory
is very costly.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Wed, 30 Mar 2011 10:37:24 +0000 (12:37 +0200)]
vmwlegacy: Don't prune modes based on the virtual size of the default mode
We might be pruning modes based on the virtual size of the default mode in
some situations. Avoid this by allowing a virtual size equal to the device
max size, unless the user has requested something else.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Alan Hourihane <alanh@vmware.com>
Thomas Hellstrom [Wed, 30 Mar 2011 10:22:43 +0000 (12:22 +0200)]
vmwlegacy: Fix up default mode VRefresh anc Clock calculation
The VRefresh value was a factor 1000 too high.
Calculate clock based on vrefresh and resolution.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Alan Hourihane <alanh@vmware.com>
Thomas Hellstrom [Wed, 30 Mar 2011 09:01:06 +0000 (11:01 +0200)]
vmwlegacy: Fix a bug in screen dimension calculation
This bug resulted in incorrect screen dimensions and DPI being calculated
in some circumstances, leading to among other things bad aspect ratios in xine.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Tue, 29 Mar 2011 11:03:39 +0000 (13:03 +0200)]
vmwlegacy: Make sure we draw the colorkey to the right drawable
Don't draw the colorkey to the screen drawable, but to the video drawable
when possible.
Also change the Xv API/ABI test to use the builtin ABI version
functions.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Michel Dänzer <daenzer@vmware.com>
Thomas Hellstrom [Tue, 29 Mar 2011 09:18:24 +0000 (11:18 +0200)]
vmwlegacy: Silence a number of warnings
This potentially also fixes a use of an uninitialized pointer value, which
may cause OOM or segfaults.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Michel Dänzer <daenzer@vmware.com>
Thomas Hellstrom [Fri, 25 Mar 2011 18:17:00 +0000 (19:17 +0100)]
vmwlegacy: Fix segfault and setup of initial mode.
The fact that modes were added without names caused segfaults on older
X servers. At least up to and including Xserver 1.4.
Also, for some reason, at least Xserver 1.4 insists on setting the first mode
in the modelist, even if we set another mode as the current one.
Work around this by inserting a new mode with the current screen dimensions,
and add that modename last to the array of display requested mode names.
This means that if none of the previous mode names are found, we will at least
find the newly inserted mode.
Also, if there are no requested mode names at all, the driver previously
chose the largest mode that fit the timings. Now we will, in that case,
always select the newly inserted mode and thus not change resolution unless
specified.
Also add an option to not add this default mode. The option
"AddDefaultMode" is true by default.
Finally when we restore registers at exit and VT switch, make sure we
reprogram the initial width, height and bpp for the next time we start a
server.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Thu, 3 Mar 2011 08:47:48 +0000 (09:47 +0100)]
Remove unused variable
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Alan Hourihane [Wed, 16 Feb 2011 17:53:14 +0000 (18:53 +0100)]
vmwlegacy: Fix mode lookup
In situations where we have trouble finding a specified mode,
use the resolution given by the width and height device registers.
Signed-off-by: Alan Hourihane <alanh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Wed, 16 Feb 2011 17:47:02 +0000 (18:47 +0100)]
vmwlegacy: Add a missing include
The test for Xserver >= 1.2 in the affected file was always failing.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Michel Dänzer <daenzer@vmware.com>
Thomas Hellstrom [Wed, 16 Feb 2011 16:29:47 +0000 (17:29 +0100)]
vmwlegacy: Don't attempt to call RRSendConfigNotify on Xservers < 1.2
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Alan Hourihane <alanh@vmware.com>
Reviewed-by: Michel Dänzer <daenzer@vmware.com>
Michel Dänzer [Thu, 27 Jan 2011 10:09:39 +0000 (11:09 +0100)]
vmwlegacy: Send ConfigureNotify events on Xinerama state changes with no mode change
Signed-off-by: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Thu, 27 Jan 2011 10:02:44 +0000 (11:02 +0100)]
Fix crosscompile build for older Xservers v2
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Fri, 21 Jan 2011 22:07:10 +0000 (23:07 +0100)]
Revert "Fix crosscompile build for older Xservers"
This reverts commit
16e16390385d890b3666485a40369f4c690d5033.
The fix was bogus as pointed out by Cyril Bruleboid <kibi@debian.org>, and
Gaetan Nadon <memsize@videotron.ca>
Thomas Hellstrom [Thu, 13 Jan 2011 12:17:17 +0000 (13:17 +0100)]
Fix crosscompile build for older Xservers
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Thu, 13 Jan 2011 11:52:14 +0000 (12:52 +0100)]
vmwlegacy: Remove Write-Combining setups
The virtual CPUs doesn't support it anyway.
Once suggested by Michel Daenzer.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Tue, 9 Nov 2010 13:31:30 +0000 (14:31 +0100)]
Bump package version to 11.0.3 for release
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Jesse Adkins [Tue, 28 Sep 2010 20:29:52 +0000 (13:29 -0700)]
Purge cvs tags.
Signed-off-by: Jesse Adkins <jesserayadkins@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Thomas Hellstrom [Thu, 16 Sep 2010 08:08:12 +0000 (10:08 +0200)]
Make the modinfo string contain an optional subpatch number
The idea is that the build system assigns this number if needed.
As an example it might be the commit number since the last version tag.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Thu, 16 Sep 2010 07:58:07 +0000 (09:58 +0200)]
Make sure we build on 1.4.99.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Wed, 8 Sep 2010 07:57:35 +0000 (09:57 +0200)]
vmwlegacy: Fix a segfault in vmwareCursorCloseScreen.
The segfault occured because the named function was using resources that
were already taken down, because VMWARECloseScreen was called very late
in the CloseScreen callchain.
Make sure we wrap the CloseScreen pointers late in ScreenInit to avoid this.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Tue, 7 Sep 2010 19:55:28 +0000 (21:55 +0200)]
vmwlegacy: A number of Xv fixes
Properly init and uninit the port private clipboxes on setup and end.
Clear the port private clipboxes on video stop, to force re-painting
of the colorkey when the stream is resumed.
Make sure the colorkey is painted *before* the overlay is flushed. Some
host implementations seem picky about this.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Tue, 7 Sep 2010 10:17:46 +0000 (12:17 +0200)]
vmware/vmwlegacy: Silence compilation errors and -warnings.
Silence warnings and errors on various server versions due to incorrect
usage of libc functions.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Fri, 3 Sep 2010 09:19:01 +0000 (11:19 +0200)]
vmwlegacy: Always scale screen dimensions to the initial DPI on modeswitch.
When we switch mode we usually alter the size in a constant DPI environment
rather than keeping the size constant and alter the DPI.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Wed, 1 Sep 2010 05:58:18 +0000 (07:58 +0200)]
vmware: Handle chain-loader failures gracefully.
If the vmwlegacy driver wasn't present when expected, that would
leave the X server in a confused state. Thus report loading errors properly
back to the X server.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Gaetan Nadon [Wed, 18 Aug 2010 14:57:02 +0000 (10:57 -0400)]
vmwarectrl: rework standalone package as a subdir of driver
vmwarectrl is a unit test client tool for developers.
By default, it is not built unless --enable-vmwarectrl-client is used.
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Thomas Hellstrom [Wed, 18 Aug 2010 09:34:49 +0000 (11:34 +0200)]
Make the driver build and run without libdrm.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Thomas Hellstrom [Thu, 12 Aug 2010 15:43:59 +0000 (17:43 +0200)]
Only set the first xinerama output as primary.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Adam Jackson [Tue, 10 Aug 2010 15:02:05 +0000 (11:02 -0400)]
xf86-video-vmware 11.0.2
Signed-off-by: Adam Jackson <ajax@redhat.com>
Gaetan Nadon [Sat, 24 Jul 2010 01:02:33 +0000 (21:02 -0400)]
config: add AM_PROG_CC_C_O for per-target compilation flags
The use of per-target compilation flags with C sources requires
that the macro AM_PROG_CC_C_O be called from configure.ac
If the C compiler does not accept the -c and -o options simultaneously,
define NO_MINUS_C_MINUS_O. This macro actually tests both the compiler
found by AC_PROG_CC, and, if different, the first cc in the path.
The test fails if one fails. This macro was created for GNU Make
to choose the default C compilation rule.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Wed, 21 Jul 2010 20:49:04 +0000 (16:49 -0400)]
config: add comments for main statements
Gaetan Nadon [Wed, 21 Jul 2010 20:07:00 +0000 (16:07 -0400)]
config: replace deprecated use of AC_OUTPUT with AC_CONFIG_FILES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Wed, 21 Jul 2010 18:37:42 +0000 (14:37 -0400)]
config: replace deprecated AC_HELP_STRING with AS_HELP_STRING
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Wed, 21 Jul 2010 18:05:23 +0000 (14:05 -0400)]
config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERS
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Wed, 21 Jul 2010 13:27:42 +0000 (09:27 -0400)]
config: complete AC_INIT m4 quoting
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Wed, 21 Jul 2010 01:44:58 +0000 (21:44 -0400)]
config: remove unrequired AC_SUBST([XORG_CFLAGS])
This macro is called by PKG_CHECK_MODULES
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Wed, 21 Jul 2010 00:24:42 +0000 (20:24 -0400)]
config: remove unrequired AC_HEADER_STDC
Autoconf says:
"This macro is obsolescent, as current systems have conforming
header files. New programs need not use this macro".
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Tue, 20 Jul 2010 23:41:31 +0000 (19:41 -0400)]
config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
AC_PROG_C_C99. This sets gcc with -std=gnu99.
If AC_PROG_CC macro is called afterwards, it resets CC to gcc.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Tue, 20 Jul 2010 22:45:19 +0000 (18:45 -0400)]
config: update AC_PREREQ statement to 2.60
Unrelated to the previous patches, the new value simply reflects
the reality that the minimum level for autoconf to configure
all x.org modules is 2.60 dated June 2006.
ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Gaetan Nadon [Tue, 20 Jul 2010 20:15:30 +0000 (16:15 -0400)]
config: upgrade to util-macros 1.8 for additional man page support
Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS
The value of MAN_SUBST is the same for all X.Org packages.
Julien Cristau [Tue, 13 Jul 2010 10:57:15 +0000 (11:57 +0100)]
Don't crash the server on Xorg -configure
Fernando Carrijo [Thu, 1 Jul 2010 10:18:11 +0000 (07:18 -0300)]
Purge macros NEED_EVENTS and NEED_REPLIES
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
Acked-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Gaetan Nadon [Sun, 13 Jun 2010 17:10:55 +0000 (13:10 -0400)]
COPYING: replace stub file with actual Copyright notices.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Michel Dänzer [Mon, 29 Mar 2010 08:19:04 +0000 (10:19 +0200)]
Fix some issues pointed out by compiler warnings.
* vmware_chain_module() doesn't return any values.
* Remove an unused local variable.
Jakob Bornecrantz [Thu, 18 Mar 2010 14:30:36 +0000 (15:30 +0100)]
Bump for 11.0.1 release.
Jakob Bornecrantz [Tue, 9 Mar 2010 08:37:11 +0000 (08:37 +0000)]
Rework chainloader code to check for vmwgfx userspace driver as well
Roland Scheidegger [Tue, 9 Mar 2010 15:10:25 +0000 (16:10 +0100)]
fix a cursor refcounting bug, leading to segfaults
this is similar to what xf86_use_hw_cursor() does, which is replaced by
vmwareUseHWCursor (otherwise, the refcount could reach zero and hence the
cursor deallocated while xf86CursorEnableDisableFBAccess() could still bring
it back to life from the saved cursor).
It is probably insane to do refcounting here, but this needs a xserver fix,
and even if that's fixed this fix here shouldn't hurt (though would be
unnecessary).
Roland Scheidegger [Tue, 9 Mar 2010 15:03:59 +0000 (16:03 +0100)]
make DEBUG_LOGGING compile
Jakob Bornecrantz [Sun, 7 Mar 2010 15:02:39 +0000 (15:02 +0000)]
Print text about none fatal error message with Fatal in it
Jakob Bornecrantz [Fri, 26 Feb 2010 15:27:17 +0000 (16:27 +0100)]
Don't hardcode the module version in the source
As pointed out by Julien Cristau XORG_RELEASE_VERSION
gives us that info from configure.ac.
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Jakob Bornecrantz [Thu, 18 Feb 2010 13:11:32 +0000 (14:11 +0100)]
Bump major for new chainloading driver
Jakob Bornecrantz [Mon, 22 Feb 2010 12:20:06 +0000 (13:20 +0100)]
Link to drm but on for the vmware chainloader driver
Jakob Bornecrantz [Thu, 18 Feb 2010 14:20:31 +0000 (15:20 +0100)]
Make sure that modinfo strings are unique
Jakob Bornecrantz [Thu, 11 Feb 2010 22:18:37 +0000 (23:18 +0100)]
Add modinfo for vmware_drv.so
Jakob Bornecrantz [Thu, 11 Feb 2010 21:04:53 +0000 (22:04 +0100)]
Add a chain loading module to load new vmwgfx driver if kernel module is loaded
Alan Coopersmith [Fri, 15 Jan 2010 22:13:42 +0000 (14:13 -0800)]
Update Sun license notices to current X.Org standard form
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Gaetan Nadon [Wed, 16 Dec 2009 03:01:02 +0000 (22:01 -0500)]
configure.ac: remove unused sdkdir=$(pkg-config...) statement
The sdkdir variable isn't use, so remove the statement.
Acked-by: Dan Nicholson <dbn.lists@gmail.com>
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Michel Dänzer [Tue, 29 Dec 2009 16:53:35 +0000 (17:53 +0100)]
Bump for 10.16.9 release.
Michel Dänzer [Tue, 29 Dec 2009 16:00:45 +0000 (17:00 +0100)]
VMWAREComposite: Only hide cursor if source picture is backed by drawable.
Should fix https://bugs.freedesktop.org/show_bug.cgi?id=14208 .
Michel Dänzer [Tue, 29 Dec 2009 15:41:16 +0000 (16:41 +0100)]
vmware: Fix crash with xserver >= 1.7.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=24541 .
Gaetan Nadon [Mon, 23 Nov 2009 14:25:06 +0000 (09:25 -0500)]
Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES
Now that the INSTALL file is generated.
Allows running make maintainer-clean.
Gaetan Nadon [Wed, 28 Oct 2009 18:41:41 +0000 (14:41 -0400)]
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Automake 'foreign' option is specified in configure.ac.
Remove from Makefile.am
Gaetan Nadon [Wed, 28 Oct 2009 18:09:10 +0000 (14:09 -0400)]
INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206
Add missing INSTALL file. Use standard GNU file on building tarball
README may have been updated
Remove AUTHORS file as it is empty and no content available yet.
Remove NEWS file as it is empty and no content available yet.
Gaetan Nadon [Mon, 26 Oct 2009 16:54:23 +0000 (12:54 -0400)]
Several driver modules do not have a ChangeLog target in Makefile.am #23814
The git generated ChangeLog replaces the hand written one.
Update configure.ac to xorg-macros level 1.3.
Use XORG_DEFAULT_OPTIONS which replaces four XORG_* macros
Update Makefile.am to add ChangeLog target if missing
Remove ChangeLog from EXTRA_DIST or *CLEAN variables
This is a pre-req for the INSTALL_CMD
Gaetan Nadon [Thu, 22 Oct 2009 17:06:19 +0000 (13:06 -0400)]
.gitignore: use common defaults with custom section # 24239
Using common defaults will reduce errors and maintenance.
Only the very small or inexistent custom section need periodic maintenance
when the structure of the component changes. Do not edit defaults.