diff options
author | Tim Gore <tim.gore@intel.com> | 2015-03-24 14:16:04 +0000 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-03-25 14:41:52 +0100 |
commit | 9ba93c43cfb19c5a82a1d6f20f2d3140c8ca80bf (patch) | |
tree | 54f16577d2f28b08180dd54023dbc350232297e2 /tools/intel_error_decode.c | |
parent | 4d2577e0ddbec1f0be919b113a3eccb0afb53886 (diff) |
tests/gem_tiled_fence_blits: split into subtests
The gem_tiled_fence_blits test tends to get oom killed
on low memory (< 4GB) Android systems. This is because the
test tries to allocate (sysinfo.totalram * 9 / 10) in
buffer objects and the remaining 10% of memory is not
always enough for the Android system.
As with a similar issue with gem_render_linear_blits,
this problem is resolved by splitting into subtests.
A "basic" subtest uses minimal memory buffers to test
the basic operation, and a "normal" subtest which is
skipped if there is insufficient memory.
I also took the opportunity to cull some numeric literals.
Signed-off-by: Tim Gore <tim.gore@intel.com>
Diffstat (limited to 'tools/intel_error_decode.c')
0 files changed, 0 insertions, 0 deletions