From 27327633138dce159ca2e91fe5eac1565bd45e1c Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Fri, 9 Nov 2012 17:08:01 +0000 Subject: [PATCH] sna/gen4: Only 965gm suffers the !snoop restriction So fixup the bogus assertion for g4x Signed-off-by: Chris Wilson --- src/sna/gen4_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c index 6d44a4a0..be974587 100644 --- a/src/sna/gen4_render.c +++ b/src/sna/gen4_render.c @@ -649,7 +649,7 @@ gen4_bind_bo(struct sna *sna, uint32_t domains; uint16_t offset; - assert(!kgem_bo_is_snoop(bo)); + assert(sna->kgem.gen != 40 || !kgem_bo_is_snoop(bo)); /* After the first bind, we manage the cache domains within the batch */ offset = kgem_bo_get_binding(bo, format);