mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-25 10:55:58 +00:00
Add I915_EXEC_DEFAULT to list of known engines
I dropped this from the list of rings for some tests when refactoring to a common array. Almost all of the tests should be run over the default exec engine to ensure ABI backwards compatiblity. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
d130899084
commit
de70769cc0
@ -539,6 +539,7 @@ unsigned intel_detect_and_clear_missed_interrupts(int fd)
|
|||||||
}
|
}
|
||||||
|
|
||||||
const struct intel_execution_engine intel_execution_engines[] = {
|
const struct intel_execution_engine intel_execution_engines[] = {
|
||||||
|
{ "default", 0, 0 },
|
||||||
{ "render", I915_EXEC_RENDER, 0 },
|
{ "render", I915_EXEC_RENDER, 0 },
|
||||||
{ "bsd", I915_EXEC_BSD, 0 },
|
{ "bsd", I915_EXEC_BSD, 0 },
|
||||||
{ "bsd1", I915_EXEC_BSD, 1<<13 /*I915_EXEC_BSD_RING1*/ },
|
{ "bsd1", I915_EXEC_BSD, 1<<13 /*I915_EXEC_BSD_RING1*/ },
|
||||||
|
@ -233,9 +233,13 @@ igt_main
|
|||||||
igt_require(has_semaphores(fd));
|
igt_require(has_semaphores(fd));
|
||||||
}
|
}
|
||||||
|
|
||||||
for (e = intel_execution_engines; e->name; e++)
|
for (e = intel_execution_engines; e->name; e++) {
|
||||||
|
if (e->exec_id == 0) /* default exec-id is purely symbolic */
|
||||||
|
continue;
|
||||||
|
|
||||||
igt_subtest_f("%s", e->name)
|
igt_subtest_f("%s", e->name)
|
||||||
test_ring(fd, e->exec_id, e->flags);
|
test_ring(fd, e->exec_id, e->flags);
|
||||||
|
}
|
||||||
|
|
||||||
igt_fixture
|
igt_fixture
|
||||||
close(fd);
|
close(fd);
|
||||||
|
@ -212,7 +212,7 @@ igt_main
|
|||||||
for (mode = modes; mode->prefix; mode++) {
|
for (mode = modes; mode->prefix; mode++) {
|
||||||
for (e = intel_execution_engines; e->name; e++) {
|
for (e = intel_execution_engines; e->name; e++) {
|
||||||
igt_subtest_f("%s%s%s",
|
igt_subtest_f("%s%s%s",
|
||||||
e->exec_id || mode->flags ? "" : mode->prefix,
|
e->exec_id || (mode->flags & ~INTERRUPTIBLE) ? "" : mode->prefix,
|
||||||
e->name,
|
e->name,
|
||||||
mode->suffix)
|
mode->suffix)
|
||||||
run_test(fd, e->exec_id | e->flags, mode->flags);
|
run_test(fd, e->exec_id | e->flags, mode->flags);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user