sna/dri: Don't force ring selection if we have semaphores
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
fb7b584ec9
commit
4bad76b451
|
|
@ -461,6 +461,12 @@ static void sna_dri_select_mode(struct sna *sna, struct kgem_bo *src, bool sync)
|
|||
return;
|
||||
}
|
||||
|
||||
if (sna->kgem.has_semaphores) {
|
||||
DBG(("%s: have sempahores, prefering RENDER\n", __FUNCTION__));
|
||||
kgem_set_mode(&sna->kgem, KGEM_RENDER);
|
||||
return;
|
||||
}
|
||||
|
||||
VG_CLEAR(busy);
|
||||
busy.handle = src->handle;
|
||||
if (drmIoctl(sna->kgem.fd, DRM_IOCTL_I915_GEM_BUSY, &busy))
|
||||
|
|
|
|||
Loading…
Reference in New Issue