summaryrefslogtreecommitdiff
path: root/src/vmware_bootstrap.c
AgeCommit message (Collapse)Author
2018-02-20Build fixesThomas Hellstrom
A couple of more build fixes for older X servers. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>
2018-02-15legacy: Silence a warning about an unused constantThomas Hellstrom
VMWAREBuildStr was only used in the !LIBPCIACCESS path. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Deepak Rawat <drawat@vmware.com>
2018-02-15Fix a number of compilation warningsThomas Hellstrom
There are a number of compilation warnings caused by const char pointers being either explicitly or implicitly cast to char pointers. There are a number of ABI differences that have hindered this so far, but make a new attempt using the common_compat.h defines. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Deepak Rawat <drawat@vmware.com>
2014-08-28vmware: Fix bootstrap related compile errors on earlier X serversThomas Hellstrom
Introduced by commit Add support for XSERVER_PLATFORM_BUS Note that the vmware DriverRec declaration can be cleaned up considerably using C99 designated initializers. Perhaps something for the next release... Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-05-14Add support for server managed fdsHans de Goede
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-05-14Add support for XSERVER_PLATFORM_BUSHans de Goede
This is a preparation patch for adding support for server managed fds. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2014-01-09vmware: Fix build errors and warningsThomas Hellstrom
A previous commit and the hosted merge unfortunately brought in some build errors / warnings on early X servers. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2013-12-19vmwgfx: Add an infrastructure to be able to run hosted under a compositor v2Thomas Hellstrom
Figure out what's needed both for XMir and XWayland and make a common driver structure out of it. v2: Added a lot of comments. No code change. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2013-12-05vmwgfx: Fix some compilation warnings and indentationsThomas Hellstrom
Most of the compilation warnings we're seeing are due to bad xorg headers, but fix the ones we can fix in the driver. Some indentation fixes as well. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2012-02-02vmware: Kill warnings on Xserver 1.12Thomas Hellstrom
Compile-tested on servers 1.0 through 1.12. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2012-01-12vmware: Make sure the driver builds on old serversThomas Hellstrom
Move things around a bit so the driver compiles with servers back to Xserver 1.0. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2011-12-06vmwgfx: Add an option to enable rendercheck modeThomas Hellstrom
Rendercheck mode is used to enable acceleration of all supported composite operations, regardless of the current data location. The mode is off by default, but could be turned on to test the hardware composite operation implementation. Due to excessive data migration, rendercheck mode will be slow. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-25vmware: Hook up vmwgfx to be tried before falling back to legacyThomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
2011-11-25vmwlegacy: Factor out bootstrap functionsThomas Hellstrom
Preparing for choosing driver path in preinit instead of using shim loader. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>