summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-12-31 14:03:16 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2012-12-31 15:55:28 +0000
commit6e87e7ddfe0c21e0fb6b3c2cb940a40aa7d4e061 (patch)
tree3f2f6b5b2a845e318e0fd2122d06878b5aaaabc4
parenta7988bf77f5a106a48b6e39b6eaf60ef2f8bec11 (diff)
sna/dri: Use the default choice of backend for copying the region
Notably, if everything is idle, using the BLT is a win as we can emit them so much faster than a rendercopy, and as the target is uncached we do not benefit as much from the rendercache. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r--src/sna/sna_dri.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sna/sna_dri.c b/src/sna/sna_dri.c
index 9886f371..503e53b0 100644
--- a/src/sna/sna_dri.c
+++ b/src/sna/sna_dri.c
@@ -522,8 +522,7 @@ static void sna_dri_select_mode(struct sna *sna, struct kgem_bo *dst, struct kge
}
if (sna->kgem.has_semaphores) {
- DBG(("%s: have sempahores, prefering RENDER\n", __FUNCTION__));
- kgem_set_mode(&sna->kgem, KGEM_RENDER, dst);
+ DBG(("%s: have sempahores, prefering defaults\n", __FUNCTION__));
return;
}