Skip to contentSkip to conversation

tests/kms_bw: New test for bandwidth validation

PATCH In review Bindu Ramamurthy 4 participants 6 messages Aug 5, 2021 – Oct 12, 2021 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 tests/kms_bw: New test for bandwidth validation

From: Aurabindo Pillai <[email protected]>

Add linear tiling mode tests

---

Changes since v4:
Removed igt_skip_on_simulation from main function.
Changes since v3:
This version implements array of test modes in igt_main, global IGT_MAX_PIPE and other comments from Mark.
Changes since v2:
Test added as generic IGT.

 tests/kms_bw.c    | 217 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/meson.build |   1 +
 2 files changed, 218 insertions(+)
 create mode 100644 tests/kms_bw.c
tests/kms_bw.c new file +217 -0
new file mode 100644
index 00000000..1c287c0f
@@ -0,0 +1,217 @@
+/*
+ * Copyrights 2021 Advanced Micro Devices, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+#include "drm_mode.h"
+#include "igt.h"
+#include "drm.h"
+#include <stdio.h>
+#include <xf86drmMode.h>
+
+
+/* Common test data. */
+typedef struct data {
+        igt_display_t display;
+        igt_plane_t *primary[IGT_MAX_PIPES];
+        igt_output_t *output[IGT_MAX_PIPES];
+        igt_pipe_t *pipe[IGT_MAX_PIPES];
+        igt_pipe_crc_t *pipe_crc[IGT_MAX_PIPES];
+        drmModeModeInfo mode[IGT_MAX_PIPES];
+        enum pipe pipe_id[IGT_MAX_PIPES];
+        int w[IGT_MAX_PIPES];
+        int h[IGT_MAX_PIPES];
+        int fd;
+} data_t;
+
+static drmModeModeInfo test_mode[] = {
+	{ 173000,
+	1920, 2048, 2248, 2576, 0,
+	1080, 1083, 1088, 1120, 0,
+	60,
+	DRM_MODE_FLAG_NHSYNC,
+	0x40,
+	"1920x1080p\0",
+	}, /* test_mode_1 */
+
+	{ 312250,
+	2560, 2752, 3024, 3488, 0,
+	1440, 1443, 1448, 1493, 0,
+	60,
+	DRM_MODE_FLAG_NHSYNC,
+	0x40,
+	"2560x1440p\0",
+	}, /* test_mode_2 */
+
+	{ 533000,
+	3840, 3888, 3920, 4000, 0,
+	2160, 2163, 2168, 2222, 0,
+	60,
+	DRM_MODE_FLAG_NHSYNC,
+	0x40,
+	"3840x2160p\0",
+	}, /* test_mode_3 */
+
+};
+
+static void test_init(data_t *data)
+{
+	igt_display_t *display = &data->display;
+	int i, max_pipes = display->n_pipes;
+
+	for_each_pipe(display, i) {
+		data->pipe_id[i] = PIPE_A + i;
+		data->pipe[i] = &data->display.pipes[data->pipe_id[i]];
+		data->primary[i] = igt_pipe_get_plane_type(
+			data->pipe[i], DRM_PLANE_TYPE_PRIMARY);
+		data->pipe_crc[i] =
+			igt_pipe_crc_new(data->fd, data->pipe_id[i], "auto");
+	}
+
+	for (i = 0; i < display->n_outputs && i < max_pipes; i++) {
+		igt_output_t *output = &display->outputs[i];
+
+		data->output[i] = output;
+
+		/* Only allow physically connected displays for the tests. */
+		if (!igt_output_is_connected(output))
+			continue;
+
+		igt_assert(kmstest_get_connector_default_mode(
+			data->fd, output->config.connector, &data->mode[i]));
+
+		data->w[i] = data->mode[i].hdisplay;
+		data->h[i] = data->mode[i].vdisplay;
+	}
+
+
+	igt_require(data->output[0]);
+	igt_display_reset(display);
+}
+
+static void test_fini(data_t *data)
+{
+	igt_display_t *display = &data->display;
+	int i;
+
+	for_each_pipe(display, i) {
+		igt_pipe_crc_free(data->pipe_crc[i]);
+	}
+
+	igt_display_reset(display);
+	igt_display_commit_atomic(display, DRM_MODE_ATOMIC_ALLOW_MODESET, 0);
+}
+
+/* Forces a mode for a connector. */
+static void force_output_mode(data_t *d, igt_output_t *output,
+			      const drmModeModeInfo *mode)
+{
+	/* This allows us to create a virtual sink. */
+	if (!igt_output_is_connected(output)) {
+		kmstest_force_edid(d->fd, output->config.connector,
+				   igt_kms_get_4k_edid());
+
+		kmstest_force_connector(d->fd, output->config.connector,
+					FORCE_CONNECTOR_DIGITAL);
+	}
+
+	igt_output_override_mode(output, mode);
+}
+
+static void run_test_linear_tiling(data_t *data, int pipe, const drmModeModeInfo *mode) {
+	igt_display_t *display = &data->display;
+	igt_output_t *output;
+	struct igt_fb buffer[IGT_MAX_PIPES];
+	igt_crc_t zero, captured[IGT_MAX_PIPES];
+	int i = 0;
+
+
+	igt_skip_on_f(pipe >= igt_display_get_n_pipes(display),
+                      "ASIC does not have %d pipes\n", pipe);
+
+	test_init(data);
+
+	/* create buffers */
+	for (i = 0; i <= pipe; i++) {
+
+		output = data->output[i];
+		if (!output) {
+			continue;
+		}
+
+		force_output_mode(data, output, mode);
+
+		igt_create_color_fb(display->drm_fd, test_mode[0].hdisplay,
+				    test_mode[0].vdisplay, DRM_FORMAT_XRGB8888,
+				    DRM_FORMAT_MOD_NONE, 1.f, 0.f, 0.f,
+				    &buffer[i]);
+
+		igt_output_set_pipe(output, i);
+
+		igt_plane_set_fb(data->primary[i], &buffer[i]);
+	}
+
+	igt_display_commit_atomic(
+		display, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
+
+
+	for (i = 0; i <= pipe; i++) {
+		igt_pipe_crc_collect_crc(data->pipe_crc[i], &captured[i]);
+		igt_assert_f(!igt_check_crc_equal(&zero, &captured[i]),
+			     "CRC is zero\n");
+		igt_remove_fb(display->drm_fd, &buffer[i]);
+	}
+
+	test_fini(data);
+}
+
+igt_main
+{
+	data_t data;
+	int i = 0, j = 0;
+
+
+	memset(&data, 0, sizeof(data));
+
+	igt_fixture
+	{
+		data.fd = drm_open_driver_master(DRIVER_ANY);
+
+		kmstest_set_vt_graphics_mode();
+
+		igt_display_require(&data.display, data.fd);
+		igt_require(&data.display.is_atomic);
+		igt_display_require_output(&data.display);
+
+	}
+
+	for (i = 0; i < IGT_MAX_PIPES; i++)
+		for (j = 0; j < ARRAY_SIZE(test_mode); j++) {
+			igt_subtest_f("linear-tiling-%d-displays-%s", i+1,
+			      test_mode[j].name)
+			run_test_linear_tiling(&data, i, &test_mode[j]);
+		}
+
+
+	igt_fixture
+	{
+		igt_display_fini(&data.display);
+	}
+}
tests/meson.build +1 -0
index 1bdfddbb..6d1ebe42 100644
@@ -22,6 +22,7 @@ test_progs = [
 	'kms_big_fb',
 	'kms_big_joiner' ,
 	'kms_busy',
+	'kms_bw',
 	'kms_ccs',
 	'kms_cdclk',
 	'kms_concurrent',
Signature · 1 line
2.25.1
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_bw: New test for bandwidth validation (rev3)

== Series Details ==

== Series Details ==

Series: tests/kms_bw: New test for bandwidth validation (rev3)
URL : https://patchwork.freedesktop.org/series/92976/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_10451 -> IGTPW_6091
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/index.html

Known issues
------------

Here are the changes found in IGTPW_6091 that come from known issues:

### IGT changes ###

#### Possible fixes ####

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: [DMESG-WARN][1] ([i915#2203] / [i915#2868]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/fi-icl-u2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/fi-icl-u2/igt@[email protected]

[i915#2203]: https://gitlab.freedesktop.org/drm/intel/issues/2203
[i915#2868]: https://gitlab.freedesktop.org/drm/intel/issues/2868

Participating hosts (40 -> 35)
------------------------------

Missing (5): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan bat-jsl-1 fi-bdw-samus

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_6160 -> IGTPW_6091

CI-20190529: 20190529
CI_DRM_10451: 3bea0ad83735904d380d83bcca30557268acf887 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6091: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/index.html
IGT_6160: 4287344dd6a39d9036c5fb9a047a7d8f10bee981 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Testlist changes ==

+igt@kms_bw@linear-tiling-1-displays-1920x1080p
+igt@kms_bw@linear-tiling-1-displays-2560x1440p
+igt@kms_bw@linear-tiling-1-displays-3840x2160p
+igt@kms_bw@linear-tiling-2-displays-1920x1080p
+igt@kms_bw@linear-tiling-2-displays-2560x1440p
+igt@kms_bw@linear-tiling-2-displays-3840x2160p
+igt@kms_bw@linear-tiling-3-displays-1920x1080p
+igt@kms_bw@linear-tiling-3-displays-2560x1440p
+igt@kms_bw@linear-tiling-3-displays-3840x2160p
+igt@kms_bw@linear-tiling-4-displays-1920x1080p
+igt@kms_bw@linear-tiling-4-displays-2560x1440p
+igt@kms_bw@linear-tiling-4-displays-3840x2160p
+igt@kms_bw@linear-tiling-5-displays-1920x1080p
+igt@kms_bw@linear-tiling-5-displays-2560x1440p
+igt@kms_bw@linear-tiling-5-displays-3840x2160p
+igt@kms_bw@linear-tiling-6-displays-1920x1080p
+igt@kms_bw@linear-tiling-6-displays-2560x1440p
+igt@kms_bw@linear-tiling-6-displays-3840x2160p

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/index.html

#2 lore raw

[igt-dev] ✗ GitLab.Pipeline: warning for tests/kms_bw: New test for bandwidth validation (rev3)

In reply to Bindu Ramamurthy
== Series Details ==

== Series Details ==

Series: tests/kms_bw: New test for bandwidth validation (rev3)
URL : https://patchwork.freedesktop.org/series/92976/
State : warning

== Summary ==

Pipeline status: FAILED.

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

test:ninja-test has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/12532383):

  299/306 assembler test/rndd                     OK       0.01 s 
  300/306 assembler test/rndu                     OK       0.02 s 
  301/306 assembler test/rnde                     OK       0.02 s 
  302/306 assembler test/rnde-intsrc              OK       0.02 s 
  303/306 assembler test/rndz                     OK       0.02 s 
  304/306 assembler test/lzd                      OK       0.01 s 
  305/306 assembler test/not                      OK       0.01 s 
  306/306 assembler test/immediate                OK       0.02 s 

Ok: 281

  Expected Fail:         0
  Fail:                  0
  Unexpected Pass:       0
  Skipped:               0

Timeout: 25

Full log written to /builds/gfx-ci/igt-ci-tags/build/meson-logs/testlog.txt section_end:1628192776:step_script
ERROR: Job failed: execution took longer than 1h0m0s seconds

test:ninja-test-arm64 has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/12532385):
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 112, in run
return options.run_func(options)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 805, in run
return th.doit()
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 555, in doit
self.run_tests(tests)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 715, in run_tests
self.drain_futures(futures)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 732, in drain_futures
self.print_stats(numlen, tests, name, result.result(), i)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 505, in print_stats
result_str += "\n\n" + result.get_log()
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 178, in get_log
res += self.stde
TypeError: can only concatenate str (not "bytes") to str
1/292 lib igt_assert TIMEOUT 32.11 s
section_end:1628192818:step_script
ERROR: Job failed: execution took longer than 1h0m0s seconds

test:ninja-test-minimal has failed (https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/-/jobs/12532384):
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mesonbuild/mesonmain.py", line 112, in run
return options.run_func(options)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 805, in run
return th.doit()
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 555, in doit
self.run_tests(tests)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 715, in run_tests
self.drain_futures(futures)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 732, in drain_futures
self.print_stats(numlen, tests, name, result.result(), i)
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 505, in print_stats
result_str += "\n\n" + result.get_log()
File "/usr/lib/python3/dist-packages/mesonbuild/mtest.py", line 178, in get_log
res += self.stde
TypeError: can only concatenate str (not "bytes") to str
1/24 lib igt_assert TIMEOUT 32.03 s
section_end:1628192818:step_script
ERROR: Job failed: execution took longer than 1h0m0s seconds

== Logs ==

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

#3 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_bw: New test for bandwidth validation (rev3)

In reply to Bindu Ramamurthy
== Series Details ==

== Series Details ==

Series: tests/kms_bw: New test for bandwidth validation (rev3)
URL : https://patchwork.freedesktop.org/series/92976/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_10451_full -> IGTPW_6091_full
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_6091_full absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_6091_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/index.html

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_6091_full:

### IGT changes ###

#### Possible regressions ####

* igt@gem_exec_schedule@u-submit-early-slice@rcs0:
- shard-tglb: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-tglb5/igt@gem_exec_schedule@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb6/igt@gem_exec_schedule@[email protected]

* {igt@kms_bw@linear-tiling-1-displays-3840x2160p} (NEW):
- shard-snb: NOTRUN -> [FAIL][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-snb7/igt@[email protected]

* {igt@kms_bw@linear-tiling-2-displays-1920x1080p} (NEW):
- shard-kbl: NOTRUN -> [DMESG-FAIL][4] +2 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-kbl2/igt@[email protected]
- shard-iclb: NOTRUN -> [DMESG-FAIL][5] +2 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb4/igt@[email protected]

* {igt@kms_bw@linear-tiling-3-displays-2560x1440p} (NEW):
- shard-kbl: NOTRUN -> [FAIL][6] +11 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-kbl2/igt@[email protected]
- shard-snb: NOTRUN -> [CRASH][7] +8 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-snb7/igt@[email protected]
- shard-iclb: NOTRUN -> [FAIL][8] +2 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb6/igt@[email protected]

* {igt@kms_bw@linear-tiling-4-displays-1920x1080p} (NEW):
- shard-apl: NOTRUN -> [DMESG-FAIL][9] +8 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl2/igt@[email protected]

* {igt@kms_bw@linear-tiling-4-displays-3840x2160p} (NEW):
- shard-iclb: NOTRUN -> [CRASH][10] +8 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb5/igt@[email protected]

* {igt@kms_bw@linear-tiling-5-displays-1920x1080p} (NEW):
- shard-tglb: NOTRUN -> [CRASH][11] +5 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb5/igt@[email protected]

* {igt@kms_bw@linear-tiling-5-displays-2560x1440p} (NEW):
- shard-glk: NOTRUN -> [FAIL][12] +11 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-glk1/igt@[email protected]

#### Warnings ####

* igt@runner@aborted:
- shard-iclb: ([FAIL][13], [FAIL][14]) ([i915#3002]) -> ([FAIL][15], [FAIL][16], [FAIL][17], [FAIL][18], [FAIL][19]) ([i915#1814] / [i915#3002])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-iclb1/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-iclb7/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb5/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb7/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb8/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb4/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb3/igt@[email protected]

New tests
---------

New tests have been introduced between CI_DRM_10451_full and IGTPW_6091_full:

### New IGT tests (18) ###

* igt@kms_bw@linear-tiling-1-displays-1920x1080p:
- Statuses : 6 pass(s)
- Exec time: [0.26, 0.62] s

* igt@kms_bw@linear-tiling-1-displays-2560x1440p:
- Statuses : 5 pass(s)
- Exec time: [0.29, 1.59] s

* igt@kms_bw@linear-tiling-1-displays-3840x2160p:
- Statuses : 1 fail(s) 5 pass(s)
- Exec time: [0.10, 1.62] s

* igt@kms_bw@linear-tiling-2-displays-1920x1080p:
- Statuses : 3 dmesg-fail(s) 2 pass(s)
- Exec time: [0.08, 0.90] s

* igt@kms_bw@linear-tiling-2-displays-2560x1440p:
- Statuses : 3 dmesg-fail(s) 1 fail(s) 1 pass(s)
- Exec time: [0.06, 0.91] s

* igt@kms_bw@linear-tiling-2-displays-3840x2160p:
- Statuses : 2 dmesg-fail(s) 1 fail(s) 1 pass(s)
- Exec time: [0.06, 0.90] s

* igt@kms_bw@linear-tiling-3-displays-1920x1080p:
- Statuses : 1 crash(s) 2 dmesg-fail(s) 3 fail(s)
- Exec time: [0.05, 0.91] s

* igt@kms_bw@linear-tiling-3-displays-2560x1440p:
- Statuses : 1 crash(s) 1 dmesg-fail(s) 4 fail(s)
- Exec time: [0.06, 0.78] s

* igt@kms_bw@linear-tiling-3-displays-3840x2160p:
- Statuses : 1 dmesg-fail(s) 4 fail(s)
- Exec time: [0.07, 1.84] s

* igt@kms_bw@linear-tiling-4-displays-1920x1080p:
- Statuses : 2 crash(s) 2 dmesg-fail(s) 2 fail(s)
- Exec time: [0.06, 0.75] s

* igt@kms_bw@linear-tiling-4-displays-2560x1440p:
- Statuses : 2 crash(s) 1 dmesg-fail(s) 3 fail(s)
- Exec time: [0.05, 0.76] s

* igt@kms_bw@linear-tiling-4-displays-3840x2160p:
- Statuses : 2 crash(s) 3 fail(s)
- Exec time: [0.05, 0.94] s

* igt@kms_bw@linear-tiling-5-displays-1920x1080p:
- Statuses : 3 crash(s) 2 fail(s)
- Exec time: [0.05, 0.75] s

* igt@kms_bw@linear-tiling-5-displays-2560x1440p:
- Statuses : 3 crash(s) 2 fail(s)
- Exec time: [0.05, 0.92] s

* igt@kms_bw@linear-tiling-5-displays-3840x2160p:
- Statuses : 3 crash(s) 1 dmesg-fail(s) 2 fail(s)
- Exec time: [0.06, 0.78] s

* igt@kms_bw@linear-tiling-6-displays-1920x1080p:
- Statuses : 3 crash(s) 1 dmesg-fail(s) 2 fail(s)
- Exec time: [0.06, 0.75] s

* igt@kms_bw@linear-tiling-6-displays-2560x1440p:
- Statuses : 2 crash(s) 2 fail(s)
- Exec time: [0.05, 0.67] s

* igt@kms_bw@linear-tiling-6-displays-3840x2160p:
- Statuses : 2 crash(s) 2 fail(s)
- Exec time: [0.05, 0.67] s

Known issues
------------

Here are the changes found in IGTPW_6091_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_persistence@idempotent:
- shard-snb: NOTRUN -> [SKIP][20] ([fdo#109271] / [i915#1099]) +5 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-snb7/igt@[email protected]

* igt@gem_ctx_sseu@invalid-sseu:
- shard-tglb: NOTRUN -> [SKIP][21] ([i915#280])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb6/igt@[email protected]

* igt@gem_eio@unwedge-stress:
- shard-snb: NOTRUN -> [FAIL][22] ([i915#3354])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-snb2/igt@[email protected]

* igt@gem_exec_fair@basic-deadline:
- shard-apl: NOTRUN -> [FAIL][23] ([i915#2846])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl2/igt@[email protected]

* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][24] -> [FAIL][25] ([i915#2842])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-tglb6/igt@gem_exec_fair@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-tglb: NOTRUN -> [FAIL][26] ([i915#2842]) +1 similar issue
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb7/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [PASS][27] -> [FAIL][28] ([i915#2842])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-iclb1/igt@gem_exec_fair@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-glk: [PASS][29] -> [FAIL][30] ([i915#2842])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-glk6/igt@gem_exec_fair@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-glk3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-iclb: NOTRUN -> [FAIL][31] ([i915#2842])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb4/igt@gem_exec_fair@[email protected]
- shard-glk: NOTRUN -> [FAIL][32] ([i915#2842])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-glk6/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [PASS][33] -> [FAIL][34] ([i915#2849])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-iclb4/igt@gem_exec_fair@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_schedule@u-independent@vcs1:
- shard-tglb: [PASS][35] -> [FAIL][36] ([i915#3795])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-tglb5/igt@gem_exec_schedule@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb3/igt@gem_exec_schedule@[email protected]

* igt@gem_render_copy@y-tiled-mc-ccs-to-vebox-y-tiled:
- shard-iclb: NOTRUN -> [SKIP][37] ([i915#768]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb8/igt@[email protected]

* igt@gem_userptr_blits@unsync-unmap-cycles:
- shard-tglb: NOTRUN -> [SKIP][38] ([i915#3297]) +1 similar issue
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb5/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][39] ([i915#3297])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb8/igt@[email protected]

* igt@gem_userptr_blits@vma-merge:
- shard-apl: NOTRUN -> [FAIL][40] ([i915#3318])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl7/igt@[email protected]

* igt@gen3_render_linear_blits:
- shard-tglb: NOTRUN -> [SKIP][41] ([fdo#109289]) +2 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb8/igt@gen3_render_linear_blits.html

* igt@gen7_exec_parse@bitmasks:
- shard-iclb: NOTRUN -> [SKIP][42] ([fdo#109289])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb4/igt@[email protected]

* igt@gen9_exec_parse@batch-invalid-length:
- shard-snb: NOTRUN -> [SKIP][43] ([fdo#109271]) +412 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-snb6/igt@[email protected]

* igt@gen9_exec_parse@unaligned-jump:
- shard-iclb: NOTRUN -> [SKIP][44] ([i915#2856]) +1 similar issue
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][45] ([i915#2856]) +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb2/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle:
- shard-tglb: NOTRUN -> [WARN][46] ([i915#2681] / [i915#2684])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [WARN][47] ([i915#2684])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb2/igt@[email protected]

* igt@i915_pm_rpm@cursor:
- shard-tglb: NOTRUN -> [SKIP][48] ([i915#579]) +2 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][49] ([i915#579]) +1 similar issue
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb6/igt@[email protected]

* igt@i915_pm_rpm@modeset-lpsp-stress-no-wait:
- shard-kbl: NOTRUN -> [SKIP][50] ([fdo#109271]) +64 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-kbl7/igt@[email protected]

* igt@i915_selftest@live@gt_lrc:
- shard-tglb: NOTRUN -> [DMESG-FAIL][51] ([i915#2373])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb3/igt@i915_selftest@live@gt_lrc.html

* igt@i915_selftest@live@gt_pm:
- shard-tglb: NOTRUN -> [DMESG-FAIL][52] ([i915#1759] / [i915#2291])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb3/igt@i915_selftest@live@gt_pm.html

* igt@kms_atomic_transition@plane-all-modeset-transition-fencing:
- shard-iclb: NOTRUN -> [SKIP][53] ([i915#1769])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][54] ([i915#1769])
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb6/igt@[email protected]

* igt@kms_big_fb@linear-32bpp-rotate-0:
- shard-glk: NOTRUN -> [DMESG-WARN][55] ([i915#118] / [i915#95])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-glk3/igt@[email protected]

* igt@kms_big_fb@linear-32bpp-rotate-180:
- shard-glk: [PASS][56] -> [DMESG-WARN][57] ([i915#118] / [i915#95])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-glk6/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-glk5/igt@[email protected]

* igt@kms_big_fb@x-tiled-16bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][58] ([fdo#111614]) +1 similar issue
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb2/igt@[email protected]

* igt@kms_big_fb@x-tiled-32bpp-rotate-270:
- shard-iclb: NOTRUN -> [SKIP][59] ([fdo#110725] / [fdo#111614]) +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb8/igt@[email protected]

* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-hflip:
- shard-kbl: NOTRUN -> [SKIP][60] ([fdo#109271] / [i915#3777])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-kbl3/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#3777])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-glk6/igt@[email protected]

* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-apl: NOTRUN -> [SKIP][62] ([fdo#109271] / [i915#3777]) +1 similar issue
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl7/igt@[email protected]

* igt@kms_big_fb@yf-tiled-8bpp-rotate-180:
- shard-tglb: NOTRUN -> [SKIP][63] ([fdo#111615]) +2 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb1/igt@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0:
- shard-apl: NOTRUN -> [SKIP][64] ([fdo#109271]) +199 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl3/igt@[email protected]

* igt@kms_big_joiner@basic:
- shard-iclb: NOTRUN -> [SKIP][65] ([i915#2705])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb6/igt@[email protected]

* {igt@kms_bw@linear-tiling-3-displays-1920x1080p} (NEW):
- shard-tglb: NOTRUN -> [DMESG-FAIL][66] ([i915#1385]) +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb7/igt@[email protected]

* {igt@kms_bw@linear-tiling-3-displays-3840x2160p} (NEW):
- shard-tglb: NOTRUN -> [FAIL][67] ([i915#1385]) +5 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb1/igt@[email protected]

* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#3886]) +3 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-kbl1/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html
- shard-glk: NOTRUN -> [SKIP][69] ([fdo#109271] / [i915#3886]) +2 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-glk7/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_mc_ccs:
- shard-iclb: NOTRUN -> [SKIP][70] ([fdo#109278] / [i915#3886]) +2 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb1/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-b-crc-primary-rotation-180-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][71] ([i915#3689]) +4 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb3/igt@kms_ccs@pipe-b-crc-primary-rotation-180-yf_tiled_ccs.html

* igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][72] ([i915#3689] / [i915#3886]) +2 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb3/igt@kms_ccs@pipe-b-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][73] ([fdo#109271] / [i915#3886]) +14 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl6/igt@kms_ccs@pipe-c-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_chamelium@hdmi-aspect-ratio:
- shard-glk: NOTRUN -> [SKIP][74] ([fdo#109271] / [fdo#111827]) +6 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-glk1/igt@[email protected]

* igt@kms_chamelium@vga-hpd-with-enabled-mode:
- shard-iclb: NOTRUN -> [SKIP][75] ([fdo#109284] / [fdo#111827]) +4 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb6/igt@[email protected]

* igt@kms_color@pipe-d-ctm-0-5:
- shard-iclb: NOTRUN -> [SKIP][76] ([fdo#109278] / [i915#1149])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb2/igt@[email protected]

* igt@kms_color_chamelium@pipe-a-ctm-limited-range:
- shard-apl: NOTRUN -> [SKIP][77] ([fdo#109271] / [fdo#111827]) +16 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl8/igt@[email protected]

* igt@kms_color_chamelium@pipe-c-ctm-0-25:
- shard-kbl: NOTRUN -> [SKIP][78] ([fdo#109271] / [fdo#111827]) +6 similar issues
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-kbl7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][79] ([fdo#109284] / [fdo#111827]) +5 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb5/igt@[email protected]

* igt@kms_color_chamelium@pipe-d-ctm-0-75:
- shard-iclb: NOTRUN -> [SKIP][80] ([fdo#109278] / [fdo#109284] / [fdo#111827])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb1/igt@[email protected]

* igt@kms_color_chamelium@pipe-invalid-ctm-matrix-sizes:
- shard-snb: NOTRUN -> [SKIP][81] ([fdo#109271] / [fdo#111827]) +22 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-snb6/igt@[email protected]

* igt@kms_content_protection@atomic:
- shard-tglb: NOTRUN -> [SKIP][82] ([fdo#111828])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb5/igt@[email protected]

* igt@kms_content_protection@dp-mst-lic-type-1:
- shard-iclb: NOTRUN -> [SKIP][83] ([i915#3116])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][84] ([i915#3116])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb6/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-max-size-onscreen:
- shard-tglb: NOTRUN -> [SKIP][85] ([i915#3359]) +3 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb7/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-32x32-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][86] ([i915#3319])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb2/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-512x170-sliding:
- shard-tglb: NOTRUN -> [SKIP][87] ([fdo#109279] / [i915#3359]) +1 similar issue
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb2/igt@[email protected]

* igt@kms_cursor_edge_walk@pipe-d-256x256-left-edge:
- shard-iclb: NOTRUN -> [SKIP][88] ([fdo#109278]) +14 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb7/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
- shard-iclb: NOTRUN -> [SKIP][89] ([fdo#109274] / [fdo#109278])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb7/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-glk: NOTRUN -> [FAIL][90] ([i915#2346])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-glk7/igt@[email protected]

* igt@kms_flip@2x-flip-vs-rmfb:
- shard-iclb: NOTRUN -> [SKIP][91] ([fdo#109274]) +2 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb3/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs:
- shard-kbl: NOTRUN -> [SKIP][92] ([fdo#109271] / [i915#2672])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-kbl6/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html

* igt@kms_force_connector_basic@force-load-detect:
- shard-tglb: NOTRUN -> [SKIP][93] ([fdo#109285])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-tglb: NOTRUN -> [SKIP][94] ([fdo#111825]) +25 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-mmap-gtt.html

* igt@kms_frontbuffer_tracking@psr-2p-primscrn-cur-indfb-move:
- shard-iclb: NOTRUN -> [SKIP][95] ([fdo#109280]) +10 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb2/igt@[email protected]

* igt@kms_hdmi_inject@inject-audio:
- shard-tglb: [PASS][96] -> [SKIP][97] ([i915#433])
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-tglb7/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb2/igt@[email protected]

* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-tglb: NOTRUN -> [SKIP][98] ([i915#1839])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb3/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][99] ([i915#1839])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb1/igt@[email protected]

* igt@kms_pipe_crc_basic@disable-crc-after-crtc-pipe-d:
- shard-apl: NOTRUN -> [SKIP][100] ([fdo#109271] / [i915#533])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl2/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend@pipe-a-planes:
- shard-apl: [PASS][101] -> [DMESG-WARN][102] ([i915#180]) +1 similar issue
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-apl2/igt@kms_plane@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl3/igt@kms_plane@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-max:
- shard-apl: NOTRUN -> [FAIL][103] ([fdo#108145] / [i915#265])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl6/igt@[email protected]

* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-tglb: NOTRUN -> [SKIP][104] ([i915#3536])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb1/igt@[email protected]

* igt@kms_plane_multiple@atomic-pipe-c-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][105] ([fdo#112054])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb7/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area-2:
- shard-tglb: NOTRUN -> [SKIP][106] ([i915#2920]) +1 similar issue
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb2/igt@[email protected]

* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-5:
- shard-kbl: NOTRUN -> [SKIP][107] ([fdo#109271] / [i915#658]) +1 similar issue
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-kbl2/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][108] ([fdo#109271] / [i915#658]) +4 similar issues
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl8/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][109] ([fdo#109271] / [i915#658]) +1 similar issue
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-glk6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][110] ([i915#658]) +1 similar issue
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb4/igt@[email protected]

* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [PASS][111] -> [SKIP][112] ([fdo#109441]) +1 similar issue
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10451/shard-iclb2/igt@kms_psr@psr2_no_drrs.html
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb1/igt@kms_psr@psr2_no_drrs.html

* igt@kms_psr@psr2_sprite_render:
- shard-tglb: NOTRUN -> [FAIL][113] ([i915#132] / [i915#3467])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb8/igt@kms_psr@psr2_sprite_render.html

* igt@kms_psr@psr2_suspend:
- shard-iclb: NOTRUN -> [SKIP][114] ([fdo#109441]) +1 similar issue
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb6/igt@kms_psr@psr2_suspend.html

* igt@kms_setmode@basic:
- shard-snb: NOTRUN -> [FAIL][115] ([i915#31])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-snb6/igt@[email protected]

* igt@kms_sysfs_edid_timing:
- shard-apl: NOTRUN -> [FAIL][116] ([IGT#2])
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-apl8/igt@kms_sysfs_edid_timing.html
- shard-kbl: NOTRUN -> [FAIL][117] ([IGT#2])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-kbl2/igt@kms_sysfs_edid_timing.html

* igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm:
- shard-tglb: NOTRUN -> [SKIP][118] ([i915#3841]) +2 similar issues
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb8/igt@[email protected]

* igt@nouveau_crc@pipe-b-source-rg:
- shard-iclb: NOTRUN -> [SKIP][119] ([i915#2530])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][120] ([i915#2530]) +1 similar issue
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-tglb7/igt@[email protected]

* igt@perf_pmu@event-wait@rcs0:
- shard-iclb: NOTRUN -> [SKIP][121] ([fdo#112283])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/shard-iclb4/igt@perf_pmu@event-w

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6091/index.html

#4 lore raw
In reply to Bindu Ramamurthy
Quoted 98 lines · Bindu Ramamurthy

From: Aurabindo Pillai <[email protected]>

Add linear tiling mode tests

---

Changes since v4:
Removed igt_skip_on_simulation from main function.
Changes since v3:
This version implements array of test modes in igt_main, global IGT_MAX_PIPE and other comments from Mark.
Changes since v2:
Test added as generic IGT.

 tests/kms_bw.c    | 217 ++++++++++++++++++++++++++++++++++++++++++++++
 tests/meson.build |   1 +
 2 files changed, 218 insertions(+)
 create mode 100644 tests/kms_bw.c
tests/kms_bw.c new file +70 -0
new file mode 100644
index 00000000..1c287c0f
@@ -0,0 +1,217 @@
+/*
+ * Copyrights 2021 Advanced Micro Devices, Inc.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
+ * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
+ * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ */
+
+#include "drm_mode.h"
+#include "igt.h"
+#include "drm.h"
+#include <stdio.h>
+#include <xf86drmMode.h>
+
+
+/* Common test data. */
+typedef struct data {
+        igt_display_t display;
+        igt_plane_t *primary[IGT_MAX_PIPES];
+        igt_output_t *output[IGT_MAX_PIPES];
+        igt_pipe_t *pipe[IGT_MAX_PIPES];
+        igt_pipe_crc_t *pipe_crc[IGT_MAX_PIPES];
+        drmModeModeInfo mode[IGT_MAX_PIPES];
+        enum pipe pipe_id[IGT_MAX_PIPES];
+        int w[IGT_MAX_PIPES];
+        int h[IGT_MAX_PIPES];
+        int fd;
+} data_t;
+
+static drmModeModeInfo test_mode[] = {
+	{ 173000,
+	1920, 2048, 2248, 2576, 0,
+	1080, 1083, 1088, 1120, 0,
+	60,
+	DRM_MODE_FLAG_NHSYNC,
+	0x40,
+	"1920x1080p\0",
+	}, /* test_mode_1 */
+
+	{ 312250,
+	2560, 2752, 3024, 3488, 0,
+	1440, 1443, 1448, 1493, 0,
+	60,
+	DRM_MODE_FLAG_NHSYNC,
+	0x40,
+	"2560x1440p\0",
+	}, /* test_mode_2 */
+
+	{ 533000,
+	3840, 3888, 3920, 4000, 0,
+	2160, 2163, 2168, 2222, 0,
+	60,
+	DRM_MODE_FLAG_NHSYNC,
+	0x40,
+	"3840x2160p\0",
+	}, /* test_mode_3 */

tests/kms_bw.c line 80

Quoted 10 lines
tests/kms_bw.c new file +10 -0
+
+};
+
+static void test_init(data_t *data)
+{
+	igt_display_t *display = &data->display;
+	int i, max_pipes = display->n_pipes;
+
+	for_each_pipe(display, i) {
+		data->pipe_id[i] = PIPE_A + i;

i is already a valid PIPE_x here, no need to PIPE_A + i.

But beware of holes in your array. for_each_pipe goes through valid pipes and the set of valid pipes can be PIPE_A, PIPE_C, leaving PIPE_B (index 1) uninitialized.

Quoted 57 lines
tests/kms_bw.c new file +57 -0
+		data->pipe[i] = &data->display.pipes[data->pipe_id[i]];
+		data->primary[i] = igt_pipe_get_plane_type(
+			data->pipe[i], DRM_PLANE_TYPE_PRIMARY);
+		data->pipe_crc[i] =
+			igt_pipe_crc_new(data->fd, data->pipe_id[i], "auto");
+	}
+
+	for (i = 0; i < display->n_outputs && i < max_pipes; i++) {
+		igt_output_t *output = &display->outputs[i];
+
+		data->output[i] = output;
+
+		/* Only allow physically connected displays for the tests. */
+		if (!igt_output_is_connected(output))
+			continue;
+
+		igt_assert(kmstest_get_connector_default_mode(
+			data->fd, output->config.connector, &data->mode[i]));
+
+		data->w[i] = data->mode[i].hdisplay;
+		data->h[i] = data->mode[i].vdisplay;
+	}
+
+
+	igt_require(data->output[0]);
+	igt_display_reset(display);
+}
+
+static void test_fini(data_t *data)
+{
+	igt_display_t *display = &data->display;
+	int i;
+
+	for_each_pipe(display, i) {
+		igt_pipe_crc_free(data->pipe_crc[i]);
+	}
+
+	igt_display_reset(display);
+	igt_display_commit_atomic(display, DRM_MODE_ATOMIC_ALLOW_MODESET, 0);
+}
+
+/* Forces a mode for a connector. */
+static void force_output_mode(data_t *d, igt_output_t *output,
+			      const drmModeModeInfo *mode)
+{
+	/* This allows us to create a virtual sink. */
+	if (!igt_output_is_connected(output)) {
+		kmstest_force_edid(d->fd, output->config.connector,
+				   igt_kms_get_4k_edid());
+
+		kmstest_force_connector(d->fd, output->config.connector,
+					FORCE_CONNECTOR_DIGITAL);
+	}
+
+	igt_output_override_mode(output, mode);
+}
+

tests/kms_bw.c line 147

Quoted 10 lines
tests/kms_bw.c new file +10 -0
+static void run_test_linear_tiling(data_t *data, int pipe, const drmModeModeInfo *mode) {
+	igt_display_t *display = &data->display;
+	igt_output_t *output;
+	struct igt_fb buffer[IGT_MAX_PIPES];
+	igt_crc_t zero, captured[IGT_MAX_PIPES];
+	int i = 0;
+
+
+	igt_skip_on_f(pipe >= igt_display_get_n_pipes(display),
+                      "ASIC does not have %d pipes\n", pipe);

The funky fused pipes support for i915 mentioned above has caused igt_display_get_n_pipes to not quite do what you want to do here. It always gives IGT_MAX_PIPES regardless of the amount of valid crtcs.

To get the amount of valid pipes you can do

enum pipe pipe;
num_pipes = 0;
for_each_pipe(display, pipe) num_pipes++;

tests/kms_bw.c line 152

Quoted 5 lines
tests/kms_bw.c new file +5 -0
+
+	test_init(data);
+
+	/* create buffers */
+	for (i = 0; i <= pipe; i++) {

Looping through the arrays in data this way accesses the holes mentioned above.

Quoted 43 lines
tests/kms_bw.c new file +43 -0
+
+		output = data->output[i];
+		if (!output) {
+			continue;
+		}
+
+		force_output_mode(data, output, mode);
+
+		igt_create_color_fb(display->drm_fd, test_mode[0].hdisplay,
+				    test_mode[0].vdisplay, DRM_FORMAT_XRGB8888,
+				    DRM_FORMAT_MOD_NONE, 1.f, 0.f, 0.f,
+				    &buffer[i]);
+
+		igt_output_set_pipe(output, i);
+
+		igt_plane_set_fb(data->primary[i], &buffer[i]);
+	}
+
+	igt_display_commit_atomic(
+		display, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
+
+
+	for (i = 0; i <= pipe; i++) {
+		igt_pipe_crc_collect_crc(data->pipe_crc[i], &captured[i]);
+		igt_assert_f(!igt_check_crc_equal(&zero, &captured[i]),
+			     "CRC is zero\n");
+		igt_remove_fb(display->drm_fd, &buffer[i]);
+	}
+
+	test_fini(data);
+}
+
+igt_main
+{
+	data_t data;
+	int i = 0, j = 0;
+
+
+	memset(&data, 0, sizeof(data));
+
+	igt_fixture
+	{
+		data.fd = drm_open_driver_master(DRIVER_ANY);

tests/kms_bw.c line 205

Quoted 10 lines
tests/kms_bw.c new file +10 -0
+
+		kmstest_set_vt_graphics_mode();
+
+		igt_display_require(&data.display, data.fd);
+		igt_require(&data.display.is_atomic);
+		igt_display_require_output(&data.display);
+
+	}
+
+	for (i = 0; i < IGT_MAX_PIPES; i++)

I was going to suggest using for_each_pipe_static for this but conceptually this makes more sense, as it's going for the _amount_ of pipes.

Please add comment here that explains that.

Signature · 1 line
Petri Latvala
Quoted 27 lines
tests/kms_bw.c new file +12 -0
+		for (j = 0; j < ARRAY_SIZE(test_mode); j++) {
+			igt_subtest_f("linear-tiling-%d-displays-%s", i+1,
+			      test_mode[j].name)
+			run_test_linear_tiling(&data, i, &test_mode[j]);
+		}
+
+
+	igt_fixture
+	{
+		igt_display_fini(&data.display);
+	}
+}
tests/meson.build +1 -0
index 1bdfddbb..6d1ebe42 100644
@@ -22,6 +22,7 @@ test_progs = [
 	'kms_big_fb',
 	'kms_big_joiner' ,
 	'kms_busy',
+	'kms_bw',
 	'kms_ccs',
 	'kms_cdclk',
 	'kms_concurrent',
Signature · 1 line
2.25.1