* [igt-dev] [PATCH i-g-t v5] tests/kms_bw: Add generic commit test for bandwidth validation
@ 2021-10-04 19:28 Aurabindo Pillai
2021-10-04 20:25 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Aurabindo Pillai @ 2021-10-04 19:28 UTC (permalink / raw)
To: igt-dev; +Cc: rodrigo.siqueira
Add linear tiling mode tests
Changes in v5:
Changes to test_init so that test invalid pipes are not
used if certain pipes dont exist in chronological order
Added comment explaining use of explicit for loop over
IGT_MAX_PIPES instead of for_each_pipe_static()
Changes in v4:
Removed igt_skip_on_simulation from main function.
Changes in v3:
This version implements array of test modes in igt_main,
global IGT_MAX_PIPE and other comments from Mark.
Changes in v2:
Test added as generic IGT.
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Bindu R <bindu.r@amd.com>
---
tests/kms_bw.c | 228 ++++++++++++++++++++++++++++++++++++++++++++++
tests/meson.build | 1 +
2 files changed, 229 insertions(+)
create mode 100644 tests/kms_bw.c
diff --git a/tests/kms_bw.c b/tests/kms_bw.c
new file mode 100644
index 00000000..a4553cde
--- /dev/null
+++ b/tests/kms_bw.c
@@ -0,0 +1,228 @@
+/*
+ * 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;
+ igt_output_t *output;
+
+ for_each_pipe(display, i) {
+ data->pipe_id[i] = 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++) {
+ if (!data->pipe[i])
+ continue;
+
+ 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) {
+ if (data->pipe_crc[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, num_pipes = 0;
+ enum pipe p;
+
+ /* Cannot use igt_display_get_n_pipes() due to fused pipes on i915 where they do
+ * not give the numver of valid crtcs and always return IGT_MAX_PIPES */
+ for_each_pipe(display, p) num_pipes++;
+
+ igt_skip_on_f(pipe > num_pipes,
+ "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++) {
+ output = data->output[i];
+ if (!output) {
+ continue;
+ }
+
+ 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);
+
+ }
+
+ /* We're not using for_each_pipe_static because we need the
+ * _amount_ of pipes */
+ 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);
+ }
+}
diff --git a/tests/meson.build b/tests/meson.build
index 8ad52596..c4cbe229 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -19,6 +19,7 @@ test_progs = [
'kms_atomic',
'kms_atomic_interruptible',
'kms_atomic_transition',
+ 'kms_bw',
'kms_concurrent',
'kms_content_protection',
'kms_cursor_crc',
--
2.30.2
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_bw: Add generic commit test for bandwidth validation
2021-10-04 19:28 [igt-dev] [PATCH i-g-t v5] tests/kms_bw: Add generic commit test for bandwidth validation Aurabindo Pillai
@ 2021-10-04 20:25 ` Patchwork
2021-10-04 23:02 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-10-07 14:37 ` [igt-dev] [PATCH i-g-t v5] " Rodrigo Siqueira
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2021-10-04 20:25 UTC (permalink / raw)
To: Aurabindo Pillai; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 5131 bytes --]
== Series Details ==
Series: tests/kms_bw: Add generic commit test for bandwidth validation
URL : https://patchwork.freedesktop.org/series/95425/
State : success
== Summary ==
CI Bug Log - changes from IGT_6229 -> IGTPW_6281
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/index.html
Known issues
------------
Here are the changes found in IGTPW_6281 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_cs_nop@nop-compute0:
- fi-ilk-650: NOTRUN -> [SKIP][1] ([fdo#109271]) +35 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/fi-ilk-650/igt@amdgpu/amd_cs_nop@nop-compute0.html
* igt@core_hotunplug@unbind-rebind:
- fi-bdw-samus: NOTRUN -> [WARN][2] ([i915#3718])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/fi-bdw-samus/igt@core_hotunplug@unbind-rebind.html
* igt@i915_selftest@live@execlists:
- fi-bsw-n3050: [PASS][3] -> [INCOMPLETE][4] ([i915#2940])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/fi-bsw-n3050/igt@i915_selftest@live@execlists.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/fi-bsw-n3050/igt@i915_selftest@live@execlists.html
* igt@kms_chamelium@dp-hpd-fast:
- fi-ilk-650: NOTRUN -> [SKIP][5] ([fdo#109271] / [fdo#111827]) +8 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/fi-ilk-650/igt@kms_chamelium@dp-hpd-fast.html
* igt@kms_chamelium@hdmi-edid-read:
- fi-bdw-samus: NOTRUN -> [SKIP][6] ([fdo#109271] / [fdo#111827]) +8 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/fi-bdw-samus/igt@kms_chamelium@hdmi-edid-read.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-bdw-samus: NOTRUN -> [SKIP][7] ([fdo#109271]) +29 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/fi-bdw-samus/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d.html
* igt@runner@aborted:
- fi-bsw-n3050: NOTRUN -> [FAIL][8] ([fdo#109271] / [i915#1436] / [i915#3428])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/fi-bsw-n3050/igt@runner@aborted.html
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3:
- fi-bdw-samus: [INCOMPLETE][9] ([i915#146] / [i915#4173]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/fi-bdw-samus/igt@gem_exec_suspend@basic-s3.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/fi-bdw-samus/igt@gem_exec_suspend@basic-s3.html
* igt@kms_chamelium@hdmi-edid-read:
- fi-kbl-7500u: [FAIL][11] ([i915#3449]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/fi-kbl-7500u/igt@kms_chamelium@hdmi-edid-read.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/fi-kbl-7500u/igt@kms_chamelium@hdmi-edid-read.html
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#2940]: https://gitlab.freedesktop.org/drm/intel/issues/2940
[i915#3428]: https://gitlab.freedesktop.org/drm/intel/issues/3428
[i915#3449]: https://gitlab.freedesktop.org/drm/intel/issues/3449
[i915#3718]: https://gitlab.freedesktop.org/drm/intel/issues/3718
[i915#4173]: https://gitlab.freedesktop.org/drm/intel/issues/4173
Participating hosts (33 -> 32)
------------------------------
Additional (1): fi-ilk-650
Missing (2): fi-tgl-1115g4 fi-bsw-cyan
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_6229 -> IGTPW_6281
CI-20190529: 20190529
CI_DRM_10681: fe9b639a95a08713c8ee4ef110ce6a6388c9f9f2 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6281: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/index.html
IGT_6229: dff598c339a2da647f15c86d0015e16378c7ea9b @ 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_6281/index.html
[-- Attachment #2: Type: text/html, Size: 6387 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for tests/kms_bw: Add generic commit test for bandwidth validation
2021-10-04 19:28 [igt-dev] [PATCH i-g-t v5] tests/kms_bw: Add generic commit test for bandwidth validation Aurabindo Pillai
2021-10-04 20:25 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2021-10-04 23:02 ` Patchwork
2021-10-07 14:37 ` [igt-dev] [PATCH i-g-t v5] " Rodrigo Siqueira
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2021-10-04 23:02 UTC (permalink / raw)
To: Aurabindo Pillai; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 30280 bytes --]
== Series Details ==
Series: tests/kms_bw: Add generic commit test for bandwidth validation
URL : https://patchwork.freedesktop.org/series/95425/
State : success
== Summary ==
CI Bug Log - changes from IGT_6229_full -> IGTPW_6281_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_6281_full:
### IGT changes ###
#### Possible regressions ####
* {igt@kms_bw@linear-tiling-2-displays-1920x1080p} (NEW):
- shard-kbl: NOTRUN -> [DMESG-FAIL][1] +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl3/igt@kms_bw@linear-tiling-2-displays-1920x1080p.html
- shard-iclb: NOTRUN -> [DMESG-FAIL][2] +2 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb6/igt@kms_bw@linear-tiling-2-displays-1920x1080p.html
* {igt@kms_bw@linear-tiling-3-displays-2560x1440p} (NEW):
- shard-kbl: NOTRUN -> [FAIL][3] +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl1/igt@kms_bw@linear-tiling-3-displays-2560x1440p.html
- shard-snb: NOTRUN -> [FAIL][4] +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-snb2/igt@kms_bw@linear-tiling-3-displays-2560x1440p.html
* {igt@kms_bw@linear-tiling-4-displays-1920x1080p} (NEW):
- shard-apl: NOTRUN -> [DMESG-FAIL][5] +5 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl7/igt@kms_bw@linear-tiling-4-displays-1920x1080p.html
* {igt@kms_bw@linear-tiling-4-displays-3840x2160p} (NEW):
- shard-iclb: NOTRUN -> [FAIL][6] +5 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb4/igt@kms_bw@linear-tiling-4-displays-3840x2160p.html
* {igt@kms_bw@linear-tiling-6-displays-2560x1440p} (NEW):
- shard-iclb: NOTRUN -> [SKIP][7] +5 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb5/igt@kms_bw@linear-tiling-6-displays-2560x1440p.html
- shard-tglb: NOTRUN -> [SKIP][8] +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb8/igt@kms_bw@linear-tiling-6-displays-2560x1440p.html
New tests
---------
New tests have been introduced between IGT_6229_full and IGTPW_6281_full:
### New IGT tests (18) ###
* igt@kms_bw@linear-tiling-1-displays-1920x1080p:
- Statuses : 1 fail(s) 1 pass(s)
- Exec time: [0.05, 0.62] s
* igt@kms_bw@linear-tiling-1-displays-2560x1440p:
- Statuses : 2 fail(s) 4 pass(s)
- Exec time: [0.04, 0.58] s
* igt@kms_bw@linear-tiling-1-displays-3840x2160p:
- Statuses : 1 fail(s) 4 pass(s)
- Exec time: [0.04, 0.62] s
* igt@kms_bw@linear-tiling-2-displays-1920x1080p:
- Statuses : 2 dmesg-fail(s) 1 fail(s) 1 pass(s)
- Exec time: [0.04, 0.84] 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.85] s
* igt@kms_bw@linear-tiling-2-displays-3840x2160p:
- Statuses : 3 dmesg-fail(s) 2 fail(s) 1 pass(s)
- Exec time: [0.07, 0.89] s
* igt@kms_bw@linear-tiling-3-displays-1920x1080p:
- Statuses : 1 dmesg-fail(s) 3 fail(s) 1 pass(s)
- Exec time: [0.07, 0.83] s
* igt@kms_bw@linear-tiling-3-displays-2560x1440p:
- Statuses : 4 fail(s) 1 pass(s)
- Exec time: [0.07, 0.87] s
* igt@kms_bw@linear-tiling-3-displays-3840x2160p:
- Statuses : 4 fail(s) 1 pass(s)
- Exec time: [0.07, 0.85] s
* igt@kms_bw@linear-tiling-4-displays-1920x1080p:
- Statuses : 1 dmesg-fail(s) 1 fail(s) 1 pass(s) 1 skip(s)
- Exec time: [0.0, 0.80] s
* igt@kms_bw@linear-tiling-4-displays-2560x1440p:
- Statuses : 1 dmesg-fail(s) 3 fail(s) 1 pass(s)
- Exec time: [0.09, 0.91] s
* igt@kms_bw@linear-tiling-4-displays-3840x2160p:
- Statuses : 1 dmesg-fail(s) 1 fail(s) 1 pass(s)
- Exec time: [0.10, 0.82] s
* igt@kms_bw@linear-tiling-5-displays-1920x1080p:
- Statuses : 1 fail(s) 4 skip(s)
- Exec time: [0.0, 0.08] s
* igt@kms_bw@linear-tiling-5-displays-2560x1440p:
- Statuses : 1 fail(s) 5 skip(s)
- Exec time: [0.0, 0.06] s
* igt@kms_bw@linear-tiling-5-displays-3840x2160p:
- Statuses : 1 fail(s) 4 skip(s)
- Exec time: [0.0, 0.05] s
* igt@kms_bw@linear-tiling-6-displays-1920x1080p:
- Statuses : 4 skip(s)
- Exec time: [0.0] s
* igt@kms_bw@linear-tiling-6-displays-2560x1440p:
- Statuses : 5 skip(s)
- Exec time: [0.0] s
* igt@kms_bw@linear-tiling-6-displays-3840x2160p:
- Statuses : 6 skip(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_6281_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_persistence@legacy-engines-queued:
- shard-snb: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#1099]) +6 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-snb7/igt@gem_ctx_persistence@legacy-engines-queued.html
* igt@gem_exec_fair@basic-deadline:
- shard-kbl: [PASS][10] -> [FAIL][11] ([i915#2846])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-kbl4/igt@gem_exec_fair@basic-deadline.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl4/igt@gem_exec_fair@basic-deadline.html
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [PASS][12] -> [FAIL][13] ([i915#2842]) +2 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-tglb6/igt@gem_exec_fair@basic-flow@rcs0.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb2/igt@gem_exec_fair@basic-flow@rcs0.html
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-kbl: NOTRUN -> [FAIL][14] ([i915#2842])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl4/igt@gem_exec_fair@basic-none-solo@rcs0.html
* igt@gem_exec_fair@basic-none@rcs0:
- shard-glk: [PASS][15] -> [FAIL][16] ([i915#2842]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-glk5/igt@gem_exec_fair@basic-none@rcs0.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk9/igt@gem_exec_fair@basic-none@rcs0.html
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-glk: NOTRUN -> [FAIL][17] ([i915#2842]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk6/igt@gem_exec_fair@basic-throttle@rcs0.html
- shard-tglb: NOTRUN -> [FAIL][18] ([i915#2842])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb6/igt@gem_exec_fair@basic-throttle@rcs0.html
- shard-iclb: NOTRUN -> [FAIL][19] ([i915#2849])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb5/igt@gem_exec_fair@basic-throttle@rcs0.html
* igt@gem_exec_flush@basic-batch-kernel-default-cmd:
- shard-iclb: NOTRUN -> [SKIP][20] ([fdo#109313])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb1/igt@gem_exec_flush@basic-batch-kernel-default-cmd.html
- shard-tglb: NOTRUN -> [SKIP][21] ([fdo#109313])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb1/igt@gem_exec_flush@basic-batch-kernel-default-cmd.html
* igt@gem_exec_whisper@basic-queues-forked-all:
- shard-glk: [PASS][22] -> [DMESG-WARN][23] ([i915#118] / [i915#95]) +1 similar issue
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-glk3/igt@gem_exec_whisper@basic-queues-forked-all.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk6/igt@gem_exec_whisper@basic-queues-forked-all.html
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [PASS][24] -> [SKIP][25] ([i915#2190])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-tglb5/igt@gem_huc_copy@huc-copy.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb6/igt@gem_huc_copy@huc-copy.html
- shard-apl: NOTRUN -> [SKIP][26] ([fdo#109271] / [i915#2190])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl1/igt@gem_huc_copy@huc-copy.html
* igt@gem_render_copy@y-tiled-to-vebox-linear:
- shard-iclb: NOTRUN -> [SKIP][27] ([i915#768]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb7/igt@gem_render_copy@y-tiled-to-vebox-linear.html
* igt@gen3_render_linear_blits:
- shard-tglb: NOTRUN -> [SKIP][28] ([fdo#109289]) +2 similar issues
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb3/igt@gen3_render_linear_blits.html
* igt@gen3_render_mixed_blits:
- shard-iclb: NOTRUN -> [SKIP][29] ([fdo#109289])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb6/igt@gen3_render_mixed_blits.html
* igt@gen9_exec_parse@bb-chained:
- shard-tglb: NOTRUN -> [SKIP][30] ([i915#2856])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb1/igt@gen9_exec_parse@bb-chained.html
* igt@i915_pm_dc@dc6-dpms:
- shard-kbl: NOTRUN -> [FAIL][31] ([i915#454])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl2/igt@i915_pm_dc@dc6-dpms.html
- shard-tglb: NOTRUN -> [FAIL][32] ([i915#454])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb5/igt@i915_pm_dc@dc6-dpms.html
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][33] -> [FAIL][34] ([i915#454])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-iclb4/igt@i915_pm_dc@dc6-psr.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb6/igt@i915_pm_dc@dc6-psr.html
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-apl: NOTRUN -> [SKIP][35] ([fdo#109271] / [i915#1937])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl3/igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp.html
* igt@i915_pm_rpm@gem-execbuf-stress-pc8:
- shard-iclb: NOTRUN -> [SKIP][36] ([fdo#109293] / [fdo#109506])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb1/igt@i915_pm_rpm@gem-execbuf-stress-pc8.html
- shard-tglb: NOTRUN -> [SKIP][37] ([fdo#109506] / [i915#2411])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb1/igt@i915_pm_rpm@gem-execbuf-stress-pc8.html
* igt@i915_suspend@fence-restore-untiled:
- shard-kbl: NOTRUN -> [DMESG-WARN][38] ([i915#180])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl7/igt@i915_suspend@fence-restore-untiled.html
* igt@i915_suspend@forcewake:
- shard-kbl: [PASS][39] -> [DMESG-WARN][40] ([i915#180]) +3 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-kbl2/igt@i915_suspend@forcewake.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl3/igt@i915_suspend@forcewake.html
* igt@i915_suspend@sysfs-reader:
- shard-tglb: [PASS][41] -> [INCOMPLETE][42] ([i915#456]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-tglb6/igt@i915_suspend@sysfs-reader.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb7/igt@i915_suspend@sysfs-reader.html
* igt@kms_atomic_transition@plane-all-modeset-transition:
- shard-iclb: NOTRUN -> [SKIP][43] ([i915#1769])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb8/igt@kms_atomic_transition@plane-all-modeset-transition.html
* igt@kms_big_fb@linear-32bpp-rotate-0:
- shard-glk: NOTRUN -> [DMESG-WARN][44] ([i915#118] / [i915#95]) +1 similar issue
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk8/igt@kms_big_fb@linear-32bpp-rotate-0.html
* igt@kms_big_fb@x-tiled-16bpp-rotate-90:
- shard-iclb: NOTRUN -> [SKIP][45] ([fdo#110725] / [fdo#111614])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb2/igt@kms_big_fb@x-tiled-16bpp-rotate-90.html
* igt@kms_big_fb@x-tiled-8bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][46] ([fdo#111614]) +1 similar issue
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb5/igt@kms_big_fb@x-tiled-8bpp-rotate-270.html
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-kbl: NOTRUN -> [SKIP][47] ([fdo#109271] / [i915#3777])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl4/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0-hflip.html
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-apl: NOTRUN -> [SKIP][48] ([fdo#109271] / [i915#3777]) +2 similar issues
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl6/igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip.html
* igt@kms_big_joiner@2x-modeset:
- shard-iclb: NOTRUN -> [SKIP][49] ([i915#2705])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb1/igt@kms_big_joiner@2x-modeset.html
- shard-tglb: NOTRUN -> [SKIP][50] ([i915#2705])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb7/igt@kms_big_joiner@2x-modeset.html
* {igt@kms_bw@linear-tiling-1-displays-2560x1440p} (NEW):
- shard-tglb: NOTRUN -> [FAIL][51] ([i915#1385]) +13 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb3/igt@kms_bw@linear-tiling-1-displays-2560x1440p.html
* igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_gen12_mc_ccs:
- shard-tglb: NOTRUN -> [SKIP][52] ([i915#3689] / [i915#3886]) +1 similar issue
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb8/igt@kms_ccs@pipe-a-bad-pixel-format-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][53] ([fdo#109271] / [i915#3886]) +4 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl3/igt@kms_ccs@pipe-a-bad-rotation-90-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][54] ([fdo#109271] / [i915#3886]) +10 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl8/igt@kms_ccs@pipe-a-crc-sprite-planes-basic-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-random-ccs-data-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][55] ([i915#3689]) +11 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb2/igt@kms_ccs@pipe-a-random-ccs-data-yf_tiled_ccs.html
* igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][56] ([fdo#109271] / [i915#3886])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk1/igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_rc_ccs_cc.html
- shard-iclb: NOTRUN -> [SKIP][57] ([fdo#109278] / [i915#3886])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb6/igt@kms_ccs@pipe-c-bad-pixel-format-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_chamelium@hdmi-audio:
- shard-iclb: NOTRUN -> [SKIP][58] ([fdo#109284] / [fdo#111827]) +5 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb7/igt@kms_chamelium@hdmi-audio.html
* igt@kms_chamelium@hdmi-edid-change-during-suspend:
- shard-apl: NOTRUN -> [SKIP][59] ([fdo#109271] / [fdo#111827]) +22 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl3/igt@kms_chamelium@hdmi-edid-change-during-suspend.html
* igt@kms_chamelium@vga-hpd-without-ddc:
- shard-snb: NOTRUN -> [SKIP][60] ([fdo#109271] / [fdo#111827]) +24 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-snb5/igt@kms_chamelium@vga-hpd-without-ddc.html
* igt@kms_color@pipe-d-ctm-blue-to-red:
- shard-iclb: NOTRUN -> [SKIP][61] ([fdo#109278] / [i915#1149])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb7/igt@kms_color@pipe-d-ctm-blue-to-red.html
* igt@kms_color_chamelium@pipe-a-degamma:
- shard-kbl: NOTRUN -> [SKIP][62] ([fdo#109271] / [fdo#111827]) +17 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl7/igt@kms_color_chamelium@pipe-a-degamma.html
* igt@kms_color_chamelium@pipe-b-ctm-limited-range:
- shard-tglb: NOTRUN -> [SKIP][63] ([fdo#109284] / [fdo#111827]) +10 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb5/igt@kms_color_chamelium@pipe-b-ctm-limited-range.html
* igt@kms_color_chamelium@pipe-d-ctm-blue-to-red:
- shard-glk: NOTRUN -> [SKIP][64] ([fdo#109271] / [fdo#111827]) +6 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk6/igt@kms_color_chamelium@pipe-d-ctm-blue-to-red.html
- shard-iclb: NOTRUN -> [SKIP][65] ([fdo#109278] / [fdo#109284] / [fdo#111827])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb5/igt@kms_color_chamelium@pipe-d-ctm-blue-to-red.html
* igt@kms_content_protection@dp-mst-lic-type-0:
- shard-iclb: NOTRUN -> [SKIP][66] ([i915#3116])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb7/igt@kms_content_protection@dp-mst-lic-type-0.html
- shard-tglb: NOTRUN -> [SKIP][67] ([i915#3116])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb5/igt@kms_content_protection@dp-mst-lic-type-0.html
* igt@kms_content_protection@legacy:
- shard-kbl: NOTRUN -> [TIMEOUT][68] ([i915#1319]) +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl2/igt@kms_content_protection@legacy.html
- shard-tglb: NOTRUN -> [SKIP][69] ([fdo#111828]) +1 similar issue
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb2/igt@kms_content_protection@legacy.html
- shard-apl: NOTRUN -> [TIMEOUT][70] ([i915#1319])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl1/igt@kms_content_protection@legacy.html
* igt@kms_cursor_crc@pipe-a-cursor-512x512-rapid-movement:
- shard-iclb: NOTRUN -> [SKIP][71] ([fdo#109278] / [fdo#109279]) +2 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb4/igt@kms_cursor_crc@pipe-a-cursor-512x512-rapid-movement.html
* igt@kms_cursor_crc@pipe-b-cursor-32x10-random:
- shard-tglb: NOTRUN -> [SKIP][72] ([i915#3359]) +3 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb2/igt@kms_cursor_crc@pipe-b-cursor-32x10-random.html
* igt@kms_cursor_crc@pipe-c-cursor-32x32-random:
- shard-tglb: NOTRUN -> [SKIP][73] ([i915#3319]) +4 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb2/igt@kms_cursor_crc@pipe-c-cursor-32x32-random.html
* igt@kms_cursor_crc@pipe-d-cursor-512x512-rapid-movement:
- shard-tglb: NOTRUN -> [SKIP][74] ([fdo#109279] / [i915#3359]) +3 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb6/igt@kms_cursor_crc@pipe-d-cursor-512x512-rapid-movement.html
* igt@kms_cursor_edge_walk@pipe-d-256x256-left-edge:
- shard-iclb: NOTRUN -> [SKIP][75] ([fdo#109278]) +22 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb5/igt@kms_cursor_edge_walk@pipe-d-256x256-left-edge.html
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-tglb: NOTRUN -> [SKIP][76] ([fdo#111825]) +37 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb5/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic.html
- shard-iclb: NOTRUN -> [SKIP][77] ([fdo#109274] / [fdo#109278]) +3 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb3/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic.html
* igt@kms_dither@fb-8bpc-vs-panel-8bpc@edp-1-pipe-a:
- shard-tglb: NOTRUN -> [SKIP][78] ([i915#3788])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb1/igt@kms_dither@fb-8bpc-vs-panel-8bpc@edp-1-pipe-a.html
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-tglb: [PASS][79] -> [INCOMPLETE][80] ([i915#4173] / [i915#456])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-tglb3/igt@kms_fbcon_fbt@fbc-suspend.html
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb7/igt@kms_fbcon_fbt@fbc-suspend.html
* igt@kms_flip@2x-flip-vs-wf_vblank-interruptible:
- shard-iclb: NOTRUN -> [SKIP][81] ([fdo#109274]) +6 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb4/igt@kms_flip@2x-flip-vs-wf_vblank-interruptible.html
* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-dp1:
- shard-kbl: [PASS][82] -> [FAIL][83] ([i915#2122])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-kbl3/igt@kms_flip@plain-flip-fb-recreate-interruptible@b-dp1.html
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl6/igt@kms_flip@plain-flip-fb-recreate-interruptible@b-dp1.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile:
- shard-tglb: NOTRUN -> [SKIP][84] ([i915#2587])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb2/igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile:
- shard-iclb: [PASS][85] -> [SKIP][86] ([i915#3701])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-iclb8/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile.html
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-pwrite:
- shard-snb: NOTRUN -> [SKIP][87] ([fdo#109271]) +493 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-snb5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu:
- shard-kbl: NOTRUN -> [SKIP][88] ([fdo#109271]) +197 similar issues
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl4/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-shrfb-draw-mmap-wc:
- shard-iclb: NOTRUN -> [SKIP][89] ([fdo#109280]) +18 similar issues
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb7/igt@kms_frontbuffer_tracking@psr-2p-primscrn-pri-shrfb-draw-mmap-wc.html
* igt@kms_lease@invalid-create-leases:
- shard-apl: NOTRUN -> [FAIL][90] ([i915#4262])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl7/igt@kms_lease@invalid-create-leases.html
* igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb:
- shard-glk: NOTRUN -> [FAIL][91] ([i915#265])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk7/igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb.html
- shard-apl: NOTRUN -> [FAIL][92] ([i915#265])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl6/igt@kms_plane_alpha_blend@pipe-b-alpha-transparent-fb.html
* igt@kms_plane_alpha_blend@pipe-c-alpha-7efc:
- shard-kbl: NOTRUN -> [FAIL][93] ([fdo#108145] / [i915#265]) +3 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl2/igt@kms_plane_alpha_blend@pipe-c-alpha-7efc.html
* igt@kms_plane_alpha_blend@pipe-c-alpha-basic:
- shard-apl: NOTRUN -> [FAIL][94] ([fdo#108145] / [i915#265]) +4 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl6/igt@kms_plane_alpha_blend@pipe-c-alpha-basic.html
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max:
- shard-glk: NOTRUN -> [FAIL][95] ([fdo#108145] / [i915#265]) +1 similar issue
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk2/igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max.html
* igt@kms_plane_cursor@pipe-d-viewport-size-256:
- shard-glk: NOTRUN -> [SKIP][96] ([fdo#109271]) +79 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk2/igt@kms_plane_cursor@pipe-d-viewport-size-256.html
* igt@kms_plane_lowres@pipe-a-tiling-y:
- shard-iclb: NOTRUN -> [SKIP][97] ([i915#3536]) +1 similar issue
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb3/igt@kms_plane_lowres@pipe-a-tiling-y.html
* igt@kms_plane_lowres@pipe-b-tiling-none:
- shard-tglb: NOTRUN -> [SKIP][98] ([i915#3536]) +3 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb8/igt@kms_plane_lowres@pipe-b-tiling-none.html
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2:
- shard-glk: NOTRUN -> [SKIP][99] ([fdo#109271] / [i915#658])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk2/igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-2.html
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-4:
- shard-tglb: NOTRUN -> [SKIP][100] ([i915#2920]) +2 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb2/igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-4.html
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-4:
- shard-apl: NOTRUN -> [SKIP][101] ([fdo#109271] / [i915#658]) +3 similar issues
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl2/igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-4.html
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-2:
- shard-kbl: NOTRUN -> [SKIP][102] ([fdo#109271] / [i915#658])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl3/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-2.html
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: NOTRUN -> [SKIP][103] ([fdo#109441]) +3 similar issues
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb7/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_psr@psr2_sprite_mmap_cpu:
- shard-tglb: NOTRUN -> [FAIL][104] ([i915#132] / [i915#3467]) +2 similar issues
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb6/igt@kms_psr@psr2_sprite_mmap_cpu.html
* igt@kms_psr@psr2_sprite_plane_onoff:
- shard-iclb: [PASS][105] -> [SKIP][106] ([fdo#109441]) +1 similar issue
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-iclb2/igt@kms_psr@psr2_sprite_plane_onoff.html
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb3/igt@kms_psr@psr2_sprite_plane_onoff.html
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
- shard-tglb: NOTRUN -> [SKIP][107] ([fdo#111615]) +6 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb5/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0.html
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-apl: [PASS][108] -> [DMESG-WARN][109] ([i915#180] / [i915#295])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-apl3/igt@kms_vblank@pipe-a-ts-continuation-suspend.html
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl2/igt@kms_vblank@pipe-a-ts-continuation-suspend.html
* igt@kms_vblank@pipe-d-wait-forked-hang:
- shard-apl: NOTRUN -> [SKIP][110] ([fdo#109271]) +263 similar issues
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl3/igt@kms_vblank@pipe-d-wait-forked-hang.html
* igt@kms_vblank@pipe-d-wait-idle:
- shard-kbl: NOTRUN -> [SKIP][111] ([fdo#109271] / [i915#533]) +2 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl7/igt@kms_vblank@pipe-d-wait-idle.html
- shard-apl: NOTRUN -> [SKIP][112] ([fdo#109271] / [i915#533]) +2 similar issues
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-apl1/igt@kms_vblank@pipe-d-wait-idle.html
* igt@kms_writeback@writeback-fb-id:
- shard-glk: NOTRUN -> [SKIP][113] ([fdo#109271] / [i915#2437])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-glk7/igt@kms_writeback@writeback-fb-id.html
- shard-tglb: NOTRUN -> [SKIP][114] ([i915#2437])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb1/igt@kms_writeback@writeback-fb-id.html
* igt@kms_writeback@writeback-pixel-formats:
- shard-kbl: NOTRUN -> [SKIP][115] ([fdo#109271] / [i915#2437])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl4/igt@kms_writeback@writeback-pixel-formats.html
* igt@nouveau_crc@pipe-c-source-rg:
- shard-iclb: NOTRUN -> [SKIP][116] ([i915#2530]) +1 similar issue
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-iclb8/igt@nouveau_crc@pipe-c-source-rg.html
- shard-tglb: NOTRUN -> [SKIP][117] ([i915#2530])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb6/igt@nouveau_crc@pipe-c-source-rg.html
* igt@perf_pmu@event-wait@rcs0:
- shard-tglb: NOTRUN -> [SKIP][118] ([fdo#112283])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-tglb2/igt@perf_pmu@event-wait@rcs0.html
* igt@perf_pmu@rc6-suspend:
- shard-kbl: [PASS][119] -> [INCOMPLETE][120] ([i915#155] / [i915#4173] / [i915#794])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6229/shard-kbl1/igt@perf_pmu@rc6-suspend.html
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shard-kbl2/igt@perf_pmu@rc6-suspend.html
* igt@prime_nv_pcopy@test3_5:
- shard-tglb: NOTRUN -> [SKIP][121] ([fdo#109291]) +2 similar issues
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/sha
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/index.html
[-- Attachment #2: Type: text/html, Size: 34296 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t v5] tests/kms_bw: Add generic commit test for bandwidth validation
2021-10-04 19:28 [igt-dev] [PATCH i-g-t v5] tests/kms_bw: Add generic commit test for bandwidth validation Aurabindo Pillai
2021-10-04 20:25 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-10-04 23:02 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2021-10-07 14:37 ` Rodrigo Siqueira
2021-10-19 13:56 ` Juha-Pekka Heikkila
2 siblings, 1 reply; 5+ messages in thread
From: Rodrigo Siqueira @ 2021-10-07 14:37 UTC (permalink / raw)
To: Aurabindo Pillai; +Cc: igt-dev, Mark Yacoub
Hi Jay,
Thanks a lot for making this test generic.
It lgtm.
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
On 10/04, Aurabindo Pillai wrote:
> Add linear tiling mode tests
>
> Changes in v5:
> Changes to test_init so that test invalid pipes are not
> used if certain pipes dont exist in chronological order
>
> Added comment explaining use of explicit for loop over
> IGT_MAX_PIPES instead of for_each_pipe_static()
>
> Changes in v4:
> Removed igt_skip_on_simulation from main function.
> Changes in v3:
> This version implements array of test modes in igt_main,
> global IGT_MAX_PIPE and other comments from Mark.
> Changes in v2:
> Test added as generic IGT.
>
> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
> Signed-off-by: Bindu R <bindu.r@amd.com>
> ---
> tests/kms_bw.c | 228 ++++++++++++++++++++++++++++++++++++++++++++++
> tests/meson.build | 1 +
> 2 files changed, 229 insertions(+)
> create mode 100644 tests/kms_bw.c
>
> diff --git a/tests/kms_bw.c b/tests/kms_bw.c
> new file mode 100644
> index 00000000..a4553cde
> --- /dev/null
> +++ b/tests/kms_bw.c
> @@ -0,0 +1,228 @@
> +/*
> + * 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;
> + igt_output_t *output;
> +
> + for_each_pipe(display, i) {
> + data->pipe_id[i] = 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++) {
> + if (!data->pipe[i])
> + continue;
> +
> + 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) {
> + if (data->pipe_crc[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, num_pipes = 0;
> + enum pipe p;
> +
> + /* Cannot use igt_display_get_n_pipes() due to fused pipes on i915 where they do
> + * not give the numver of valid crtcs and always return IGT_MAX_PIPES */
> + for_each_pipe(display, p) num_pipes++;
> +
> + igt_skip_on_f(pipe > num_pipes,
> + "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++) {
> + output = data->output[i];
> + if (!output) {
> + continue;
> + }
> +
> + 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);
> +
> + }
> +
> + /* We're not using for_each_pipe_static because we need the
> + * _amount_ of pipes */
> + 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);
> + }
> +}
> diff --git a/tests/meson.build b/tests/meson.build
> index 8ad52596..c4cbe229 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -19,6 +19,7 @@ test_progs = [
> 'kms_atomic',
> 'kms_atomic_interruptible',
> 'kms_atomic_transition',
> + 'kms_bw',
> 'kms_concurrent',
> 'kms_content_protection',
> 'kms_cursor_crc',
> --
> 2.30.2
>
--
Rodrigo Siqueira
https://siqueira.tech
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [PATCH i-g-t v5] tests/kms_bw: Add generic commit test for bandwidth validation
2021-10-07 14:37 ` [igt-dev] [PATCH i-g-t v5] " Rodrigo Siqueira
@ 2021-10-19 13:56 ` Juha-Pekka Heikkila
0 siblings, 0 replies; 5+ messages in thread
From: Juha-Pekka Heikkila @ 2021-10-19 13:56 UTC (permalink / raw)
To: Rodrigo Siqueira, Aurabindo Pillai; +Cc: igt-dev, Mark Yacoub
On 7.10.2021 17.37, Rodrigo Siqueira wrote:
> Hi Jay,
>
> Thanks a lot for making this test generic.
>
> It lgtm.
>
> Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Pre-merge test results were showing failures all over the place:
https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6281/shards-all.html?testfilter=kms_bw
Still seems to be merged. Mind you guys fixing.
/Juha-Pekka
>
> On 10/04, Aurabindo Pillai wrote:
>> Add linear tiling mode tests
>>
>> Changes in v5:
>> Changes to test_init so that test invalid pipes are not
>> used if certain pipes dont exist in chronological order
>>
>> Added comment explaining use of explicit for loop over
>> IGT_MAX_PIPES instead of for_each_pipe_static()
>>
>> Changes in v4:
>> Removed igt_skip_on_simulation from main function.
>> Changes in v3:
>> This version implements array of test modes in igt_main,
>> global IGT_MAX_PIPE and other comments from Mark.
>> Changes in v2:
>> Test added as generic IGT.
>>
>> Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
>> Signed-off-by: Bindu R <bindu.r@amd.com>
>> ---
>> tests/kms_bw.c | 228 ++++++++++++++++++++++++++++++++++++++++++++++
>> tests/meson.build | 1 +
>> 2 files changed, 229 insertions(+)
>> create mode 100644 tests/kms_bw.c
>>
>> diff --git a/tests/kms_bw.c b/tests/kms_bw.c
>> new file mode 100644
>> index 00000000..a4553cde
>> --- /dev/null
>> +++ b/tests/kms_bw.c
>> @@ -0,0 +1,228 @@
>> +/*
>> + * 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;
>> + igt_output_t *output;
>> +
>> + for_each_pipe(display, i) {
>> + data->pipe_id[i] = 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++) {
>> + if (!data->pipe[i])
>> + continue;
>> +
>> + 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) {
>> + if (data->pipe_crc[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, num_pipes = 0;
>> + enum pipe p;
>> +
>> + /* Cannot use igt_display_get_n_pipes() due to fused pipes on i915 where they do
>> + * not give the numver of valid crtcs and always return IGT_MAX_PIPES */
>> + for_each_pipe(display, p) num_pipes++;
>> +
>> + igt_skip_on_f(pipe > num_pipes,
>> + "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++) {
>> + output = data->output[i];
>> + if (!output) {
>> + continue;
>> + }
>> +
>> + 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);
>> +
>> + }
>> +
>> + /* We're not using for_each_pipe_static because we need the
>> + * _amount_ of pipes */
>> + 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);
>> + }
>> +}
>> diff --git a/tests/meson.build b/tests/meson.build
>> index 8ad52596..c4cbe229 100644
>> --- a/tests/meson.build
>> +++ b/tests/meson.build
>> @@ -19,6 +19,7 @@ test_progs = [
>> 'kms_atomic',
>> 'kms_atomic_interruptible',
>> 'kms_atomic_transition',
>> + 'kms_bw',
>> 'kms_concurrent',
>> 'kms_content_protection',
>> 'kms_cursor_crc',
>> --
>> 2.30.2
>>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-10-19 13:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04 19:28 [igt-dev] [PATCH i-g-t v5] tests/kms_bw: Add generic commit test for bandwidth validation Aurabindo Pillai
2021-10-04 20:25 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-10-04 23:02 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-10-07 14:37 ` [igt-dev] [PATCH i-g-t v5] " Rodrigo Siqueira
2021-10-19 13:56 ` Juha-Pekka Heikkila
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.