From: Chris Wilson Date: Sun, 5 Jun 2011 16:45:28 +0000 (+0100) Subject: test/gen3_mixed_blits: Acutally use fences for BLT X-Git-Tag: 1.1~168 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=853d729598fddce3f1814cd7fc5e1020147b3f34;p=profile%2Fextras%2Fintel-gpu-tools.git test/gen3_mixed_blits: Acutally use fences for BLT Gah, in my excitement of reproducing the failure reported by gem_stress, I missed using fenced relocs for the BLT. Fortunately, it doesn't affect the presence of the error. Signed-off-by: Chris Wilson --- diff --git a/tests/gen3_mixed_blits.c b/tests/gen3_mixed_blits.c index 1370c48..f180098 100644 --- a/tests/gen3_mixed_blits.c +++ b/tests/gen3_mixed_blits.c @@ -393,7 +393,7 @@ static void blt_copy(int fd, uint32_t dst, uint32_t src) obj[0].relocs_ptr = 0; obj[0].alignment = 0; obj[0].offset = 0; - obj[0].flags = 0; + obj[0].flags = EXEC_OBJECT_NEEDS_FENCE; obj[0].rsvd1 = 0; obj[0].rsvd2 = 0; @@ -402,7 +402,7 @@ static void blt_copy(int fd, uint32_t dst, uint32_t src) obj[1].relocs_ptr = 0; obj[1].alignment = 0; obj[1].offset = 0; - obj[1].flags = 0; + obj[1].flags = EXEC_OBJECT_NEEDS_FENCE; obj[1].rsvd1 = 0; obj[1].rsvd2 = 0;