summaryrefslogtreecommitdiff
path: root/hw/kdrive
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2006-04-18 19:18:43 +0000
committerEric Anholt <anholt@freebsd.org>2006-04-18 19:18:43 +0000
commitc947d796aad0b81d661a10b787deed967376da79 (patch)
treec1d9855c8c89cb8046c159ae5820f7223350413e /hw/kdrive
parentb17a4de83e7ab18bef29ae898195889638f1cc6a (diff)
Missed in previous commit: Add a new migration scheme, called "Smart" for
lack of a better name. This one behaves somewhat between Greedy and Always. It moves in if we can accelerate, unless the destination is clean and shouldn't be kept in framebuffer according to the score, in which case we migrate out (and force-migrate anything where migration is free). This should help fix lack of acceleration for drivers without UTS since removing exaAsyncPixmapGCOps, and has removed one performance trap with Radeon I'd noticed. It is the new default.
Diffstat (limited to 'hw/kdrive')
-rw-r--r--hw/kdrive/ephyr/ephyr_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/ephyr/ephyr_draw.c b/hw/kdrive/ephyr/ephyr_draw.c
index 68ffa9ef3..0d095352f 100644
--- a/hw/kdrive/ephyr/ephyr_draw.c
+++ b/hw/kdrive/ephyr/ephyr_draw.c
@@ -513,6 +513,6 @@ exaDDXDriverInit(ScreenPtr pScreen)
{
ExaScreenPriv(pScreen);
- pExaScr->migration = ExaMigrationAlways;
+ pExaScr->migration = ExaMigrationSmart;
pExaScr->hideOffscreenPixmapData = TRUE;
}