diff options
Diffstat (limited to 'tests/gem_render_linear_blits.c')
-rw-r--r-- | tests/gem_render_linear_blits.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/gem_render_linear_blits.c b/tests/gem_render_linear_blits.c index 13f76a56..acc3bd5a 100644 --- a/tests/gem_render_linear_blits.c +++ b/tests/gem_render_linear_blits.c @@ -197,12 +197,22 @@ igt_main /* the rest of the tests are too long for simulation */ igt_skip_on_simulation(); - igt_subtest("apperture-thrash") { + igt_subtest("aperture-thrash") { count = 3 * gem_aperture_size(fd) / SIZE / 2; intel_require_memory(count, SIZE, CHECK_RAM); run_test(fd, count); } + igt_subtest("aperture-shrink") { + igt_fork_shrink_helper(); + + count = 3 * gem_aperture_size(fd) / SIZE / 2; + intel_require_memory(count, SIZE, CHECK_RAM); + run_test(fd, count); + + igt_stop_shrink_helper(); + } + igt_subtest("swap-thrash") { uint64_t swap_mb = intel_get_total_swap_mb(); igt_require(swap_mb > 0); |