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>
This commit is contained in:
Chris Wilson 2012-12-31 14:03:16 +00:00
parent a7988bf77f
commit 6e87e7ddfe
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}