Skip to contentSkip to conversation

lib/igt_kms: Return the first overlay not the last one

PATCH New Ville Syrjala 2 participants 7 messages Jan 31, 2020 – Feb 4, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/4 lib/igt_kms: Return the first overlay not the last one

From: Ville Syrjälä <[email protected]>

For some reason igt_pipe_get_plane_type() returns the last overlay plane it can find. I'd prefer it to do the opposite since on Intel hw the set of features supported by the plane generally goes down the further up you go.

---
 lib/igt_kms.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
lib/igt_kms.c +6 -3
index d20daaad7764..645e6c54c041 100644
@@ -2293,9 +2293,12 @@ igt_plane_t *igt_pipe_get_plane_type(igt_pipe_t *pipe, int plane_type)
 		plane_idx = pipe->plane_primary;
 		break;
 	case DRM_PLANE_TYPE_OVERLAY:
-		for(i = 0; i < pipe->n_planes; i++)
-			if (pipe->planes[i].type == DRM_PLANE_TYPE_OVERLAY)
-			    plane_idx = i;
+		for(i = 0; i < pipe->n_planes; i++) {
+			if (pipe->planes[i].type == DRM_PLANE_TYPE_OVERLAY) {
+				plane_idx = i;
+				break;
+			}
+		}
 		break;
 	default:
 		break;
Signature · 6 lines
2.24.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

PATCH 2/4 tests/kms_legacy_colorkey: Test a lot more things

From: Ville Syrjälä <[email protected]>

Try to test that we can actually use the colorkey ioctl to ask for different colorkeying modes, and make sure the kernel rejects invalid/unsupported flags, etc.

What we're still missing is looking at the crc to make sure the color keying actually works. But let's leave that for the future.

v2: Refactor each subtest into its own function
v3: Rework the expected_ret stuff to handle multiple
sprite planes

---
 tests/kms_legacy_colorkey.c | 167 ++++++++++++++++++++++++++++++------
 1 file changed, 143 insertions(+), 24 deletions(-)
tests/kms_legacy_colorkey.c +143 -24
index de9610a75e5c..b0168a917517 100644
@@ -22,49 +22,168 @@
  */
 
 #include "igt.h"
+#include "i915_drm.h"
 #include <errno.h>
 
 
-IGT_TEST_DESCRIPTION("Check that the legacy set colorkey ioctl only works on sprite planes.");
+IGT_TEST_DESCRIPTION("Check that the legacy set colorkey ioctl works.");
 
-static int drm_fd;
-static igt_display_t display;
-static int p;
-static igt_plane_t *plane;
-static uint32_t max_id;
+struct data {
+	igt_display_t display;
+	igt_plane_t *plane;
+	int drm_fd;
+	enum pipe pipe;
+	uint32_t devid;
+};
 
-static void test_plane(uint32_t plane_id, int expected_ret)
+static void test_plane(struct data *data,
+		       uint32_t plane_id,
+		       uint32_t flags,
+		       int expected_ret)
 {
 	struct drm_intel_sprite_colorkey ckey = {
 		.plane_id = plane_id,
+		.flags = flags,
 	};
 
-	igt_assert(drmCommandWrite(drm_fd, DRM_I915_SET_SPRITE_COLORKEY, &ckey,
+	igt_assert(drmCommandWrite(data->drm_fd,
+				   DRM_I915_SET_SPRITE_COLORKEY, &ckey,
 				   sizeof(ckey)) == expected_ret);
 }
 
-igt_simple_main
+static uint32_t max_plane_id(struct data *data)
 {
-	drm_fd = drm_open_driver_master(DRIVER_INTEL);
+	uint32_t max_id = 0;
+	igt_plane_t *plane;
+	enum pipe pipe;
 
-	kmstest_set_vt_graphics_mode();
+	for_each_pipe(&data->display, pipe) {
+		for_each_plane_on_pipe(&data->display, pipe, plane)
+			max_id = max(max_id, plane->drm_plane->plane_id);
+	}
 
-	igt_display_require(&display, drm_fd);
+	return max_id;
+}
 
-	for_each_pipe(&display, p) {
-		for_each_plane_on_pipe(&display, p, plane) {
-			bool is_valid = (plane->type == DRM_PLANE_TYPE_PRIMARY ||
-			                 plane->type == DRM_PLANE_TYPE_CURSOR);
-			test_plane(plane->drm_plane->plane_id,
-				   is_valid ? -ENOENT : 0);
+static void test_invalid_plane_id(struct data *data)
+{
+	/* try some invalid plane IDs */
+	test_plane(data, 0, 0, -ENOENT);
+	test_plane(data, max_plane_id(data) + 1, 0, -ENOENT);
+}
 
-			max_id = max(max_id, plane->drm_plane->plane_id);
-		}
+static int expected_ret(struct data *data, uint32_t flags)
+{
+	igt_plane_t *plane = data->plane;
+
+	switch (flags) {
+	case 0:
+	case I915_SET_COLORKEY_NONE:
+	case I915_SET_COLORKEY_SOURCE:
+		if (plane->type != DRM_PLANE_TYPE_OVERLAY)
+			return -ENOENT;
+
+		return 0;
+	case I915_SET_COLORKEY_DESTINATION:
+		if (plane->type != DRM_PLANE_TYPE_OVERLAY)
+			return -ENOENT;
+
+		/* VLV/CHV don't support dst colorkey (yet) */
+		if (IS_VALLEYVIEW(data->devid) ||
+		    IS_CHERRYVIEW(data->devid))
+			return -EINVAL;
+
+		/*
+		 * Only the first sprite plane gets to
+		 * use destination colorkeying.
+		 */
+		return plane->index == 1 ? 0 : -EINVAL;
+	default:
+		return -EINVAL;
+	}
+}
+
+static void test_overlays(struct data *data, uint32_t flags)
+{
+	for_each_plane_on_pipe(&data->display, data->pipe, data->plane) {
+		uint32_t plane_id = data->plane->drm_plane->plane_id;
+
+		test_plane(data, plane_id, flags, expected_ret(data, flags));
+		test_plane(data, plane_id, 0, expected_ret(data, 0));
+	}
+}
+
+static void test_invalid_flags(struct data *data)
+{
+	igt_skip_on(data->pipe >= data->display.n_pipes);
+
+	/* dst + src keying is not supported */
+	test_overlays(data, I915_SET_COLORKEY_DESTINATION |
+		      I915_SET_COLORKEY_SOURCE);
+
+	/* test some undefined flags */
+	test_overlays(data, 1 << 3);
+	test_overlays(data, 1 << 31);
+}
+
+static void test_no_colorkey(struct data *data)
+{
+	igt_skip_on(data->pipe >= data->display.n_pipes);
+
+	/* no flags should work */
+	test_overlays(data, 0);
+
+	/* the "none" flag should be ignore by the kernel */
+	test_overlays(data, I915_SET_COLORKEY_NONE);
+}
+
+static void test_src_colorkey(struct data *data)
+{
+	igt_skip_on(data->pipe >= data->display.n_pipes);
+
+	test_overlays(data, I915_SET_COLORKEY_SOURCE);
+}
+
+static void test_dst_colorkey(struct data *data)
+{
+	igt_skip_on(data->pipe >= data->display.n_pipes);
+
+	test_overlays(data, I915_SET_COLORKEY_DESTINATION);
+}
+
+static struct data data;
+
+igt_main
+{
+	igt_skip_on_simulation();
+
+	igt_fixture {
+		data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
+
+		data.devid = intel_get_drm_devid(data.drm_fd);
+
+		kmstest_set_vt_graphics_mode();
+
+		igt_display_require(&data.display, data.drm_fd);
 	}
 
-	/* try some invalid IDs too */
-	test_plane(0, -ENOENT);
-	test_plane(max_id + 1, -ENOENT);
+	igt_subtest("invalid-plane-id")
+		test_invalid_plane_id(&data);
+
+	for_each_pipe_static(data.pipe) {
+		igt_subtest_f("pipe-%s-invalid-flags", kmstest_pipe_name(data.pipe))
+			test_invalid_flags(&data);
+
+		igt_subtest_f("pipe-%s-no-colorkey", kmstest_pipe_name(data.pipe))
+			test_no_colorkey(&data);
+
+		igt_subtest_f("pipe-%s-src-colorkey", kmstest_pipe_name(data.pipe))
+			test_src_colorkey(&data);
+
+		igt_subtest_f("pipe-%s-dst-colorkey", kmstest_pipe_name(data.pipe))
+			test_dst_colorkey(&data);
+	}
 
-	igt_display_fini(&display);
+	igt_fixture
+		igt_display_fini(&data.display);
 }
Signature · 6 lines
2.24.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#2 lore raw

PATCH 3/4 tests/kms_legacy_colorkey: Rename to kms_legacy_colorkey_basic

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

Rename the kms_legacy_colorkey test to kms_legacy_colorkey_basic since it only tests the basic uapi interactions via the ioctl. Actual verification of the visual results will be a separate test.

---
 tests/Makefile.sources                                       | 2 +-
 tests/{kms_legacy_colorkey.c => kms_legacy_colorkey_basic.c} | 0
 tests/meson.build                                            | 2 +-
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename tests/{kms_legacy_colorkey.c => kms_legacy_colorkey_basic.c} (100%)
tests/Makefile.sources +1 -1
index 74f87849a0ad..7452688e5616 100644
@@ -56,7 +56,7 @@ TESTS_progs = \
 	kms_hdmi_inject \
 	kms_invalid_dotclock \
 	kms_lease \
-	kms_legacy_colorkey \
+	kms_legacy_colorkey_basic \
 	kms_mmap_write_crc \
 	kms_panel_fitting \
 	kms_pipe_b_c_ivb \
tests/kms_legacy_colorkey_basic.c renamed from tests/kms_legacy_colorkey.c +0 -0
similarity index 100%
rename from tests/kms_legacy_colorkey.c
rename to tests/kms_legacy_colorkey_basic.c
tests/meson.build +1 -1
index 670250a7c1f9..481282487e15 100644
@@ -40,7 +40,7 @@ test_progs = [
 	'kms_hdmi_inject',
 	'kms_invalid_dotclock',
 	'kms_lease',
-	'kms_legacy_colorkey',
+	'kms_legacy_colorkey_basic',
 	'kms_mmap_write_crc',
 	'kms_panel_fitting',
 	'kms_pipe_b_c_ivb',
Signature · 6 lines
2.24.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#3 lore raw

PATCH 4/4 tests/kms_legacy_colorkey: Add a real colorkey test

In reply to Ville Syrjala

From: Ville Syrjälä <[email protected]>

Let's test that the colorkeying really works in hardware. As per the usual pattern we generate a reference fb with software, reproduce the same visual effect with the hardware keying, and compare the crc between the two.

Some difficulty comes from having to use different formats for each involved plane, and we can't always use the LUT to chop off extra bits because C8 might be involved.

v2: Use igt_format_is_yuv() so that we may
try to test more than one yuv format

---
 tests/Makefile.sources      |   1 +
 tests/kms_legacy_colorkey.c | 808 ++++++++++++++++++++++++++++++++++++
 tests/meson.build           |   1 +
 3 files changed, 810 insertions(+)
 create mode 100644 tests/kms_legacy_colorkey.c
tests/Makefile.sources +1 -0
index 7452688e5616..6df5d021aaf3 100644
@@ -56,6 +56,7 @@ TESTS_progs = \
 	kms_hdmi_inject \
 	kms_invalid_dotclock \
 	kms_lease \
+	kms_legacy_colorkey \
 	kms_legacy_colorkey_basic \
 	kms_mmap_write_crc \
 	kms_panel_fitting \
tests/kms_legacy_colorkey.c new file +808 -0

808 lines not on this page · raw message

tests/meson.build +1 -0
index 481282487e15..fe4c5107524c 100644
@@ -40,6 +40,7 @@ test_progs = [
 	'kms_hdmi_inject',
 	'kms_invalid_dotclock',
 	'kms_lease',
+	'kms_legacy_colorkey',
 	'kms_legacy_colorkey_basic',
 	'kms_mmap_write_crc',
 	'kms_panel_fitting',
Signature · 6 lines
2.24.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#4 lore raw

[igt-dev] ✗ GitLab.Pipeline: failure for series starting with [i-g-t,1/4] lib/igt_kms: Return the first overlay not the last one

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/4] lib/igt_kms: Return the first overlay not the last one
URL : https://patchwork.freedesktop.org/series/72844/
State : failure

== Summary ==

ERROR! This series introduces new undocumented tests:

kms_legacy_colorkey@dst-colorkey-C8
kms_legacy_colorkey@dst-colorkey-RGB565
kms_legacy_colorkey@dst-colorkey-XBGR2101010
kms_legacy_colorkey@dst-colorkey-XRGB8888
kms_legacy_colorkey@dst-colorkey-YUYV
kms_legacy_colorkey@src-colorkey-C8
kms_legacy_colorkey@src-colorkey-RGB565
kms_legacy_colorkey@src-colorkey-XBGR2101010
kms_legacy_colorkey@src-colorkey-XRGB8888
kms_legacy_colorkey@src-colorkey-YUYV
kms_legacy_colorkey_basic@invalid-plane-id
kms_legacy_colorkey_basic@pipe-A-dst-colorkey
kms_legacy_colorkey_basic@pipe-A-invalid-flags
kms_legacy_colorkey_basic@pipe-A-no-colorkey
kms_legacy_colorkey_basic@pipe-A-src-colorkey
kms_legacy_colorkey_basic@pipe-B-dst-colorkey
kms_legacy_colorkey_basic@pipe-B-invalid-flags
kms_legacy_colorkey_basic@pipe-B-no-colorkey
kms_legacy_colorkey_basic@pipe-B-src-colorkey
kms_legacy_colorkey_basic@pipe-C-dst-colorkey
kms_legacy_colorkey_basic@pipe-C-invalid-flags
kms_legacy_colorkey_basic@pipe-C-no-colorkey
kms_legacy_colorkey_basic@pipe-C-src-colorkey
kms_legacy_colorkey_basic@pipe-D-dst-colorkey
kms_legacy_colorkey_basic@pipe-D-invalid-flags
kms_legacy_colorkey_basic@pipe-D-no-colorkey
kms_legacy_colorkey_basic@pipe-D-src-colorkey
kms_legacy_colorkey_basic@pipe-E-dst-colorkey
kms_legacy_colorkey_basic@pipe-E-invalid-flags
kms_legacy_colorkey_basic@pipe-E-no-colorkey
kms_legacy_colorkey_basic@pipe-E-src-colorkey
kms_legacy_colorkey_basic@pipe-F-dst-colorkey
kms_legacy_colorkey_basic@pipe-F-invalid-flags
kms_legacy_colorkey_basic@pipe-F-no-colorkey
kms_legacy_colorkey_basic@pipe-F-src-colorkey

Can you document them as per the requirement in the [CONTRIBUTING.md]?

[Documentation] has more details on how to do this.

Here are few examples:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/0316695d03aa46108296b27f3982ec93200c7a6e
https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/443cc658e1e6b492ee17bf4f4d891029eb7a205d

Thanks in advance!

[CONTRIBUTING.md]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/blob/master/CONTRIBUTING.md#L19
[Documentation]: https://drm.pages.freedesktop.org/igt-gpu-tools/igt-gpu-tools-Core.html#igt-describe

Other than that, pipeline status: SUCCESS.

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

== Logs ==

For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/103848
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#5 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/4] lib/igt_kms: Return the first overlay not the last one

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/4] lib/igt_kms: Return the first overlay not the last one
URL : https://patchwork.freedesktop.org/series/72844/
State : success

== Summary ==

CI Bug Log - changes from IGT_5410 -> IGTPW_4067
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@i915_selftest@live_gt_heartbeat:
- {fi-ehl-1}: [PASS][1] -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-ehl-1/igt@i915_selftest@live_gt_heartbeat.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-ehl-1/igt@i915_selftest@live_gt_heartbeat.html

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_close_race@basic-threads:
- fi-hsw-peppy: [PASS][3] -> [TIMEOUT][4] ([fdo#112271] / [i915#1084])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-hsw-peppy/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-hsw-peppy/igt@[email protected]

* igt@gem_exec_parallel@fds:
- fi-byt-n2820: [PASS][5] -> [TIMEOUT][6] ([fdo#112271] / [i915#1084])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-byt-n2820/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-byt-n2820/igt@[email protected]

* igt@i915_selftest@live_blt:
- fi-hsw-4770r: [PASS][7] -> [DMESG-FAIL][8] ([i915#725])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-hsw-4770r/igt@i915_selftest@live_blt.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-hsw-4770r/igt@i915_selftest@live_blt.html

* igt@i915_selftest@live_gtt:
- fi-kbl-7500u: [PASS][9] -> [TIMEOUT][10] ([fdo#112271])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-kbl-7500u/igt@i915_selftest@live_gtt.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-kbl-7500u/igt@i915_selftest@live_gtt.html
- fi-skl-lmem: [PASS][11] -> [TIMEOUT][12] ([fdo#111732] / [fdo#112271])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-skl-lmem/igt@i915_selftest@live_gtt.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-skl-lmem/igt@i915_selftest@live_gtt.html

* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [PASS][13] -> [FAIL][14] ([fdo#111096] / [i915#323])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-kbl-7500u/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-kbl-7500u/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_parallel@contexts:
- fi-byt-n2820: [FAIL][15] ([i915#694]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-byt-n2820/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-byt-n2820/igt@[email protected]

* igt@i915_pm_rpm@module-reload:
- fi-skl-6770hq: [FAIL][17] ([i915#178]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-skl-6770hq/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-skl-6770hq/igt@[email protected]

* igt@i915_selftest@live_hangcheck:
- fi-icl-u2: [INCOMPLETE][19] ([fdo#108569]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-icl-u2/igt@i915_selftest@live_hangcheck.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-icl-u2/igt@i915_selftest@live_hangcheck.html

#### Warnings ####

* igt@i915_selftest@live_blt:
- fi-ivb-3770: [DMESG-FAIL][21] ([i915#725]) -> [DMESG-FAIL][22] ([i915#563])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/fi-ivb-3770/igt@i915_selftest@live_blt.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/fi-ivb-3770/igt@i915_selftest@live_blt.html

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#111732]: https://bugs.freedesktop.org/show_bug.cgi?id=111732
[fdo#112271]: https://bugs.freedesktop.org/show_bug.cgi?id=112271
[i915#1084]: https://gitlab.freedesktop.org/drm/intel/issues/1084
[i915#178]: https://gitlab.freedesktop.org/drm/intel/issues/178
[i915#323]: https://gitlab.freedesktop.org/drm/intel/issues/323
[i915#563]: https://gitlab.freedesktop.org/drm/intel/issues/563
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#725]: https://gitlab.freedesktop.org/drm/intel/issues/725

Participating hosts (50 -> 46)
------------------------------

Additional (1): fi-bsw-n3050
Missing (5): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-bdw-samus

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

* CI: CI-20190529 -> None
* IGT: IGT_5410 -> IGTPW_4067

CI-20190529: 20190529
CI_DRM_7853: 1df04205c16923e525efe9c26d6e98612d38c9b3 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4067: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/index.html
IGT_5410: 9d3872ede14307ef4adb0866f8474f5c41e6b1c1 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Testlist changes ==

+igt@kms_legacy_colorkey@dst-colorkey-c8 +igt@kms_legacy_colorkey@dst-colorkey-rgb565 +igt@kms_legacy_colorkey@dst-colorkey-xbgr2101010 +igt@kms_legacy_colorkey@dst-colorkey-xrgb8888 +igt@kms_legacy_colorkey@dst-colorkey-yuyv +igt@kms_legacy_colorkey@src-colorkey-c8 +igt@kms_legacy_colorkey@src-colorkey-rgb565 +igt@kms_legacy_colorkey@src-colorkey-xbgr2101010 +igt@kms_legacy_colorkey@src-colorkey-xrgb8888 +igt@kms_legacy_colorkey@src-colorkey-yuyv +igt@kms_legacy_colorkey_basic@invalid-plane-id +igt@kms_legacy_colorkey_basic@pipe-a-dst-colorkey +igt@kms_legacy_colorkey_basic@pipe-a-invalid-flags +igt@kms_legacy_colorkey_basic@pipe-a-no-colorkey +igt@kms_legacy_colorkey_basic@pipe-a-src-colorkey +igt@kms_legacy_colorkey_basic@pipe-b-dst-colorkey +igt@kms_legacy_colorkey_basic@pipe-b-invalid-flags +igt@kms_legacy_colorkey_basic@pipe-b-no-colorkey +igt@kms_legacy_colorkey_basic@pipe-b-src-colorkey +igt@kms_legacy_colorkey_basic@pipe-c-dst-colorkey +igt@kms_legacy_colorkey_basic@pipe-c-invalid-flags +igt@kms_legacy_colorkey_basic@pipe-c-no-colorkey +igt@kms_legacy_colorkey_basic@pipe-c-src-colorkey +igt@kms_legacy_colorkey_basic@pipe-d-dst-colorkey +igt@kms_legacy_colorkey_basic@pipe-d-invalid-flags +igt@kms_legacy_colorkey_basic@pipe-d-no-colorkey +igt@kms_legacy_colorkey_basic@pipe-d-src-colorkey +igt@kms_legacy_colorkey_basic@pipe-e-dst-colorkey +igt@kms_legacy_colorkey_basic@pipe-e-invalid-flags +igt@kms_legacy_colorkey_basic@pipe-e-no-colorkey +igt@kms_legacy_colorkey_basic@pipe-e-src-colorkey +igt@kms_legacy_colorkey_basic@pipe-f-dst-colorkey +igt@kms_legacy_colorkey_basic@pipe-f-invalid-flags +igt@kms_legacy_colorkey_basic@pipe-f-no-colorkey +igt@kms_legacy_colorkey_basic@pipe-f-src-colorkey -igt@kms_legacy_colorkey

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#6 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for series starting with [i-g-t,1/4] lib/igt_kms: Return the first overlay not the last one

In reply to Ville Syrjala
== Series Details ==

== Series Details ==

Series: series starting with [i-g-t,1/4] lib/igt_kms: Return the first overlay not the last one
URL : https://patchwork.freedesktop.org/series/72844/
State : success

== Summary ==

CI Bug Log - changes from IGT_5410_full -> IGTPW_4067_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Possible regressions ####

* {igt@kms_legacy_colorkey@dst-colorkey-yuyv} (NEW):
- shard-iclb: NOTRUN -> [FAIL][1] +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb2/igt@[email protected]
- shard-tglb: NOTRUN -> [FAIL][2] +1 similar issue
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-tglb8/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][3] +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-apl6/igt@[email protected]
- shard-glk: NOTRUN -> [FAIL][4] +1 similar issue
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-glk8/igt@[email protected]

* {igt@kms_legacy_colorkey@src-colorkey-c8} (NEW):
- shard-kbl: NOTRUN -> [FAIL][5] +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-kbl6/igt@[email protected]

New tests
---------

New tests have been introduced between IGT_5410_full and IGTPW_4067_full:

### New IGT tests (27) ###

* igt@kms_legacy_colorkey@dst-colorkey-c8:
- Statuses : 7 pass(s)
- Exec time: [0.22, 0.56] s

* igt@kms_legacy_colorkey@dst-colorkey-rgb565:
- Statuses : 6 pass(s)
- Exec time: [0.23, 0.52] s

* igt@kms_legacy_colorkey@dst-colorkey-xbgr2101010:
- Statuses : 7 pass(s)
- Exec time: [0.69, 2.36] s

* igt@kms_legacy_colorkey@dst-colorkey-xrgb8888:
- Statuses : 6 pass(s)
- Exec time: [0.27, 0.48] s

* igt@kms_legacy_colorkey@dst-colorkey-yuyv:
- Statuses : 5 fail(s) 2 skip(s)
- Exec time: [0.0, 0.90] s

* igt@kms_legacy_colorkey@src-colorkey-c8:
- Statuses : 5 fail(s) 2 skip(s)
- Exec time: [0.0, 0.64] s

* igt@kms_legacy_colorkey@src-colorkey-rgb565:
- Statuses : 5 pass(s) 2 skip(s)
- Exec time: [0.0, 1.55] s

* igt@kms_legacy_colorkey@src-colorkey-xbgr2101010:
- Statuses : 7 pass(s)
- Exec time: [0.33, 0.73] s

* igt@kms_legacy_colorkey@src-colorkey-xrgb8888:
- Statuses : 6 pass(s)
- Exec time: [0.23, 0.58] s

* igt@kms_legacy_colorkey@src-colorkey-yuyv:
- Statuses : 7 pass(s)
- Exec time: [0.29, 1.87] s

* igt@kms_legacy_colorkey_basic@invalid-plane-id:
- Statuses : 7 pass(s)
- Exec time: [0.0] s

* igt@kms_legacy_colorkey_basic@pipe-a-dst-colorkey:
- Statuses : 7 pass(s)
- Exec time: [0.0, 0.08] s

* igt@kms_legacy_colorkey_basic@pipe-a-invalid-flags:
- Statuses : 7 pass(s)
- Exec time: [0.00, 0.30] s

* igt@kms_legacy_colorkey_basic@pipe-a-no-colorkey:
- Statuses : 7 pass(s)
- Exec time: [0.0, 0.40] s

* igt@kms_legacy_colorkey_basic@pipe-a-src-colorkey:
- Statuses : 7 pass(s)
- Exec time: [0.0, 0.20] s

* igt@kms_legacy_colorkey_basic@pipe-b-dst-colorkey:
- Statuses : 7 pass(s)
- Exec time: [0.0, 0.06] s

* igt@kms_legacy_colorkey_basic@pipe-b-invalid-flags:
- Statuses : 7 pass(s)
- Exec time: [0.0, 0.15] s

* igt@kms_legacy_colorkey_basic@pipe-b-no-colorkey:
- Statuses : 7 pass(s)
- Exec time: [0.0, 0.19] s

* igt@kms_legacy_colorkey_basic@pipe-b-src-colorkey:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.09] s

* igt@kms_legacy_colorkey_basic@pipe-c-dst-colorkey:
- Statuses : 6 pass(s)
- Exec time: [0.0, 0.00] s

* igt@kms_legacy_colorkey_basic@pipe-c-invalid-flags:
- Statuses : 6 pass(s) 1 skip(s)
- Exec time: [0.0, 0.00] s

* igt@kms_legacy_colorkey_basic@pipe-c-no-colorkey:
- Statuses : 6 pass(s) 1 skip(s)
- Exec time: [0.0, 0.00] s

* igt@kms_legacy_colorkey_basic@pipe-c-src-colorkey:
- Statuses : 6 pass(s) 1 skip(s)
- Exec time: [0.0, 0.00] s

* igt@kms_legacy_colorkey_basic@pipe-d-dst-colorkey:
- Statuses : 1 pass(s) 5 skip(s)
- Exec time: [0.0] s

* igt@kms_legacy_colorkey_basic@pipe-d-invalid-flags:
- Statuses : 1 pass(s) 6 skip(s)
- Exec time: [0.0, 0.00] s

* igt@kms_legacy_colorkey_basic@pipe-d-no-colorkey:
- Statuses : 1 pass(s) 6 skip(s)
- Exec time: [0.0, 0.00] s

* igt@kms_legacy_colorkey_basic@pipe-d-src-colorkey:
- Statuses : 1 pass(s) 6 skip(s)
- Exec time: [0.0, 0.00] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_busy@busy-vcs1:
- shard-iclb: [PASS][6] -> [SKIP][7] ([fdo#112080]) +11 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb2/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb3/igt@[email protected]

* igt@gem_ctx_persistence@file:
- shard-tglb: [PASS][8] -> [SKIP][9] ([fdo#112179] / [i915#1099]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-tglb1/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-tglb1/igt@[email protected]
- shard-apl: [PASS][10] -> [SKIP][11] ([fdo#109271] / [i915#1099]) +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-apl3/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-apl8/igt@[email protected]
- shard-glk: [PASS][12] -> [SKIP][13] ([fdo#109271] / [i915#1099]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-glk5/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-glk1/igt@[email protected]
- shard-iclb: [PASS][14] -> [SKIP][15] ([fdo#112179] / [i915#1099]) +1 similar issue
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb8/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb7/igt@[email protected]

* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [PASS][16] -> [SKIP][17] ([fdo#110841])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb3/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb1/igt@[email protected]

* igt@gem_exec_schedule@pi-common-bsd:
- shard-iclb: [PASS][18] -> [SKIP][19] ([i915#677])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb3/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb4/igt@[email protected]

* igt@gem_exec_schedule@preempt-bsd:
- shard-iclb: [PASS][20] -> [SKIP][21] ([fdo#112146])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb3/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb2/igt@[email protected]

* igt@gem_partial_pwrite_pread@write:
- shard-hsw: [PASS][22] -> [FAIL][23] ([i915#694])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-hsw5/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-hsw5/igt@[email protected]

* igt@gem_tiled_blits@normal:
- shard-hsw: [PASS][24] -> [FAIL][25] ([i915#818])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-hsw8/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-hsw2/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-256x256-random:
- shard-apl: [PASS][26] -> [FAIL][27] ([i915#54])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-apl1/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-apl3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-move:
- shard-apl: [PASS][28] -> [FAIL][29] ([i915#49])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-apl6/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-apl8/igt@[email protected]

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

* igt@kms_rotation_crc@multiplane-rotation-cropping-bottom:
- shard-glk: [PASS][32] -> [DMESG-FAIL][33] ([i915#1041] / [i915#118] / [i915#95])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-glk2/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-glk2/igt@[email protected]

* igt@prime_busy@hang-bsd2:
- shard-iclb: [PASS][34] -> [SKIP][35] ([fdo#109276]) +18 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb2/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb6/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_balancer@smoke:
- shard-iclb: [SKIP][36] ([fdo#110854]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb6/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb2/igt@[email protected]

* igt@gem_exec_parallel@vcs1-fds:
- shard-iclb: [SKIP][38] ([fdo#112080]) -> [PASS][39] +13 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb8/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb2/igt@[email protected]

* igt@gem_exec_schedule@in-order-bsd:
- shard-iclb: [SKIP][40] ([fdo#112146]) -> [PASS][41] +6 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb4/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb8/igt@[email protected]

* igt@gem_exec_schedule@preempt-queue-bsd1:
- shard-iclb: [SKIP][42] ([fdo#109276]) -> [PASS][43] +18 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb7/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb2/igt@[email protected]

* igt@gem_partial_pwrite_pread@writes-after-reads-display:
- shard-hsw: [FAIL][44] ([i915#694]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-hsw7/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-hsw8/igt@[email protected]

* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-glk: [FAIL][46] ([i915#644]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-glk2/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-glk2/igt@[email protected]

* igt@i915_pm_rpm@universal-planes-dpms:
- shard-tglb: [INCOMPLETE][48] ([i915#472]) -> [PASS][49] +1 similar issue
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-tglb7/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-tglb7/igt@[email protected]

* igt@i915_pm_rps@waitboost:
- shard-iclb: [FAIL][50] ([i915#413]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb6/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb1/igt@[email protected]

* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-apl: [DMESG-WARN][52] ([i915#180]) -> [PASS][53] +1 similar issue
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-apl6/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-apl8/igt@[email protected]

* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [SKIP][54] ([fdo#109441]) -> [PASS][55] +2 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb6/igt@kms_psr@psr2_sprite_blt.html
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html

* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-iclb: [TIMEOUT][56] ([i915#1096]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb4/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb2/igt@[email protected]

#### Warnings ####

* igt@gem_ctx_isolation@vcs1-nonpriv-switch:
- shard-iclb: [FAIL][58] ([IGT#28]) -> [SKIP][59] ([fdo#112080])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-iclb4/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-iclb8/igt@[email protected]

* igt@i915_pm_rpm@modeset-lpsp-stress:
- shard-snb: [SKIP][60] ([fdo#109271]) -> [INCOMPLETE][61] ([i915#82])
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5410/shard-snb1/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/shard-snb2/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[IGT#28]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/28
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[fdo#112179]: https://bugs.freedesktop.org/show_bug.cgi?id=112179
[i915#1041]: https://gitlab.freedesktop.org/drm/intel/issues/1041
[i915#1096]: https://gitlab.freedesktop.org/drm/intel/issues/1096
[i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#413]: https://gitlab.freedesktop.org/drm/intel/issues/413
[i915#472]: https://gitlab.freedesktop.org/drm/intel/issues/472
[i915#49]: https://gitlab.freedesktop.org/drm/intel/issues/49
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#644]: https://gitlab.freedesktop.org/drm/intel/issues/644
[i915#677]: https://gitlab.freedesktop.org/drm/intel/issues/677
[i915#694]: https://gitlab.freedesktop.org/drm/intel/issues/694
[i915#818]: https://gitlab.freedesktop.org/drm/intel/issues/818
[i915#82]: https://gitlab.freedesktop.org/drm/intel/issues/82
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95

Participating hosts (8 -> 8)
------------------------------

No changes in participating hosts

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

* CI: CI-20190529 -> None
* IGT: IGT_5410 -> IGTPW_4067

CI-20190529: 20190529
CI_DRM_7853: 1df04205c16923e525efe9c26d6e98612d38c9b3 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4067: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/index.html
IGT_5410: 9d3872ede14307ef4adb0866f8474f5c41e6b1c1 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4067/index.html
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev