mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-12 02:16:17 +00:00
tests/gem_tiled_pread_pwrite: Allow the kernel to reap the GTT address space
Otherwise we can not run this test on 32-bit systems. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
b1ee03c540
commit
de9621b4f5
@ -149,6 +149,8 @@ main(int argc, char **argv)
|
||||
munmap(data, sizeof(linear));
|
||||
|
||||
/* Leak both bos so that we use all of system mem! */
|
||||
gem_madvise(fd, handle_target, I915_MADV_DONTNEED);
|
||||
gem_madvise(fd, handle, I915_MADV_DONTNEED);
|
||||
|
||||
drmtest_progress("gem_tiled_pread_pwrite: ", i, count/2);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user