igt/gem_evict_everything: Move assertion
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 3 Jun 2014 06:31:49 +0000 (07:31 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 3 Jun 2014 06:35:54 +0000 (07:35 +0100)
commita384e55b49dce17eff1945536f957546bc7902cf
tree9c4efa06e13712237049bf2c2378b9a92ed416b1
parent21fb118f3b3f16f9cdc6cadf68204e745f0a8a68
igt/gem_evict_everything: Move assertion

If we move the assertion from out of the callback, we can get a much
more useful error message.

References: https://bugs.freedesktop.org/show_bug.cgi?id=79573
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/eviction_common.c
tests/gem_evict_everything.c
tests/gem_userptr_blits.c