summaryrefslogtreecommitdiff
path: root/tests/gem_render_tiled_blits.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_render_tiled_blits.c')
-rw-r--r--tests/gem_render_tiled_blits.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/gem_render_tiled_blits.c b/tests/gem_render_tiled_blits.c
index 9f0e5884..aebbcb96 100644
--- a/tests/gem_render_tiled_blits.c
+++ b/tests/gem_render_tiled_blits.c
@@ -210,12 +210,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);