sna: Remove option to disable vmap

It works everywhere, so when it is finally enabled, let it be.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-06-08 22:44:23 +01:00
parent 18baa1428b
commit ea0209fbc1
3 changed files with 0 additions and 10 deletions

View File

@ -20,7 +20,6 @@ const OptionInfoRec intel_options[] = {
#endif
#ifdef USE_SNA
{OPTION_THROTTLE, "Throttle", OPTV_BOOLEAN, {0}, 1},
{OPTION_VMAP, "UseVmap", OPTV_BOOLEAN, {0}, 1},
{OPTION_ZAPHOD, "ZaphodHeads", OPTV_STRING, {0}, 0},
{OPTION_DELAYED_FLUSH, "DelayedFlush", OPTV_BOOLEAN, {0}, 1},
#endif

View File

@ -26,7 +26,6 @@ enum intel_options {
#endif
#ifdef USE_SNA
OPTION_THROTTLE,
OPTION_VMAP,
OPTION_ZAPHOD,
OPTION_DELAYED_FLUSH,
#endif

View File

@ -501,14 +501,6 @@ static Bool sna_pre_init(ScrnInfoPtr scrn, int flags)
"Disabling use of relaxed fencing\n");
sna->kgem.has_relaxed_fencing = 0;
}
if (!xf86ReturnOptValBool(sna->Options,
OPTION_VMAP,
sna->kgem.has_vmap)) {
xf86DrvMsg(scrn->scrnIndex,
sna->kgem.has_vmap ? X_CONFIG : X_PROBED,
"Disabling use of vmap\n");
sna->kgem.has_vmap = 0;
}
/* Enable tiling by default */
sna->tiling = SNA_TILING_ALL;