[Lunar-commits] <moonbase> libdrm: enable VMware 2D/3D acceleration
Zbigniew Luszpinski
zbiggy at lunar-linux.org
Mon May 9 23:54:13 CEST 2011
commit 333d21949eecafd8599ea8f77754d9e92480e8e5
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date: Mon May 9 23:54:13 2011 +0200
libdrm: enable VMware 2D/3D acceleration
---
xorg7/extra/libdrm/BUILD | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/xorg7/extra/libdrm/BUILD b/xorg7/extra/libdrm/BUILD
index ebdd138..9094971 100644
--- a/xorg7/extra/libdrm/BUILD
+++ b/xorg7/extra/libdrm/BUILD
@@ -2,6 +2,12 @@
OPTS+=" --enable-intel --enable-radeon --enable-udev " &&
+ # Detect VMware VGA virtual 3D card and add driver for it
+ VGA=`lspci | grep 'VGA.*VMware.*SVGA.*'` &&
+ if [[ $VGA == *VMware* ]];then
+ OPTS+=" --enable-vmwgfx-experimental-api "
+ fi &&
+
default_build
) > $C_FIFO 2>&1
More information about the Lunar-commits
mailing list