igt/gem_evict_alignment: Fix the memory limits checking
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jun 2014 07:43:08 +0000 (08:43 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Jun 2014 08:21:55 +0000 (09:21 +0100)
commit18d2130110331e45423dff96aeec3ea802fa0857
tree95ebd7e2241725061b3d22eab1734726572b8f95
parent39329479a51768e64cf710bc14b50803446e554d
igt/gem_evict_alignment: Fix the memory limits checking

We actually allocate twice as many bo as needed to fill the aperture to
cause ENOSPC, but the entire payload has to still fit into RAM.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75138
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
tests/gem_evict_alignment.c