summaryrefslogtreecommitdiff
path: root/vmwgfx_fifo.c
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2010-09-24 14:17:38 +0200
committerThomas Hellstrom <thellstrom@vmware.com>2010-09-24 15:01:59 +0200
commit1fcf17b10c79733dd0977409a0c2b1e96961d08c (patch)
tree0b59007e4abefb2c963211d9ef228a27278c317a /vmwgfx_fifo.c
parente46c261a4ca1cb35a334c8f661fc73d32c5f11ac (diff)
vmwgfx: compat: Re-instate force_no_3d module parameter
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to 'vmwgfx_fifo.c')
-rw-r--r--vmwgfx_fifo.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/vmwgfx_fifo.c b/vmwgfx_fifo.c
index 5a44fa5..33b599a 100644
--- a/vmwgfx_fifo.c
+++ b/vmwgfx_fifo.c
@@ -34,6 +34,13 @@ bool vmw_fifo_have_3d(struct vmw_private *dev_priv)
__le32 __iomem *fifo_mem = dev_priv->mmio_virt;
uint32_t fifo_min, hwversion;
+#ifdef VMWGFX_STANDALONE
+ extern int force_no_3d;
+
+ if (force_no_3d)
+ return false;
+#endif
+
if (!(dev_priv->capabilities & SVGA_CAP_EXTENDED_FIFO))
return false;