summaryrefslogtreecommitdiff
path: root/vmwgfx
diff options
context:
space:
mode:
authorThomas Hellstrom <thellstrom@vmware.com>2011-10-31 14:40:55 +0100
committerThomas Hellstrom <thellstrom@vmware.com>2011-10-31 16:56:33 +0100
commitda85719e9e373ee8da53388cccc71a0f9c8bbefc (patch)
tree7ee82b584bf7d25e149b7fbccd370cfacad61106 /vmwgfx
parentb6faecc7613e8c73f0681d20a1a80e5e0ddd4058 (diff)
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>
Diffstat (limited to 'vmwgfx')
-rw-r--r--vmwgfx/vmwgfx_driver.c10
-rw-r--r--vmwgfx/vmwgfx_driver.h1
2 files changed, 0 insertions, 11 deletions
diff --git a/vmwgfx/vmwgfx_driver.c b/vmwgfx/vmwgfx_driver.c
index c1938a5..7c8c9fb 100644
--- a/vmwgfx/vmwgfx_driver.c
+++ b/vmwgfx/vmwgfx_driver.c
@@ -105,18 +105,12 @@ typedef enum
{
OPTION_SW_CURSOR,
OPTION_2D_ACCEL,
- OPTION_DEBUG_FALLBACK,
- OPTION_THROTTLE_SWAP,
- OPTION_THROTTLE_DIRTY,
OPTION_3D_ACCEL
} drv_option_enums;
static const OptionInfoRec drv_options[] = {
{OPTION_SW_CURSOR, "SWcursor", OPTV_BOOLEAN, {0}, FALSE},
{OPTION_2D_ACCEL, "2DAccel", OPTV_BOOLEAN, {0}, FALSE},
- {OPTION_DEBUG_FALLBACK, "DebugFallback", OPTV_BOOLEAN, {0}, FALSE},
- {OPTION_THROTTLE_SWAP, "SwapThrottling", OPTV_BOOLEAN, {0}, FALSE},
- {OPTION_THROTTLE_DIRTY, "DirtyThrottling", OPTV_BOOLEAN, {0}, FALSE},
{OPTION_3D_ACCEL, "3DAccel", OPTV_BOOLEAN, {0}, FALSE},
{-1, NULL, OPTV_NONE, {0}, FALSE}
};
@@ -869,8 +863,6 @@ drv_screen_init(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
xf86SetBlackWhitePixels(pScreen);
ms->accelerate_2d = xf86ReturnOptValBool(ms->Options, OPTION_2D_ACCEL, FALSE);
- ms->debug_fallback = xf86ReturnOptValBool(ms->Options, OPTION_DEBUG_FALLBACK, ms->accelerate_2d);
-
vmw_ctrl_ext_init(pScrn);
ms->xat = xa_tracker_create(ms->fd);
@@ -930,8 +922,6 @@ drv_screen_init(int scrnIndex, ScreenPtr pScreen, int argc, char **argv)
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Using libkms backend.\n");
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "2D Acceleration is %s.\n",
ms->accelerate_2d ? "enabled" : "disabled");
- xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Fallback debugging is %s.\n",
- ms->debug_fallback ? "enabled" : "disabled");
#ifdef DRI2
xf86DrvMsg(pScrn->scrnIndex, ms->from_3D, "3D Acceleration is disabled.\n");
#else
diff --git a/vmwgfx/vmwgfx_driver.h b/vmwgfx/vmwgfx_driver.h
index da07a73..bb52d09 100644
--- a/vmwgfx/vmwgfx_driver.h
+++ b/vmwgfx/vmwgfx_driver.h
@@ -87,7 +87,6 @@ typedef struct _modesettingRec
/* Accel */
Bool accelerate_2d;
- Bool debug_fallback;
Bool noAccel;
Bool SWCursor;