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.
This commit is contained in:
Eric Anholt 2006-04-18 19:14:07 +00:00
commit b17a4de83e
4 changed files with 80 additions and 3 deletions

View file

@ -557,7 +557,7 @@ exaDriverInit (ScreenPtr pScreen,
pScreen->devPrivates[exaScreenPrivateIndex].ptr = (pointer) pExaScr;
pExaScr->migration = ExaMigrationGreedy;
pExaScr->migration = ExaMigrationSmart;
exaDDXDriverInit(pScreen);