gem_tiled_swapping: Limit to available memory
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 3 Apr 2014 08:43:58 +0000 (09:43 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 3 Apr 2014 08:45:55 +0000 (09:45 +0100)
commite8869c4bc439de941be399d156323620a2d6ecda
treeb69153bb370b5af960c0296b4c1ed0aa1a6d920f
parentb8afe98004ed0e082bf5d019a86f27a5909f0e4d
gem_tiled_swapping: Limit to available memory

If there is not enough free RAM+swap for us to execute our test, we will
hit OOM, so check first.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
lib/igt_aux.h
lib/intel_os.c
tests/gem_tiled_swapping.c