diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-20 15:33:26 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-20 16:06:13 +0100 |
commit | 01ebdb4d7a8bb751167153554f9122d996e4ea91 (patch) | |
tree | e8aad71fc2ff239996452845be90d6f553b13969 /src/sna/gen2_render.c | |
parent | 410316d20299b9ed3447d1d897f904af786ed097 (diff) |
sna: Remove confusing is_cpu()
The only real user now has its own heuristics, so convert the remaining
users over to !is_gpu().
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen2_render.c')
-rw-r--r-- | src/sna/gen2_render.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sna/gen2_render.c b/src/sna/gen2_render.c index 31859b45..fea1791d 100644 --- a/src/sna/gen2_render.c +++ b/src/sna/gen2_render.c @@ -1479,7 +1479,8 @@ try_blt(struct sna *sna, src->pDrawable->width, src->pDrawable->height)); return true; } - return is_cpu(src->pDrawable); + + return !is_gpu(src->pDrawable); } static bool |