sna/dri2: Use existing busy state if semaphores are disabled

Undo d16ac1f30b (sna/dri2: Prefer to use normal selection criteria for
CopyRegion on small GT) to keep on the current ring as the external bo
if semaphores are disabled.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2015-01-26 21:30:44 +00:00
parent 64e9c79017
commit d2b7d78064
1 changed files with 1 additions and 1 deletions

View File

@ -841,7 +841,7 @@ static void sna_dri2_select_mode(struct sna *sna, struct kgem_bo *dst, struct kg
return;
}
if (sna->render_state.gt < 2) {
if (sna->render_state.gt < 2 && sna->kgem.has_semaphores) {
DBG(("%s: small GT [%d], not forcing selection\n",
__FUNCTION__, sna->render_state.gt));
return;