* [igt-dev] [PATCH i-g-t v3] tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane
@ 2023-10-25 5:31 Nidhi Gupta
2023-10-25 7:06 ` [igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane (rev3) Patchwork
2023-10-25 7:09 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
0 siblings, 2 replies; 3+ messages in thread
From: Nidhi Gupta @ 2023-10-25 5:31 UTC (permalink / raw)
To: igt-dev; +Cc: Nidhi Gupta
Added a new subtest to validate FBC on each plane, this new subtest
will first disable the fbc feature on all pipes and planes and then
enable it on all plane one by one and confirm.
v2: Modify tests to disable primary and enable other plane
to check fbc is enabled or not. <Bhanu>
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/intel/kms_frontbuffer_tracking.c | 96 ++++++++++++++++++++++++++
1 file changed, 96 insertions(+)
diff --git a/tests/intel/kms_frontbuffer_tracking.c b/tests/intel/kms_frontbuffer_tracking.c
index f90d09f9f..a6ae587c1 100644
--- a/tests/intel/kms_frontbuffer_tracking.c
+++ b/tests/intel/kms_frontbuffer_tracking.c
@@ -224,6 +224,8 @@ struct fb_region {
int h;
};
+struct igt_fb default_fb;
+
struct draw_pattern_info {
bool frames_stack;
int n_rects;
@@ -888,6 +890,14 @@ static bool fbc_mode_too_large(void)
return strstr(buf, "FBC disabled: mode too large for compression\n");
}
+static bool fbc_enable_per_plane(void)
+{
+ char buf[128];
+
+ debugfs_read_crtc("i915_fbc_status", buf);
+ return strstr(buf, "*");
+}
+
static bool drrs_wait_until_rr_switch_to_low(void)
{
return igt_wait(is_drrs_low(), 5000, 1);
@@ -1691,6 +1701,32 @@ static void set_region_for_test(const struct test_mode *t,
do_assertions(ASSERT_NO_ACTION_CHANGE);
}
+static void set_plane_for_test_fbc(const struct test_mode *t, igt_plane_t *plane)
+{
+ //create_fb
+ struct igt_fb fb;
+ uint32_t color;
+
+ igt_create_fb(drm.fd, prim_mode_params.mode.hdisplay, prim_mode_params.mode.vdisplay,
+ t->format, DRM_FORMAT_MOD_LINEAR, &fb);
+ //fill_fb_region
+ color = pick_color(&fb, COLOR_PRIM_BG);
+
+ igt_draw_rect_fb(drm.fd, drm.bops, 0, &fb, IGT_DRAW_BLT,
+ 0, 0, fb.width, fb.height,
+ color);
+ set_mode_for_params(&prim_mode_params);
+ igt_plane_set_fb(plane, &fb);
+ igt_plane_set_position(plane, 0, 0);
+ igt_plane_set_size(plane, prim_mode_params.mode.hdisplay, prim_mode_params.mode.vdisplay);
+ igt_fb_set_size(&fb, plane, prim_mode_params.mode.hdisplay, prim_mode_params.mode.vdisplay);
+
+
+ igt_display_commit(&drm.display);
+ igt_require(!fbc_enable_per_plane());
+ do_assertions(ASSERT_NO_ACTION_CHANGE);
+}
+
static bool enable_features_for_test(const struct test_mode *t)
{
bool ret = false;
@@ -1940,6 +1976,41 @@ static void rte_subtest(const struct test_mode *t)
set_region_for_test(t, &scnd_mode_params.sprite);
}
}
+/**
+ * SUBTEST: fbcpsrdrrs-%dp-rte
+ * Description: Sanity test to enable FBC, PSR & DRRS with %arg[1] panels.
+ * Driver requirement: i915, xe
+ * Functionality: fbc, fbt, drrs, psr
+ * Mega feature: General Display Features
+ * Test category: functionality test
+ *
+ * arg[1].values: 1, 2
+ */
+/*
+ * rte - the basic sanity test
+ *
+ * METHOD
+ * Just disable all screens, assert everything is disabled, then enable all
+ * screens - including primary, cursor and sprite planes - and assert that
+ * the tested feature is enabled.
+ *
+ * EXPECTED RESULTS
+ * Blue screens and t->feature enabled.
+ *
+ * FAILURES
+ * A failure here means that every other subtest will probably fail too. It
+ * probably means that the Kernel is just not enabling the feature we want.
+ */
+static void plane_fbc_rte_subtest(const struct test_mode *t)
+{
+ do_assertions(ASSERT_FBC_DISABLED);
+
+ if (plane->index == 0)
+ enable_prim_screen_and_wait(t);
+ if (plane->index > 0 && plane->index <= 2)
+ set_plane_for_test_fbc(t, plane);
+
+}
static void update_wanted_crc(const struct test_mode *t, igt_crc_t *crc)
{
@@ -4910,6 +4981,7 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
{
struct test_mode t;
int devid;
+ igt_plane_t *plane;
igt_fixture {
setup_environment();
@@ -4936,6 +5008,30 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
}
}
+ igt_subtest_with_dynamic("plane-fbc-rte") {
+
+ int n_planes = 0;
+ t.pipes = PIPE_SINGLE;
+ t.feature = FEATURE_FBC;
+ t.screen = SCREEN_PRIM;
+ t.fbs = FBS_INDIVIDUAL;
+ t.format = FORMAT_DEFAULT;
+ /* Make sure nothing is using these values. */
+ t.flip = -1;
+ t.method = -1;
+ t.tiling = opt.tiling;
+
+ for_each_plane_on_pipe(&drm.display, prim_mode_params.pipe, plane)
+ n_planes++;
+ if (n_planes == 3)
+ break;
+ igt_dynamic_f("plane-fbc-%u-rte", plane->index) {
+ prepare_subtest_data(t, NULL);
+ unset_all_crtcs();
+ plane_fbc_rte_subtest(&t);
+ }
+ }
+
TEST_MODE_ITER_BEGIN(t)
igt_subtest_f("%s-%s-%s-%s-%s-draw-%s",
--
2.39.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane (rev3)
2023-10-25 5:31 [igt-dev] [PATCH i-g-t v3] tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane Nidhi Gupta
@ 2023-10-25 7:06 ` Patchwork
2023-10-25 7:09 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2023-10-25 7:06 UTC (permalink / raw)
To: Nidhi Gupta; +Cc: igt-dev
== Series Details ==
Series: tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane (rev3)
URL : https://patchwork.freedesktop.org/series/123724/
State : failure
== Summary ==
IGT patchset build failed on latest successful build
03ded26cd2697ce3b4d7ceb0d7d2706460f87ca1 tests/intel/xe_copy_basic: Fix validating the mem set values.
Tail of build.log:
[584/1645] Compiling C object 'lib/76b5a35@@igt-igt_kms_c@sta/igt_kms.c.o'.
[585/1645] Compiling C object 'tests/59830eb@@kms_psr_stress_test@exe/intel_kms_psr_stress_test.c.o'.
[586/1645] Compiling C object 'tests/59830eb@@kms_ccs@exe/intel_kms_ccs.c.o'.
[587/1645] Compiling C object 'tests/59830eb@@xe_create@exe/intel_xe_create.c.o'.
[588/1645] Compiling C object 'tests/59830eb@@xe_dma_buf_sync@exe/intel_xe_dma_buf_sync.c.o'.
[589/1645] Compiling C object 'lib/76b5a35@@igt-igt_fb_c@sta/igt_fb.c.o'.
[590/1645] Compiling C object 'tests/59830eb@@xe_live_ktest@exe/intel_xe_live_ktest.c.o'.
[591/1645] Compiling C object 'tests/59830eb@@xe_debugfs@exe/intel_xe_debugfs.c.o'.
[592/1645] Compiling C object 'tests/59830eb@@xe_gpgpu_fill@exe/intel_xe_gpgpu_fill.c.o'.
[593/1645] Compiling C object 'tests/59830eb@@xe_mmap@exe/intel_xe_mmap.c.o'.
[594/1645] Compiling C object 'tests/59830eb@@xe_huc_copy@exe/intel_xe_huc_copy.c.o'.
[595/1645] Compiling C object 'tests/59830eb@@gem_mmap_gtt@exe/intel_gem_mmap_gtt.c.o'.
[596/1645] Compiling C object 'tests/59830eb@@xe_media_fill@exe/intel_xe_media_fill.c.o'.
[597/1645] Compiling C object 'tests/59830eb@@xe_exec_compute_mode@exe/intel_xe_exec_compute_mode.c.o'.
[598/1645] Compiling C object 'tests/59830eb@@kms_busy@exe/intel_kms_busy.c.o'.
[599/1645] Compiling C object 'tests/59830eb@@xe_exec_store@exe/intel_xe_exec_store.c.o'.
[600/1645] Compiling C object 'tests/59830eb@@kms_pm_dc@exe/intel_kms_pm_dc.c.o'.
[601/1645] Compiling C object 'tests/59830eb@@xe_module_load@exe/intel_xe_module_load.c.o'.
[602/1645] Compiling C object 'tests/59830eb@@kms_psr@exe/intel_kms_psr.c.o'.
[603/1645] Compiling C object 'tests/59830eb@@xe_exercise_blt@exe/intel_xe_exercise_blt.c.o'.
[604/1645] Compiling C object 'tests/59830eb@@i915_pm_rps@exe/intel_i915_pm_rps.c.o'.
[605/1645] Compiling C object 'tests/59830eb@@xe_drm_fdinfo@exe/intel_xe_drm_fdinfo.c.o'.
[606/1645] Compiling C object 'tests/59830eb@@xe_ccs@exe/intel_xe_ccs.c.o'.
[607/1645] Compiling C object 'tests/59830eb@@xe_exec_basic@exe/intel_xe_exec_basic.c.o'.
[608/1645] Compiling C object 'tests/59830eb@@gem_sync@exe/intel_gem_sync.c.o'.
[609/1645] Compiling C object 'tests/59830eb@@kms_big_fb@exe/intel_kms_big_fb.c.o'.
[610/1645] Compiling C object 'tests/59830eb@@xe_pm_residency@exe/intel_xe_pm_residency.c.o'.
[611/1645] Compiling C object 'tests/59830eb@@xe_guc_pc@exe/intel_xe_guc_pc.c.o'.
[612/1645] Compiling C object 'tests/59830eb@@gem_pxp@exe/intel_gem_pxp.c.o'.
[613/1645] Compiling C object 'tests/59830eb@@xe_pm@exe/intel_xe_pm.c.o'.
[614/1645] Compiling C object 'tests/59830eb@@xe_exec_fault_mode@exe/intel_xe_exec_fault_mode.c.o'.
[615/1645] Compiling C object 'tests/59830eb@@i915_pm_rpm@exe/intel_i915_pm_rpm.c.o'.
[616/1645] Compiling C object 'tests/59830eb@@xe_exec_balancer@exe/intel_xe_exec_balancer.c.o'.
[617/1645] Compiling C object 'tests/59830eb@@xe_evict@exe/intel_xe_evict.c.o'.
[618/1645] Compiling C object 'tests/59830eb@@xe_exec_reset@exe/intel_xe_exec_reset.c.o'.
[619/1645] Compiling C object 'tests/59830eb@@gem_softpin@exe/intel_gem_softpin.c.o'.
[620/1645] Compiling C object 'tests/59830eb@@kms_psr2_sf@exe/intel_kms_psr2_sf.c.o'.
[621/1645] Compiling C object 'tests/59830eb@@xe_intel_bb@exe/intel_xe_intel_bb.c.o'.
[622/1645] Compiling C object 'tests/59830eb@@xe_exec_threads@exe/intel_xe_exec_threads.c.o'.
[623/1645] Compiling C object 'tests/59830eb@@kms_pm_rpm@exe/intel_kms_pm_rpm.c.o'.
[624/1645] Compiling C object 'tests/59830eb@@i915_query@exe/intel_i915_query.c.o'.
[625/1645] Compiling C object 'tests/59830eb@@gem_exec_balancer@exe/intel_gem_exec_balancer.c.o'.
[626/1645] Compiling C object 'tests/59830eb@@perf@exe/intel_perf.c.o'.
[627/1645] Compiling C object 'tests/59830eb@@xe_vm@exe/intel_xe_vm.c.o'.
[628/1645] Compiling C object 'tests/59830eb@@gem_exec_fence@exe/intel_gem_exec_fence.c.o'.
[629/1645] Compiling C object 'tests/59830eb@@gem_userptr_blits@exe/intel_gem_userptr_blits.c.o'.
[630/1645] Compiling C object 'tests/59830eb@@perf_pmu@exe/intel_perf_pmu.c.o'.
[631/1645] Generating i915-perf-equations with a custom command.
[632/1645] Compiling C object 'tests/59830eb@@gem_exec_schedule@exe/intel_gem_exec_schedule.c.o'.
ninja: build stopped: subcommand failed.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane (rev3)
2023-10-25 5:31 [igt-dev] [PATCH i-g-t v3] tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane Nidhi Gupta
2023-10-25 7:06 ` [igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane (rev3) Patchwork
@ 2023-10-25 7:09 ` Patchwork
1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2023-10-25 7:09 UTC (permalink / raw)
To: Nidhi Gupta; +Cc: igt-dev
== Series Details ==
Series: tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane (rev3)
URL : https://patchwork.freedesktop.org/series/123724/
State : warning
== Summary ==
Pipeline status: FAILED.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1018261 for the overview.
build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50727644):
^~~
../tests/intel/kms_frontbuffer_tracking.c:5024:3: note: in expansion of macro ‘for_each_plane_on_pipe’
for_each_plane_on_pipe(&drm.display, prim_mode_params.pipe, plane)
^~~~~~~~~~~~~~~~~~~~~~
../tests/intel/kms_frontbuffer_tracking.c:5026:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
if (n_planes == 3)
^~
../tests/intel/kms_frontbuffer_tracking.c:5029:26: error: incompatible type for argument 1 of ‘prepare_subtest_data’
prepare_subtest_data(t, NULL);
^
../tests/intel/kms_frontbuffer_tracking.c:1833:58: note: expected ‘const struct test_mode *’ but argument is of type ‘struct test_mode’
static void prepare_subtest_data(const struct test_mode *t,
~~~~~~~~~~~~~~~~~~~~~~~~^
ninja: build stopped: subcommand failed.
section_end:1698217561:step_script
section_start:1698217561:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1698217562: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/50727647):
^~~
../tests/intel/kms_frontbuffer_tracking.c:5024:3: note: in expansion of macro ‘for_each_plane_on_pipe’
for_each_plane_on_pipe(&drm.display, prim_mode_params.pipe, plane)
^~~~~~~~~~~~~~~~~~~~~~
../tests/intel/kms_frontbuffer_tracking.c:5026:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
if (n_planes == 3)
^~
../tests/intel/kms_frontbuffer_tracking.c:5029:26: error: incompatible type for argument 1 of ‘prepare_subtest_data’
prepare_subtest_data(t, NULL);
^
../tests/intel/kms_frontbuffer_tracking.c:1833:58: note: expected ‘const struct test_mode *’ but argument is of type ‘struct test_mode’
static void prepare_subtest_data(const struct test_mode *t,
~~~~~~~~~~~~~~~~~~~~~~~~^
ninja: build stopped: subcommand failed.
section_end:1698217570:step_script
section_start:1698217570:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1698217570: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/50727646):
^~~
../tests/intel/kms_frontbuffer_tracking.c:5024:3: note: in expansion of macro ‘for_each_plane_on_pipe’
for_each_plane_on_pipe(&drm.display, prim_mode_params.pipe, plane)
^~~~~~~~~~~~~~~~~~~~~~
../tests/intel/kms_frontbuffer_tracking.c:5026:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
if (n_planes == 3)
^~
../tests/intel/kms_frontbuffer_tracking.c:5029:26: error: incompatible type for argument 1 of ‘prepare_subtest_data’
prepare_subtest_data(t, NULL);
^
../tests/intel/kms_frontbuffer_tracking.c:1833:58: note: expected ‘const struct test_mode *’ but argument is of type ‘struct test_mode’
static void prepare_subtest_data(const struct test_mode *t,
~~~~~~~~~~~~~~~~~~~~~~~~^
ninja: build stopped: subcommand failed.
section_end:1698217575:step_script
section_start:1698217575:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1698217576: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/50727648):
^~~
../tests/intel/kms_frontbuffer_tracking.c:5024:3: note: in expansion of macro ‘for_each_plane_on_pipe’
for_each_plane_on_pipe(&drm.display, prim_mode_params.pipe, plane)
^~~~~~~~~~~~~~~~~~~~~~
../tests/intel/kms_frontbuffer_tracking.c:5026:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
if (n_planes == 3)
^~
../tests/intel/kms_frontbuffer_tracking.c:5029:26: error: incompatible type for argument 1 of ‘prepare_subtest_data’
prepare_subtest_data(t, NULL);
^
../tests/intel/kms_frontbuffer_tracking.c:1833:58: note: expected ‘const struct test_mode *’ but argument is of type ‘struct test_mode’
static void prepare_subtest_data(const struct test_mode *t,
~~~~~~~~~~~~~~~~~~~~~~~~^
ninja: build stopped: subcommand failed.
section_end:1698217572:step_script
section_start:1698217572:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1698217573:cleanup_file_variables
ERROR: Job failed: exit code 1
build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/50727639):
5024 | for_each_plane_on_pipe(&drm.display, prim_mode_params.pipe, plane)
| ^~~~~~~~~~~~~~~~~~~~~~
../tests/intel/kms_frontbuffer_tracking.c:5026:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
5026 | if (n_planes == 3)
| ^~
../tests/intel/kms_frontbuffer_tracking.c:5029:26: error: incompatible type for argument 1 of ‘prepare_subtest_data’
5029 | prepare_subtest_data(t, NULL);
| ^
| |
| struct test_mode
../tests/intel/kms_frontbuffer_tracking.c:1833:58: note: expected ‘const struct test_mode *’ but argument is of type ‘struct test_mode’
1833 | static void prepare_subtest_data(const struct test_mode *t,
| ~~~~~~~~~~~~~~~~~~~~~~~~^
ninja: build stopped: subcommand failed.
section_end:1698217557:step_script
section_start:1698217557:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1698217558: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/50727643):
^~~~~
clone
/usr/include/bits/sched.h:80:12: note: 'clone' declared here
extern int clone (int (*__fn) (void *__arg), void *__child_stack,
^
../tests/intel/kms_frontbuffer_tracking.c:5029:26: error: passing 'struct test_mode' to parameter of incompatible type 'const struct test_mode *'; take the address with &
prepare_subtest_data(t, NULL);
^
&
../tests/intel/kms_frontbuffer_tracking.c:1833:58: note: passing argument to parameter 't' here
static void prepare_subtest_data(const struct test_mode *t,
^
5 errors generated.
ninja: build stopped: subcommand failed.
section_end:1698217580:step_script
section_start:1698217580:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1698217581: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/50727642):
5024 | for_each_plane_on_pipe(&drm.display, prim_mode_params.pipe, plane)
| ^~~~~~~~~~~~~~~~~~~~~~
../tests/intel/kms_frontbuffer_tracking.c:5026:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
5026 | if (n_planes == 3)
| ^~
../tests/intel/kms_frontbuffer_tracking.c:5029:26: error: incompatible type for argument 1 of ‘prepare_subtest_data’
5029 | prepare_subtest_data(t, NULL);
| ^
| |
| struct test_mode
../tests/intel/kms_frontbuffer_tracking.c:1833:58: note: expected ‘const struct test_mode *’ but argument is of type ‘struct test_mode’
1833 | static void prepare_subtest_data(const struct test_mode *t,
| ~~~~~~~~~~~~~~~~~~~~~~~~^
ninja: build stopped: subcommand failed.
section_end:1698217565:step_script
section_start:1698217565:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1698217565: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/50727640):
5024 | for_each_plane_on_pipe(&drm.display, prim_mode_params.pipe, plane)
| ^~~~~~~~~~~~~~~~~~~~~~
../tests/intel/kms_frontbuffer_tracking.c:5026:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
5026 | if (n_planes == 3)
| ^~
../tests/intel/kms_frontbuffer_tracking.c:5029:26: error: incompatible type for argument 1 of ‘prepare_subtest_data’
5029 | prepare_subtest_data(t, NULL);
| ^
| |
| struct test_mode
../tests/intel/kms_frontbuffer_tracking.c:1833:58: note: expected ‘const struct test_mode *’ but argument is of type ‘struct test_mode’
1833 | static void prepare_subtest_data(const struct test_mode *t,
| ~~~~~~~~~~~~~~~~~~~~~~~~^
ninja: build stopped: subcommand failed.
section_end:1698217566:step_script
section_start:1698217566:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1698217566: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/50727641):
5024 | for_each_plane_on_pipe(&drm.display, prim_mode_params.pipe, plane)
| ^~~~~~~~~~~~~~~~~~~~~~
../tests/intel/kms_frontbuffer_tracking.c:5026:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
5026 | if (n_planes == 3)
| ^~
../tests/intel/kms_frontbuffer_tracking.c:5029:26: error: incompatible type for argument 1 of ‘prepare_subtest_data’
5029 | prepare_subtest_data(t, NULL);
| ^
| |
| struct test_mode
../tests/intel/kms_frontbuffer_tracking.c:1833:58: note: expected ‘const struct test_mode *’ but argument is of type ‘struct test_mode’
1833 | static void prepare_subtest_data(const struct test_mode *t,
| ~~~~~~~~~~~~~~~~~~~~~~~~^
ninja: build stopped: subcommand failed.
section_end:1698217563:step_script
section_start:1698217563:cleanup_file_variables
Cleaning up project directory and file based variables
section_end:1698217564:cleanup_file_variables
ERROR: Job failed: exit code 1
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1018261
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-10-25 7:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-25 5:31 [igt-dev] [PATCH i-g-t v3] tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane Nidhi Gupta
2023-10-25 7:06 ` [igt-dev] ✗ Fi.CI.BUILD: failure for tests/kms_frontbuffer_tracking: Extend the test to enable FBC for each plane (rev3) Patchwork
2023-10-25 7:09 ` [igt-dev] ✗ GitLab.Pipeline: warning " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox