From 083b790515faaf134a78abc4b0a7ef0d6ea5db75 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 28 Dec 2006 13:21:25 -0800 Subject: [PATCH] Switch the default migration heuristic for EXA to "always". This has been what has been used the most successfully post-damagetrack. The current thinking is that: 1) We should be able to accelerate basically everything. So we don't need to try to migrate trees of pixmaps permanently out of framebuffer to speed CPU drawing up. 2) Migration is cheaper in the thrashing case, so we don't want to go to a lot of effort to try (and fail badly) to find a working set. --- exa/exa.c | 2 +- hw/xfree86/exa/exa.man.pre | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exa/exa.c b/exa/exa.c index e61bc69a8..e9f42df45 100644 --- a/exa/exa.c +++ b/exa/exa.c @@ -622,7 +622,7 @@ exaDriverInit (ScreenPtr pScreen, pScreen->devPrivates[exaScreenPrivateIndex].ptr = (pointer) pExaScr; - pExaScr->migration = ExaMigrationSmart; + pExaScr->migration = ExaMigrationAlways; exaDDXDriverInit(pScreen); diff --git a/hw/xfree86/exa/exa.man.pre b/hw/xfree86/exa/exa.man.pre index ea41b90e4..b0eecd5cc 100644 --- a/hw/xfree86/exa/exa.man.pre +++ b/hw/xfree86/exa/exa.man.pre @@ -35,6 +35,6 @@ Default: No. Chooses an alternate pixmap migration heuristic, for debugging purposes. The default is intended to be the best performing one for general use, though others may help with specific use cases. Available options include \*qalways\*q, -\*qgreedy\*q, and \*qsmart\*q. Default: smart. +\*qgreedy\*q, and \*qsmart\*q. Default: always. .SH AUTHORS Authors include: Keith Packard, Eric Anholt, Zack Rusin, and Michel Dänzer