mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +00:00
igt: Report the global GTT size
For many tests, the relevant aperture is not the ppGTT but the internal global GTT managed by the kernel. Use this limit appropriately. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
@@ -1488,6 +1488,16 @@ igt_main
|
||||
run_modes(name, &access_modes[i], CHECK_RAM);
|
||||
}
|
||||
|
||||
igt_fixture {
|
||||
num_buffers = gem_global_aperture_size(fd) / (1024 * 1024);
|
||||
}
|
||||
|
||||
if (c->require()) {
|
||||
snprintf(name, sizeof(name), "%s%s", c->name, "global");
|
||||
for (i = 0; i < ARRAY_SIZE(access_modes); i++)
|
||||
run_modes(name, &access_modes[i], CHECK_RAM);
|
||||
}
|
||||
|
||||
igt_fixture {
|
||||
num_buffers = gem_aperture_size(fd) / (1024 * 1024);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user