summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-08 00:13:03 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-08 00:13:03 +0100
commitbed64c998df538046d77eeea90598f48077dab5f (patch)
tree2aaa119a177cdee623a1fd5542b2714ffe0b4e04
parent2ac3776be85d857a57ce7b742e52cd6091d2befb (diff)
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>
-rw-r--r--src/sna/sna_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sna/sna_io.c b/src/sna/sna_io.c
index 367bfded..69d920c7 100644
--- a/src/sna/sna_io.c
+++ b/src/sna/sna_io.c
@@ -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);