sna/gen4: Only 965gm suffers the !snoop restriction

So fixup the bogus assertion for g4x

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-11-09 17:08:01 +00:00
parent 8d3b5ea135
commit 2732763313
1 changed files with 1 additions and 1 deletions

View File

@ -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);