From 853d729598fddce3f1814cd7fc5e1020147b3f34 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 5 Jun 2011 17:45:28 +0100 Subject: [PATCH] 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 --- tests/gen3_mixed_blits.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.7.4