From 6e87e7ddfe0c21e0fb6b3c2cb940a40aa7d4e061 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 31 Dec 2012 14:03:16 +0000 Subject: [PATCH] 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 --- src/sna/sna_dri.c | 3 +-- 1 file changed, 1 insertion(+), 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; }