* [igt-dev] [PATCH i-g-t 2/3] tests/kms_vblank: convert test to dynamic
2023-09-18 7:54 [igt-dev] [PATCH i-g-t 0/3] tests/kms_vblank: Test cleanup and dynamic conversion Swati Sharma
2023-09-18 7:54 ` [igt-dev] [PATCH i-g-t 1/3] tests/kms_vblank: cosmetic changes Swati Sharma
@ 2023-09-18 7:54 ` Swati Sharma
2023-09-18 7:54 ` [igt-dev] [PATCH i-g-t 3/3] tests/kms_vblank: update testplan doc Swati Sharma
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Swati Sharma @ 2023-09-18 7:54 UTC (permalink / raw)
To: igt-dev
Convert existing subtests to dynamic subtests at pipe/output level.
v2: -Remove redundant debug prints
-Convert all subtests into dynamic
v3: -Use pipe & output from struct data_t
v4: -Directly use data->pipe instead of using p
-Use for_each_pipe_with_single_output()
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
tests/kms_vblank.c | 172 ++++++++++++++++++---------------------------
1 file changed, 69 insertions(+), 103 deletions(-)
diff --git a/tests/kms_vblank.c b/tests/kms_vblank.c
index bcfd8d012..507421382 100644
--- a/tests/kms_vblank.c
+++ b/tests/kms_vblank.c
@@ -270,10 +270,6 @@ static void run_test(data_t *data, void (*testfunc)(data_t *, int, int))
if (data->flags & RPM)
igt_require(igt_setup_runtime_pm(fd));
- igt_info("Beginning %s on pipe %s, connector %s\n",
- igt_subtest_name(), kmstest_pipe_name(data->pipe),
- igt_output_name(output));
-
if (!(data->flags & NOHANG)) {
ahnd = is_i915_device(fd) ?
get_reloc_ahnd(fd, 0) :
@@ -314,9 +310,6 @@ static void run_test(data_t *data, void (*testfunc)(data_t *, int, int))
if (!(data->flags & NOHANG))
igt_post_hang_ring(fd, hang);
- igt_info("\n%s on pipe %s, connector %s: PASSED\n\n",
- igt_subtest_name(), kmstest_pipe_name(data->pipe), igt_output_name(output));
-
put_ahnd(ahnd);
/* cleanup what prepare_crtc() has done */
@@ -342,63 +335,50 @@ pipe_output_combo_valid(igt_display_t *display,
static void crtc_id_subtest(data_t *data, int fd)
{
igt_display_t *display = &data->display;
- igt_output_t *output;
- enum pipe p;
-
- for_each_pipe_with_valid_output(display, p, output) {
- struct drm_event_vblank buf;
- const uint32_t pipe_id_flag = kmstest_get_vbl_flag(p);
- unsigned crtc_id, expected_crtc_id;
- uint64_t val;
- union drm_wait_vblank vbl;
+ enum pipe p = data->pipe;
+ igt_output_t *output = data->output;
+ struct drm_event_vblank buf;
+ const uint32_t pipe_id_flag = kmstest_get_vbl_flag(p);
+ unsigned crtc_id, expected_crtc_id;
+ uint64_t val;
+ union drm_wait_vblank vbl;
- igt_display_reset(display);
+ crtc_id = display->pipes[p].crtc_id;
+ if (drmGetCap(display->drm_fd, DRM_CAP_CRTC_IN_VBLANK_EVENT, &val) == 0)
+ expected_crtc_id = crtc_id;
+ else
+ expected_crtc_id = 0;
- igt_output_set_pipe(output, p);
- if (!i915_pipe_output_combo_valid(display))
- continue;
+ prepare_crtc(data, fd, output);
- igt_info("Using (pipe %s + %s) to run the subtest.\n",
- kmstest_pipe_name(p), igt_output_name(output));
+ memset(&vbl, 0, sizeof(vbl));
+ vbl.request.type = DRM_VBLANK_RELATIVE | DRM_VBLANK_EVENT;
+ vbl.request.type |= pipe_id_flag;
+ vbl.request.sequence = 1;
+ igt_assert_eq(wait_vblank(fd, &vbl), 0);
- crtc_id = display->pipes[p].crtc_id;
- if (drmGetCap(display->drm_fd, DRM_CAP_CRTC_IN_VBLANK_EVENT, &val) == 0)
- expected_crtc_id = crtc_id;
- else
- expected_crtc_id = 0;
+ igt_assert_eq(read(fd, &buf, sizeof(buf)), sizeof(buf));
+ igt_assert_eq(buf.crtc_id, expected_crtc_id);
- data->pipe = p;
- prepare_crtc(data, fd, output);
+ do_or_die(drmModePageFlip(fd, crtc_id,
+ data->primary_fb.fb_id,
+ DRM_MODE_PAGE_FLIP_EVENT, NULL));
- memset(&vbl, 0, sizeof(vbl));
- vbl.request.type = DRM_VBLANK_RELATIVE | DRM_VBLANK_EVENT;
- vbl.request.type |= pipe_id_flag;
- vbl.request.sequence = 1;
- igt_assert_eq(wait_vblank(fd, &vbl), 0);
+ igt_assert_eq(read(fd, &buf, sizeof(buf)), sizeof(buf));
+ igt_assert_eq(buf.crtc_id, expected_crtc_id);
- igt_assert_eq(read(fd, &buf, sizeof(buf)), sizeof(buf));
- igt_assert_eq(buf.crtc_id, expected_crtc_id);
+ if (display->is_atomic) {
+ igt_plane_t *primary = igt_output_get_plane(output, 0);
- do_or_die(drmModePageFlip(fd, crtc_id,
- data->primary_fb.fb_id,
- DRM_MODE_PAGE_FLIP_EVENT, NULL));
+ igt_plane_set_fb(primary, &data->primary_fb);
+ igt_display_commit_atomic(display, DRM_MODE_PAGE_FLIP_EVENT, NULL);
igt_assert_eq(read(fd, &buf, sizeof(buf)), sizeof(buf));
igt_assert_eq(buf.crtc_id, expected_crtc_id);
-
- if (display->is_atomic) {
- igt_plane_t *primary = igt_output_get_plane(output, 0);
-
- igt_plane_set_fb(primary, &data->primary_fb);
- igt_display_commit_atomic(display, DRM_MODE_PAGE_FLIP_EVENT, NULL);
-
- igt_assert_eq(read(fd, &buf, sizeof(buf)), sizeof(buf));
- igt_assert_eq(buf.crtc_id, expected_crtc_id);
- }
-
- cleanup_crtc(data, fd, output);
- return;
}
+
+ cleanup_crtc(data, fd, output);
+ return;
}
static void accuracy(data_t *data, int fd, int nchildren)
@@ -576,7 +556,7 @@ static void vblank_ts_cont(data_t *data, int fd, int nchildren)
estimated_vblanks, seq2, seq1 + estimated_vblanks);
}
-static void run_subtests_for_pipe(data_t *data)
+static void run_subtests(data_t *data)
{
const struct {
const char *name;
@@ -610,30 +590,22 @@ static void run_subtests_for_pipe(data_t *data)
{ }
}, *m;
- igt_fixture
- igt_display_require_output_on_pipe(&data->display, data->pipe);
-
for (f = funcs; f->name; f++) {
for (m = modes; m->name; m++) {
if (m->flags & ~(f->valid | NOHANG))
continue;
igt_describe("Check if test run while hanging by introducing NOHANG flag.");
- igt_subtest_f("pipe-%s-%s-%s",
- kmstest_pipe_name(data->pipe),
- f->name, m->name) {
- int found = 0;
-
- for_each_valid_output_on_pipe(&data->display, data->pipe, data->output) {
- if (!pipe_output_combo_valid(&data->display, data->pipe, data->output))
+ igt_subtest_with_dynamic_f("%s-%s", f->name, m->name) {
+ for_each_pipe_with_single_output(&data->display, data->pipe, data->output) {
+ if (!pipe_output_combo_valid(&data->display, data->output, data->pipe))
continue;
- data->flags = m->flags | NOHANG;
- run_test(data, f->func);
-
- found++;
+ igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(data->pipe), data->output->name) {
+ data->flags = m->flags | NOHANG;
+ run_test(data, f->func);
+ }
}
- igt_require_f(found, "No valid pipe/output combo found.\n");
}
/* Skip the -hang version if NOHANG flag is set */
@@ -641,24 +613,20 @@ static void run_subtests_for_pipe(data_t *data)
continue;
igt_describe("Check if injected hang is working properly.");
- igt_subtest_f("pipe-%s-%s-%s-hang",
- kmstest_pipe_name(data->pipe),
- f->name, m->name) {
+ igt_subtest_with_dynamic_f("%s-%s-hang", f->name, m->name) {
igt_hang_t hang;
- int found = 0;
hang = igt_allow_hang(data->display.drm_fd, 0, 0);
- for_each_valid_output_on_pipe(&data->display, data->pipe, data->output) {
- if (!pipe_output_combo_valid(&data->display, data->pipe, data->output))
+ for_each_pipe_with_single_output(&data->display, data->pipe, data->output) {
+ if (!pipe_output_combo_valid(&data->display, data->output, data->pipe))
continue;
- data->flags = m->flags;
- run_test(data, f->func);
-
- found++;
+ igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(data->pipe), data->output->name) {
+ data->flags = m->flags;
+ run_test(data, f->func);
+ }
}
igt_disallow_hang(data->display.drm_fd, hang);
- igt_require_f(found, "No valid pipe/output combo found.\n");
}
}
}
@@ -668,23 +636,7 @@ static void invalid_subtest(data_t *data, int fd)
{
union drm_wait_vblank vbl;
unsigned long valid_flags;
- igt_display_t* display = &data->display;
- enum pipe pipe = 0;
- igt_output_t *output;
-
- igt_display_reset(display);
-
- output = igt_get_single_output_for_pipe(display, pipe);
- igt_require(output);
-
- data->pipe = pipe;
- data->output = output;
-
- igt_output_set_pipe(output, pipe);
- igt_require(i915_pipe_output_combo_valid(display));
-
- igt_info("Using (pipe %s + %s) to run the subtest.\n",
- kmstest_pipe_name(pipe), igt_output_name(output));
+ igt_output_t *output = data->output;
prepare_crtc(data, fd, output);
@@ -738,18 +690,32 @@ igt_main
}
igt_describe("Negative test for vblank request.");
- igt_subtest("invalid")
- invalid_subtest(&data, fd);
+ igt_subtest_with_dynamic("invalid") {
+ for_each_pipe_with_single_output(&data.display, data.pipe, data.output) {
+ if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
+ continue;
+
+ igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(data.pipe), data.output->name)
+ invalid_subtest(&data, fd);
+ break;
+ }
+ }
igt_describe("Check the vblank and flip events works with given crtc id.");
- igt_subtest("crtc-id")
- crtc_id_subtest(&data, fd);
+ igt_subtest_with_dynamic("crtc-id") {
+ for_each_pipe_with_single_output(&data.display, data.pipe, data.output) {
+ if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
+ continue;
+
+ igt_dynamic_f("pipe-%s-%s", kmstest_pipe_name(data.pipe), data.output->name)
+ crtc_id_subtest(&data, fd);
+ }
+ }
- for_each_pipe_static(data.pipe)
- igt_subtest_group
- run_subtests_for_pipe(&data);
+ run_subtests(&data);
igt_fixture {
+ igt_display_fini(&data.display);
drm_close_driver(fd);
}
}
--
2.25.1
^ permalink raw reply related [flat|nested] 8+ messages in thread* [igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_vblank: Test cleanup and dynamic conversion
2023-09-18 7:54 [igt-dev] [PATCH i-g-t 0/3] tests/kms_vblank: Test cleanup and dynamic conversion Swati Sharma
` (3 preceding siblings ...)
2023-09-18 11:50 ` [igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_vblank: Test cleanup and dynamic conversion Patchwork
@ 2023-09-18 11:51 ` Patchwork
4 siblings, 0 replies; 8+ messages in thread
From: Patchwork @ 2023-09-18 11:51 UTC (permalink / raw)
To: Swati Sharma; +Cc: igt-dev
== Series Details ==
Series: tests/kms_vblank: Test cleanup and dynamic conversion
URL : https://patchwork.freedesktop.org/series/123847/
State : warning
== Summary ==
Pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/988509 for the overview.
build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/49131355):
~~~~~~~~~~~~~~^~~~~~
../tests/kms_vblank.c:652:52: error: incompatible type for argument 2 of ‘pipe_output_combo_valid’
if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
~~~~^~~~~~~
../tests/kms_vblank.c:266:14: note: expected ‘enum pipe’ but argument is of type ‘igt_output_t *’ {aka ‘struct <anonymous> *’}
enum pipe pipe, igt_output_t *output)
~~~~~~~~~~^~~~
../tests/kms_vblank.c:652:65: error: incompatible type for argument 3 of ‘pipe_output_combo_valid’
if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
~~~~^~~~~
../tests/kms_vblank.c:266:34: note: expected ‘igt_output_t *’ {aka ‘struct <anonymous> *’} but argument is of type ‘enum pipe’
enum pipe pipe, igt_output_t *output)
~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: subcommand failed.
section_end:1695037838:step_script
section_start:1695037838:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1695037839:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/49131358):
~~~~~~~~~~~~~~^~~~~~
../tests/kms_vblank.c:652:52: error: incompatible type for argument 2 of ‘pipe_output_combo_valid’
if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
~~~~^~~~~~~
../tests/kms_vblank.c:266:14: note: expected ‘enum pipe’ but argument is of type ‘igt_output_t *’ {aka ‘struct <anonymous> *’}
enum pipe pipe, igt_output_t *output)
~~~~~~~~~~^~~~
../tests/kms_vblank.c:652:65: error: incompatible type for argument 3 of ‘pipe_output_combo_valid’
if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
~~~~^~~~~
../tests/kms_vblank.c:266:34: note: expected ‘igt_output_t *’ {aka ‘struct <anonymous> *’} but argument is of type ‘enum pipe’
enum pipe pipe, igt_output_t *output)
~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: subcommand failed.
section_end:1695037867:step_script
section_start:1695037867:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1695037868:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-armhf has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/49131357):
~~~~~~~~~~~~~~^~~~~~
../tests/kms_vblank.c:652:52: error: incompatible type for argument 2 of ‘pipe_output_combo_valid’
if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
~~~~^~~~~~~
../tests/kms_vblank.c:266:14: note: expected ‘enum pipe’ but argument is of type ‘igt_output_t *’ {aka ‘struct <anonymous> *’}
enum pipe pipe, igt_output_t *output)
~~~~~~~~~~^~~~
../tests/kms_vblank.c:652:65: error: incompatible type for argument 3 of ‘pipe_output_combo_valid’
if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
~~~~^~~~~
../tests/kms_vblank.c:266:34: note: expected ‘igt_output_t *’ {aka ‘struct <anonymous> *’} but argument is of type ‘enum pipe’
enum pipe pipe, igt_output_t *output)
~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: subcommand failed.
section_end:1695037849:step_script
section_start:1695037849:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1695037849:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-meson-mips has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/49131359):
~~~~~~~~~~~~~~^~~~~~
../tests/kms_vblank.c:652:52: error: incompatible type for argument 2 of ‘pipe_output_combo_valid’
if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
~~~~^~~~~~~
../tests/kms_vblank.c:266:14: note: expected ‘enum pipe’ but argument is of type ‘igt_output_t *’ {aka ‘struct <anonymous> *’}
enum pipe pipe, igt_output_t *output)
~~~~~~~~~~^~~~
../tests/kms_vblank.c:652:65: error: incompatible type for argument 3 of ‘pipe_output_combo_valid’
if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
~~~~^~~~~
../tests/kms_vblank.c:266:34: note: expected ‘igt_output_t *’ {aka ‘struct <anonymous> *’} but argument is of type ‘enum pipe’
enum pipe pipe, igt_output_t *output)
~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: subcommand failed.
section_end:1695037855:step_script
section_start:1695037855:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1695037856:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-debian-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/49131356):
[549/554] Compiling C object 'lib/76b5a35@@i915_perf@sha/meson-generated_.._i915_perf_metrics_acmgt3.c.o'.
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/102] Generating version.h with a custom command.
[2/7] Linking target lib/libi915_perf.so.1.5.
[3/7] Generating symbol file 'lib/76b5a35@@i915_perf@sha/libi915_perf.so.1.5.symbols'.
[4/7] Linking target tools/i915-perf/i915-perf-configs.
[5/7] Linking target tools/i915-perf/i915-perf-recorder.
[6/7] Linking target tools/i915-perf/i915-perf-reader.
[7/7] Generating kms_tests.rst with a custom command.
FAILED: docs/testplan/kms_tests.rst
/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py --config /builds/gfx-ci/igt-ci-tags/tests/intel/kms_test_config.json --rest docs/testplan/kms_tests.rst
/builds/gfx-ci/igt-ci-tags/tests/intel/../kms_vblank.c:subtest igt@kms_vblank@pipe-%s-ts-continuation-modeset-rpm needs 1 arguments but only 0 are defined.
ninja: build stopped: subcommand failed.
section_end:1695037830:step_script
section_start:1695037830:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1695037831:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/49131350):
| |
| igt_output_t * {aka struct <anonymous> *}
../tests/kms_vblank.c:266:14: note: expected ‘enum pipe’ but argument is of type ‘igt_output_t *’ {aka ‘struct <anonymous> *’}
266 | enum pipe pipe, igt_output_t *output)
| ~~~~~~~~~~^~~~
../tests/kms_vblank.c:652:65: error: incompatible type for argument 3 of ‘pipe_output_combo_valid’
652 | if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
| ~~~~^~~~~
| |
| enum pipe
../tests/kms_vblank.c:266:34: note: expected ‘igt_output_t *’ {aka ‘struct <anonymous> *’} but argument is of type ‘enum pipe’
266 | enum pipe pipe, igt_output_t *output)
| ~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: subcommand failed.
section_end:1695037838:step_script
section_start:1695037838:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1695037839:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-clang has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/49131354):
[1640/1643] Generating kms_tests.rst with a custom command.
FAILED: docs/testplan/kms_tests.rst
/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py --config /builds/gfx-ci/igt-ci-tags/tests/intel/kms_test_config.json --rest docs/testplan/kms_tests.rst --check-testlist --igt-build-path /builds/gfx-ci/igt-ci-tags/build
/builds/gfx-ci/igt-ci-tags/tests/intel/../kms_vblank.c:subtest igt@kms_vblank@pipe-%s-ts-continuation-modeset-rpm needs 1 arguments but only 0 are defined.
[1641/1643] Generating i915_tests.rst with a custom command.
ninja: build stopped: subcommand failed.
ninja: Entering directory `build'
[1/726] Generating version.h with a custom command.
[2/4] Generating i915_tests.html with a custom command.
[3/4] Generating kms_tests.rst with a custom command.
FAILED: docs/testplan/kms_tests.rst
/builds/gfx-ci/igt-ci-tags/scripts/igt_doc.py --config /builds/gfx-ci/igt-ci-tags/tests/intel/kms_test_config.json --rest docs/testplan/kms_tests.rst --check-testlist --igt-build-path /builds/gfx-ci/igt-ci-tags/build
/builds/gfx-ci/igt-ci-tags/tests/intel/../kms_vblank.c:subtest igt@kms_vblank@pipe-%s-ts-continuation-modeset-rpm needs 1 arguments but only 0 are defined.
ninja: build stopped: subcommand failed.
section_end:1695037875:step_script
section_start:1695037875:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1695037875:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-no-libdrm-nouveau has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/49131353):
| |
| igt_output_t * {aka struct <anonymous> *}
../tests/kms_vblank.c:266:14: note: expected ‘enum pipe’ but argument is of type ‘igt_output_t *’ {aka ‘struct <anonymous> *’}
266 | enum pipe pipe, igt_output_t *output)
| ~~~~~~~~~~^~~~
../tests/kms_vblank.c:652:65: error: incompatible type for argument 3 of ‘pipe_output_combo_valid’
652 | if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
| ~~~~^~~~~
| |
| enum pipe
../tests/kms_vblank.c:266:34: note: expected ‘igt_output_t *’ {aka ‘struct <anonymous> *’} but argument is of type ‘enum pipe’
266 | enum pipe pipe, igt_output_t *output)
| ~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: subcommand failed.
section_end:1695037840:step_script
section_start:1695037840:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1695037840:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-no-libunwind has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/49131351):
| |
| igt_output_t * {aka struct <anonymous> *}
../tests/kms_vblank.c:266:14: note: expected ‘enum pipe’ but argument is of type ‘igt_output_t *’ {aka ‘struct <anonymous> *’}
266 | enum pipe pipe, igt_output_t *output)
| ~~~~~~~~~~^~~~
../tests/kms_vblank.c:652:65: error: incompatible type for argument 3 of ‘pipe_output_combo_valid’
652 | if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
| ~~~~^~~~~
| |
| enum pipe
../tests/kms_vblank.c:266:34: note: expected ‘igt_output_t *’ {aka ‘struct <anonymous> *’} but argument is of type ‘enum pipe’
266 | enum pipe pipe, igt_output_t *output)
| ~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: subcommand failed.
section_end:1695037841:step_script
section_start:1695037841:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1695037842:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora-oldest-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/49131352):
| |
| igt_output_t * {aka struct <anonymous> *}
../tests/kms_vblank.c:266:14: note: expected ‘enum pipe’ but argument is of type ‘igt_output_t *’ {aka ‘struct <anonymous> *’}
266 | enum pipe pipe, igt_output_t *output)
| ~~~~~~~~~~^~~~
../tests/kms_vblank.c:652:65: error: incompatible type for argument 3 of ‘pipe_output_combo_valid’
652 | if (!pipe_output_combo_valid(&data.display, data.output, data.pipe))
| ~~~~^~~~~
| |
| enum pipe
../tests/kms_vblank.c:266:34: note: expected ‘igt_output_t *’ {aka ‘struct <anonymous> *’} but argument is of type ‘enum pipe’
266 | enum pipe pipe, igt_output_t *output)
| ~~~~~~~~~~~~~~^~~~~~
ninja: build stopped: subcommand failed.
section_end:1695037840:step_script
section_start:1695037840:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1695037841:cleanup_file_variables
ERROR: Job failed: exit code 1
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/988509
^ permalink raw reply [flat|nested] 8+ messages in thread