All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tests/kms_vrr: Add a subtest for seamless modeset to a virtual LRR mode
@ 2024-03-18 23:02 Manasi Navare
  2024-03-18 23:32 ` ✗ Fi.CI.BUILD: failure for " Patchwork
  2024-03-18 23:37 ` ✗ GitLab.Pipeline: warning " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Manasi Navare @ 2024-03-18 23:02 UTC (permalink / raw)
  To: igt-dev
  Cc: Manasi Navare, Drew Davenport, Bhanuprakash Modem,
	Ville Syrjälä,
	Sean Paul

This subtest validates LRR fastset functionality by testing seamless switching
without full modeset to any of the virtual LRR mode within VRR range.
Here we start from highest refresh rate mode and then switch to virtual LRR
modes in the steps of 10Hz within the VRR range.

This is used to test the LRR fastset functionality of the driver.

Cc: Drew Davenport <ddavenport@chromium.org>
Cc: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Manasi Navare <navaremanasi@chromium.org>
---
 tests/kms_vrr.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 67 insertions(+), 1 deletion(-)

diff --git a/tests/kms_vrr.c b/tests/kms_vrr.c
index 15c62b34b..79400aca9 100644
--- a/tests/kms_vrr.c
+++ b/tests/kms_vrr.c
@@ -70,6 +70,11 @@
  * Description: Oscillates between highest and lowest refresh each frame for
  *              manual flicker profiling
  *
+ * SUBTEST: seamless-virtual-rr-switch
+ * Description: Test to create a Virtual Mode in VRR range and switch to it
+ * without a full modeset.
+ * Functionality: LRR
+ *
  * SUBTEST: negative-basic
  * Description: Make sure that VRR should not be enabled on the Non-VRR panel.
  */
@@ -92,11 +97,13 @@ enum {
 	TEST_FASTSET = 1 << 6,
 	TEST_MAXMIN = 1 << 7,
 	TEST_NEGATIVE = 1 << 8,
+	TEST_SEAMLESS_VIRTUAL_RR = 1 << 9,
 };
 
 enum {
 	HIGH_RR_MODE,
 	LOW_RR_MODE,
+	VIRTUAL_RR_MODE,
 	RR_MODES_COUNT,
 };
 
@@ -214,6 +221,19 @@ low_rr_mode_with_same_res(igt_output_t *output, unsigned int vrr_min)
 	return mode;
 }
 
+static drmModeModeInfo
+virtual_rr_vrr_range_mode(igt_output_t *output, unsigned int virtual_refresh_rate)
+{
+	int i;
+	drmModeConnectorPtr connector = output->config.connector;
+	drmModeModeInfo mode = *igt_output_get_mode(output);
+	uint64_t clock_hz = mode.clock * 1000;
+
+	mode.vtotal = clock_hz / (mode.htotal * virtual_refresh_rate);
+	mode.vrefresh = virtual_refresh_rate;
+	return mode;
+}
+
 /* Read min and max vrr range from the connector debugfs. */
 static range_t
 get_vrr_range(data_t *data, igt_output_t *output)
@@ -641,6 +661,48 @@ test_seamless_rr_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint3
 		     vrr ? "on" : "off", vrr ? "not reached" : "exceeded", result);
 }
 
+static void
+test_seamless_virtual_rr_basic(data_t *data, enum pipe pipe, igt_output_t *output, uint32_t flags)
+{
+	uint32_t result;
+	uint64_t rate;
+	unsigned int vrefresh;
+
+	igt_info("Use HIGH_RR Mode as default\n");
+	kmstest_dump_mode(&data->switch_modes[HIGH_RR_MODE]);
+
+	prepare_test(data, output, pipe);
+	rate = rate_from_refresh(data->switch_modes[HIGH_RR_MODE].vrefresh);
+
+	/*
+	 * Sink with DRR and VRR can be in downclock mode so
+	 * switch to highest refresh rate mode.
+	 */
+	igt_output_override_mode(output, &data->switch_modes[HIGH_RR_MODE]);
+	igt_assert(igt_display_try_commit_atomic(&data->display, DRM_MODE_PAGE_FLIP_EVENT, NULL) == 0);
+
+	result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
+	igt_assert_f(result > 75,
+		     "Refresh rate (%u Hz) %"PRIu64"ns: Target threshold not reached, result was %u%%\n",
+		     data->switch_modes[HIGH_RR_MODE].vrefresh, rate, result);
+
+	/* Switch to Virtual RR */
+	for (vrefresh = data->range.min + 10; vrefresh < data->range.max; vrefresh += 10) {
+
+		data->switch_modes[VIRTUAL_RR_MODE] = virtual_rr_vrr_range_mode(output, vrefresh);
+		igt_info("Requesting Virtual Mode with Refresh Rate (%u Hz): \n", vrefresh);
+		kmstest_dump_mode(&data->switch_modes[VIRTUAL_RR_MODE]);
+		igt_output_override_mode(output, &data->switch_modes[VIRTUAL_RR_MODE]);
+		igt_assert(igt_display_try_commit_atomic(&data->display, 0, NULL) == 0);
+
+		rate = rate_from_refresh(vrefresh);
+		result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
+		igt_assert_f(result > 75,
+			     "Refresh rate (%u Hz) %"PRIu64"ns: Target threshold not reached, result was %u%%\n",
+			     vrefresh, rate, result);
+	}
+}
+
 static void test_cleanup(data_t *data, enum pipe pipe, igt_output_t *output)
 {
 	if (vrr_capable(output))
@@ -686,7 +748,7 @@ static bool output_constraint(data_t *data, igt_output_t *output, uint32_t flags
 	igt_output_override_mode(output, &data->switch_modes[HIGH_RR_MODE]);
 
 	/* Search for a low refresh rate mode. */
-	if (!(flags & (TEST_SEAMLESS_VRR | TEST_SEAMLESS_DRRS)))
+	if (!(flags & (TEST_SEAMLESS_VRR | TEST_SEAMLESS_DRRS | TEST_SEAMLESS_VIRTUAL_RR)))
 		return true;
 
 	data->switch_modes[LOW_RR_MODE] = low_rr_mode_with_same_res(output, data->range.min);
@@ -841,6 +903,10 @@ igt_main_args("drs:", long_opts, help_str, opt_handler, &data)
 			     "between flip timestamps converges to the requested rate");
 		igt_subtest_with_dynamic("flip-basic-fastset")
 			run_vrr_test(&data, test_basic, TEST_FASTSET);
+
+		igt_describe("Test to switch to any custom virtual mode in VRR range without modeset.");
+		igt_subtest_with_dynamic("seamless-virtual-rr-switch")
+			run_vrr_test(&data, test_seamless_virtual_rr_basic, TEST_SEAMLESS_VIRTUAL_RR);
 	}
 
 	igt_fixture {
-- 
2.44.0.291.gc1ea87d7ee-goog


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* ✗ Fi.CI.BUILD: failure for tests/kms_vrr: Add a subtest for seamless modeset to a virtual LRR mode
  2024-03-18 23:02 [PATCH] tests/kms_vrr: Add a subtest for seamless modeset to a virtual LRR mode Manasi Navare
@ 2024-03-18 23:32 ` Patchwork
  2024-03-18 23:37 ` ✗ GitLab.Pipeline: warning " Patchwork
  1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2024-03-18 23:32 UTC (permalink / raw)
  To: Manasi Navare; +Cc: igt-dev

== Series Details ==

Series: tests/kms_vrr: Add a subtest for seamless modeset to a virtual LRR mode
URL   : https://patchwork.freedesktop.org/series/131295/
State : failure

== Summary ==

IGT patchset build failed on latest successful build
ecff97233376d876f3b47d7323267453c43f3376 tests/intel/xe_debugfs: fix musl build

Tail of build.log:
[358/1672] Compiling C object 'lib/76b5a35@@igt-igt_pm_c@sta/igt_pm.c.o'.
[359/1672] Compiling C object 'tests/59830eb@@panfrost_prime@exe/panfrost_prime.c.o'.
[360/1672] Compiling C object 'lib/76b5a35@@igt-intel_compute_c@sta/intel_compute.c.o'.
[361/1672] Compiling C object 'tests/59830eb@@kms_prop_blob@exe/kms_prop_blob.c.o'.
[362/1672] Compiling C object 'tests/59830eb@@prime_udl@exe/prime_udl.c.o'.
[363/1672] Compiling C object 'tests/59830eb@@template@exe/template.c.o'.
[364/1672] Compiling C object 'tests/59830eb@@kms_flip@exe/kms_flip.c.o'.
[365/1672] Compiling C object 'tests/59830eb@@kms_plane_scaling@exe/kms_plane_scaling.c.o'.
[366/1672] Compiling C object 'tests/59830eb@@panfrost_submit@exe/panfrost_submit.c.o'.
[367/1672] Compiling C object 'tests/59830eb@@syncobj_basic@exe/syncobj_basic.c.o'.
[368/1672] Compiling C object 'lib/76b5a35@@igt-igt_vmwgfx_c@sta/igt_vmwgfx.c.o'.
[369/1672] Compiling C object 'tests/59830eb@@testdisplay@exe/testdisplay_hotplug.c.o'.
[370/1672] Compiling C object 'tests/59830eb@@sriov_basic@exe/sriov_basic.c.o'.
[371/1672] Compiling C object 'lib/76b5a35@@igt-intel_bufops_c@sta/intel_bufops.c.o'.
[372/1672] Compiling C object 'tests/59830eb@@kms_tiled_display@exe/kms_tiled_display.c.o'.
[373/1672] Compiling C object 'tests/59830eb@@syncobj_eventfd@exe/syncobj_eventfd.c.o'.
[374/1672] Compiling C object 'tests/59830eb@@vgem_slow@exe/vgem_slow.c.o'.
[375/1672] Compiling C object 'tests/59830eb@@tools_test@exe/tools_test.c.o'.
[376/1672] Compiling C object 'lib/76b5a35@@igt-intel_blt_c@sta/intel_blt.c.o'.
[377/1672] Compiling C object 'tests/59830eb@@intel_hwmon@exe/intel_intel_hwmon.c.o'.
[378/1672] Compiling C object 'lib/76b5a35@@igt-igt_amd_c@sta/igt_amd.c.o'.
[379/1672] Generating i915-perf-registers-acmgt3 with a custom command.
[380/1672] Compiling C object 'lib/76b5a35@@igt-igt_kmod_c@sta/igt_kmod.c.o'.
[381/1672] Compiling C object 'tests/59830eb@@kms_rotation_crc@exe/kms_rotation_crc.c.o'.
[382/1672] Compiling C object 'tests/59830eb@@kms_writeback@exe/kms_writeback.c.o'.
[383/1672] Compiling C object 'tests/59830eb@@kms_vblank@exe/kms_vblank.c.o'.
[384/1672] Compiling C object 'tests/59830eb@@testdisplay@exe/testdisplay.c.o'.
[385/1672] Compiling C object 'tests/59830eb@@kms_setmode@exe/kms_setmode.c.o'.
[386/1672] Compiling C object 'tests/59830eb@@kms_universal_plane@exe/kms_universal_plane.c.o'.
[387/1672] Compiling C object 'tests/59830eb@@syncobj_wait@exe/syncobj_wait.c.o'.
[388/1672] Compiling C object 'tests/59830eb@@kms_atomic@exe/kms_atomic.c.o'.
[389/1672] Compiling C object 'tests/59830eb@@sw_sync@exe/sw_sync.c.o'.
[390/1672] Compiling C object 'tests/59830eb@@vgem_basic@exe/vgem_basic.c.o'.
[391/1672] Compiling C object 'tests/59830eb@@api_intel_allocator@exe/intel_api_intel_allocator.c.o'.
[392/1672] Compiling C object 'lib/76b5a35@@igt-rendercopy_gen8_c@sta/rendercopy_gen8.c.o'.
[393/1672] Compiling C object 'tests/59830eb@@prime_vgem@exe/prime_vgem.c.o'.
[394/1672] Compiling C object 'lib/76b5a35@@igt-intel_batchbuffer_c@sta/intel_batchbuffer.c.o'.
[395/1672] Compiling C object 'lib/76b5a35@@igt-igt_core_c@sta/igt_core.c.o'.
[396/1672] Generating i915-perf-metrics-acmgt3 with a custom command.
[397/1672] Compiling C object 'lib/76b5a35@@igt-igt_chamelium_c@sta/igt_chamelium.c.o'.
[398/1672] Compiling C object 'tests/59830eb@@syncobj_timeline@exe/syncobj_timeline.c.o'.
[399/1672] Compiling C object 'lib/76b5a35@@igt-rendercopy_gen9_c@sta/rendercopy_gen9.c.o'.
[400/1672] Compiling C object 'tests/59830eb@@kms_cursor_legacy@exe/kms_cursor_legacy.c.o'.
[401/1672] Compiling C object 'tests/59830eb@@api_intel_bb@exe/intel_api_intel_bb.c.o'.
[402/1672] Compiling C object 'tests/59830eb@@gem_userptr_blits@exe/intel_gem_userptr_blits.c.o'.
[403/1672] Compiling C object 'lib/76b5a35@@igt-i915_intel_decode_c@sta/i915_intel_decode.c.o'.
[404/1672] Compiling C object 'lib/76b5a35@@igt-igt_fb_c@sta/igt_fb.c.o'.
[405/1672] Compiling C object 'lib/76b5a35@@igt-igt_kms_c@sta/igt_kms.c.o'.
[406/1672] Generating i915-perf-equations with a custom command.
ninja: build stopped: subcommand failed.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* ✗ GitLab.Pipeline: warning for tests/kms_vrr: Add a subtest for seamless modeset to a virtual LRR mode
  2024-03-18 23:02 [PATCH] tests/kms_vrr: Add a subtest for seamless modeset to a virtual LRR mode Manasi Navare
  2024-03-18 23:32 ` ✗ Fi.CI.BUILD: failure for " Patchwork
@ 2024-03-18 23:37 ` Patchwork
  1 sibling, 0 replies; 3+ messages in thread
From: Patchwork @ 2024-03-18 23:37 UTC (permalink / raw)
  To: Manasi Navare; +Cc: igt-dev

== Series Details ==

Series: tests/kms_vrr: Add a subtest for seamless modeset to a virtual LRR mode
URL   : https://patchwork.freedesktop.org/series/131295/
State : warning

== Summary ==

Pipeline status: FAILED.

see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1131039 for the overview.

build:tests-debian-meson has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/56455809):
      ~~~~~~~~~~^~~~~~~~
  ../tests/kms_vrr.c:88:26: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘5000000000’ to ‘705032704’ [-Woverflow]
   #define TEST_DURATION_NS (5000000000ull)
                            ^~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:55: note: in expansion of macro ‘TEST_DURATION_NS’
     result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
                                                         ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:12: error: too few arguments to function ‘flip_and_measure’
     result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
              ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:411:1: note: declared here
   flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe,
   ^~~~~~~~~~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1710804753:step_script
  section_start:1710804753:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1710804754: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/56455812):
      ~~~~~~~~~~^~~~~~~~
  ../tests/kms_vrr.c:88:26: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘5000000000’ to ‘705032704’ [-Woverflow]
   #define TEST_DURATION_NS (5000000000ull)
                            ^~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:55: note: in expansion of macro ‘TEST_DURATION_NS’
     result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
                                                         ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:12: error: too few arguments to function ‘flip_and_measure’
     result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
              ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:411:1: note: declared here
   flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe,
   ^~~~~~~~~~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1710804782:step_script
  section_start:1710804782:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1710804782: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/56455811):
      ~~~~~~~~~~^~~~~~~~
  ../tests/kms_vrr.c:88:26: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘5000000000’ to ‘705032704’ [-Woverflow]
   #define TEST_DURATION_NS (5000000000ull)
                            ^~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:55: note: in expansion of macro ‘TEST_DURATION_NS’
     result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
                                                         ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:12: error: too few arguments to function ‘flip_and_measure’
     result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
              ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:411:1: note: declared here
   flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe,
   ^~~~~~~~~~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1710804779:step_script
  section_start:1710804779:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1710804781: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/56455813):
      ~~~~~~~~~~^~~~~~~~
  ../tests/kms_vrr.c:88:26: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘5000000000’ to ‘705032704’ [-Woverflow]
   #define TEST_DURATION_NS (5000000000ull)
                            ^~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:55: note: in expansion of macro ‘TEST_DURATION_NS’
     result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
                                                         ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:12: error: too few arguments to function ‘flip_and_measure’
     result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
              ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:411:1: note: declared here
   flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe,
   ^~~~~~~~~~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1710804789:step_script
  section_start:1710804789:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1710804790: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/56455810):
  ninja: Entering directory `build'
  [1/105] Generating version.h with a custom command.
  [2/9] Linking target lib/libi915_perf.so.1.5.
  [3/9] Generating symbol file 'lib/76b5a35@@i915_perf@sha/libi915_perf.so.1.5.symbols'.
  [4/9] Linking target tools/intel_gpu_top.
  [5/9] Linking target tools/i915-perf/i915-perf-configs.
  [6/9] Linking target tools/i915-perf/i915-perf-recorder.
  [7/9] Linking target tools/i915-perf/i915-perf-reader.
  [8/9] 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_vrr.c:75: Error: unrecognized line. Need to add field at /builds/gfx-ci/igt-ci-tags/tests/intel/kms_test_config.json?
  	==> without a full modeset.
  ninja: build stopped: subcommand failed.
  section_end:1710804739:step_script
  section_start:1710804739:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1710804740:cleanup_file_variables
  ERROR: Job failed: exit code 1
  

build:tests-fedora has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/56455804):
        |    ~~~~~~~~~~^~~~~~~~
  ../tests/kms_vrr.c:88:26: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘5000000000’ to ‘705032704’ [-Woverflow]
     88 | #define TEST_DURATION_NS (5000000000ull)
        |                          ^~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:55: note: in expansion of macro ‘TEST_DURATION_NS’
    699 |   result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
        |                                                       ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:12: error: too few arguments to function ‘flip_and_measure’
    699 |   result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
        |            ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:411:1: note: declared here
    411 | flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe,
        | ^~~~~~~~~~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1710804802:step_script
  section_start:1710804802:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1710804803: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/56455808):
  ../tests/kms_vrr.c:684:70: error: too few arguments to function call, expected 6, have 5
          result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
                   ~~~~~~~~~~~~~~~~                                           ^
  ../tests/kms_vrr.c:410:1: note: 'flip_and_measure' declared here
  static uint32_t
  ^
  ../tests/kms_vrr.c:699:71: error: too few arguments to function call, expected 6, have 5
                  result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
                           ~~~~~~~~~~~~~~~~                                           ^
  ../tests/kms_vrr.c:410:1: note: 'flip_and_measure' declared here
  static uint32_t
  ^
  2 warnings and 2 errors generated.
  ninja: build stopped: subcommand failed.
  section_end:1710804778:step_script
  section_start:1710804778:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1710804778: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/56455807):
        |    ~~~~~~~~~~^~~~~~~~
  ../tests/kms_vrr.c:88:26: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘5000000000’ to ‘705032704’ [-Woverflow]
     88 | #define TEST_DURATION_NS (5000000000ull)
        |                          ^~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:55: note: in expansion of macro ‘TEST_DURATION_NS’
    699 |   result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
        |                                                       ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:12: error: too few arguments to function ‘flip_and_measure’
    699 |   result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
        |            ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:411:1: note: declared here
    411 | flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe,
        | ^~~~~~~~~~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1710804754:step_script
  section_start:1710804754:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1710804755: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/56455805):
        |    ~~~~~~~~~~^~~~~~~~
  ../tests/kms_vrr.c:88:26: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘5000000000’ to ‘705032704’ [-Woverflow]
     88 | #define TEST_DURATION_NS (5000000000ull)
        |                          ^~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:55: note: in expansion of macro ‘TEST_DURATION_NS’
    699 |   result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
        |                                                       ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:12: error: too few arguments to function ‘flip_and_measure’
    699 |   result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
        |            ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:411:1: note: declared here
    411 | flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe,
        | ^~~~~~~~~~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1710804760:step_script
  section_start:1710804760:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1710804761: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/56455806):
        |    ~~~~~~~~~~^~~~~~~~
  ../tests/kms_vrr.c:88:26: warning: overflow in conversion from ‘long long unsigned int’ to ‘int’ changes value from ‘5000000000’ to ‘705032704’ [-Woverflow]
     88 | #define TEST_DURATION_NS (5000000000ull)
        |                          ^~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:55: note: in expansion of macro ‘TEST_DURATION_NS’
    699 |   result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
        |                                                       ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:699:12: error: too few arguments to function ‘flip_and_measure’
    699 |   result = flip_and_measure(data, output, pipe, rate, TEST_DURATION_NS);
        |            ^~~~~~~~~~~~~~~~
  ../tests/kms_vrr.c:411:1: note: declared here
    411 | flip_and_measure(data_t *data, igt_output_t *output, enum pipe pipe,
        | ^~~~~~~~~~~~~~~~
  ninja: build stopped: subcommand failed.
  section_end:1710804759:step_script
  section_start:1710804759:cleanup_file_variables
  Cleaning up project directory and file based variables
  section_end:1710804760:cleanup_file_variables
  ERROR: Job failed: exit code 1

== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/pipelines/1131039

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-18 23:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-18 23:02 [PATCH] tests/kms_vrr: Add a subtest for seamless modeset to a virtual LRR mode Manasi Navare
2024-03-18 23:32 ` ✗ Fi.CI.BUILD: failure for " Patchwork
2024-03-18 23:37 ` ✗ GitLab.Pipeline: warning " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.