mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
tests: improve pipe enumeration
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
parent
0f3a5809e7
commit
efddb93680
@ -119,7 +119,7 @@ igt_simple_main
|
||||
|
||||
igt_display_init(&data.display, data.drm_fd);
|
||||
|
||||
for (pipe = 0; pipe < 3; pipe++) {
|
||||
for_each_pipe(&data.display, pipe) {
|
||||
for_each_connected_output(&data.display, output) {
|
||||
if (test(&data, pipe, output))
|
||||
valid_tests++;
|
||||
|
@ -399,7 +399,7 @@ igt_main
|
||||
igt_display_init(&data.display, data.drm_fd);
|
||||
}
|
||||
|
||||
for (int pipe = 0; pipe < 3; pipe++)
|
||||
for (int pipe = 0; pipe < I915_MAX_PIPES; pipe++)
|
||||
run_tests_for_pipe(&data, pipe);
|
||||
|
||||
igt_fixture {
|
||||
|
@ -569,7 +569,7 @@ igt_main
|
||||
igt_require(data.display.has_universal_planes);
|
||||
}
|
||||
|
||||
for (int pipe = 0; pipe < 3; pipe++)
|
||||
for (int pipe = 0; pipe < I915_MAX_PIPES; pipe++)
|
||||
run_tests_for_pipe(&data, pipe);
|
||||
|
||||
igt_fixture {
|
||||
|
Loading…
x
Reference in New Issue
Block a user