summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2010-10-14 22:25:50 +0200
committerFrancisco Jerez <currojerez@riseup.net>2010-10-22 15:33:07 +0200
commitc88f13e25b0040c1dd0f93e0ac40f62a6005ce59 (patch)
treef62cdc9ebc4f75888a2edb994b21678c0e92963e
parent4642d71bdffc04ce0dd458225541940c65f5443d (diff)
Allocate a tiled scanout on pre-nv50 too.
Pageflip between tiled and non-tiled surfaces isn't such a good idea. Signed-off-by: Francisco Jerez <currojerez@riseup.net>
-rw-r--r--src/nv_driver.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c
index e891cf3..5ef7984 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -774,11 +774,11 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
"Using \"Shadow Framebuffer\" - acceleration disabled\n");
}
- if (!pNv->NoAccel && pNv->Architecture >= NV_ARCH_50) {
- if (xf86ReturnOptValBool(pNv->Options, OPTION_WFB, FALSE))
- pNv->wfb_enabled = TRUE;
- else
- pNv->wfb_enabled = FALSE; /* Default: use UTS/DFS all the time */
+ if (!pNv->NoAccel) {
+ if (pNv->Architecture >= NV_ARCH_50)
+ pNv->wfb_enabled = xf86ReturnOptValBool(
+ pNv->Options, OPTION_WFB, FALSE);
+
pNv->tiled_scanout = TRUE;
}