diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-28 08:53:32 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-06-28 08:55:48 +0100 |
commit | e33fbd6d7ff2a9efcc14974a05b5e1eb01bbce34 (patch) | |
tree | 753f74f1e5b4a32484588de38658221057477ef9 /src/sna/sna_render.c | |
parent | 48b5ac11a0737f65de2e6290308bd37017cc29a9 (diff) |
sna/blt: Refine op placement logic for handling current source location
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_render.c')
-rw-r--r-- | src/sna/sna_render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_render.c b/src/sna/sna_render.c index f27d1d8d..db159fd3 100644 --- a/src/sna/sna_render.c +++ b/src/sna/sna_render.c @@ -332,7 +332,7 @@ use_cpu_bo(struct sna *sna, PixmapPtr pixmap, const BoxRec *box, bool blt) return NULL; } - if (priv->cpu_bo->snoop && priv->source_count > SOURCE_BIAS) { + if (!blt && priv->cpu_bo->snoop && priv->source_count > SOURCE_BIAS) { DBG(("%s: promoting snooped CPU bo due to reuse\n", __FUNCTION__)); return NULL; |