mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-11 16:32:58 +00:00
gem_storedw_loop: Skip test if device doesn't have requested ring
The VEBOX ring is not available in generations before Haswell, so make tests that use it skip instead of fail in previous gens. Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
committed by
Thomas Wood
parent
d3d56bf2af
commit
4c63f54de9
@@ -166,11 +166,15 @@ igt_main
|
||||
}
|
||||
|
||||
for (i = 0; i < ARRAY_SIZE(rings); i++) {
|
||||
igt_subtest_f("basic-%s", rings[i].name)
|
||||
igt_subtest_f("basic-%s", rings[i].name) {
|
||||
gem_require_ring(fd, rings[i].id);
|
||||
store_test(rings[i].id, 16*1024);
|
||||
}
|
||||
|
||||
igt_subtest_f("long-%s", rings[i].name)
|
||||
igt_subtest_f("long-%s", rings[i].name) {
|
||||
gem_require_ring(fd, rings[i].id);
|
||||
store_test(rings[i].id, 1024*1024);
|
||||
}
|
||||
}
|
||||
|
||||
close(fd);
|
||||
|
||||
Reference in New Issue
Block a user