mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-21 13:23:02 +00:00
test/gem_concurrent_blt
Limit working set size also with available ram. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=72255 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -366,6 +366,10 @@ igt_main
|
||||
max = gem_aperture_size (fd) / (1024 * 1024) / 2;
|
||||
if (num_buffers > max)
|
||||
num_buffers = max;
|
||||
|
||||
max = intel_get_total_ram_mb() * 3 / 4;
|
||||
if (num_buffers > max)
|
||||
num_buffers = max;
|
||||
}
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(access_modes); i++)
|
||||
|
||||
Reference in New Issue
Block a user