sna: Fix check_reloc_and_exec typo

Garbage xorg includes hiding genuine compiler warnings ftl once again.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-10-08 00:13:03 +01:00
parent 2ac3776be8
commit bed64c998d
1 changed files with 2 additions and 2 deletions

View File

@ -379,7 +379,7 @@ fallback:
}
kgem_set_mode(kgem, KGEM_BLT);
if (!kgem_check_exec_and_reloc(kgem, 2) ||
if (!kgem_check_reloc_and_exec(kgem, 2) ||
!kgem_check_batch(kgem, 8) ||
!kgem_check_many_bo_fenced(kgem, dst_bo, src_bo, NULL)) {
_kgem_submit(kgem);
@ -1172,7 +1172,7 @@ tile:
}
kgem_set_mode(kgem, KGEM_BLT);
if (!kgem_check_exec_and_reloc(kgem, 2) ||
if (!kgem_check_reloc_and_exec(kgem, 2) ||
!kgem_check_batch(kgem, 8) ||
!kgem_check_bo_fenced(kgem, dst_bo)) {
_kgem_submit(kgem);