public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] tests/kms_plane: Reduce pixel format test execution time
@ 2019-10-21 17:50 Ville Syrjala
  2019-10-21 18:38 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ville Syrjala @ 2019-10-21 17:50 UTC (permalink / raw)
  To: igt-dev

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

By default reduce the set of colors we test by half, and
only test all the YCbCr range/encoding combinations for
linear buffers. This should hopefully still provide decent
coverage with a big reduction in execution time.
The previous more extensive coverage is now hidden behind
the --extended command line argument.

On KBL:
time kms_plane --r pixel-format-pipe-A-planes
- real	1m7,995s
+ real	0m22,943s

Further ideas for more reduction:
- Don't test on all planes (eg. on icl+ we could test on one hdr
  plane, one sdr uv plane, and one sdr y plane)
- Don't test absolutely every pixel format + modifier combination
- Pipeline even deeper to make each color checked take only a single
  frame (currently I think it should be taking two frames per color)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 tests/kms_plane.c | 79 ++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 65 insertions(+), 14 deletions(-)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 5f1a73f88dff..86a3a6296d26 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -48,7 +48,10 @@ typedef struct {
 	int drm_fd;
 	igt_display_t display;
 	igt_pipe_crc_t *pipe_crc;
+	const color_t *colors;
+	int num_colors;
 	uint32_t crop;
+	bool extended;
 } data_t;
 
 static color_t red   = { 1.0f, 0.0f, 0.0f };
@@ -362,7 +365,7 @@ test_plane_panning(data_t *data, enum pipe pipe, unsigned int flags)
 	test_fini(data);
 }
 
-static const color_t colors[] = {
+static const color_t colors_extended[] = {
 	{ 1.0f, 0.0f, 0.0f, },
 	{ 0.0f, 1.0f, 0.0f, },
 	{ 0.0f, 0.0f, 1.0f, },
@@ -373,6 +376,13 @@ static const color_t colors[] = {
 	{ 1.0f, 1.0f, 0.0f, },
 };
 
+static const color_t colors_reduced[] = {
+	{ 1.0f, 0.0f, 0.0f, },
+	{ 1.0f, 1.0f, 1.0f, },
+	{ 0.0f, 0.0f, 0.0f, },
+	{ 0.0f, 1.0f, 1.0f, },
+};
+
 static void set_legacy_lut(data_t *data, enum pipe pipe,
 			   uint16_t mask)
 {
@@ -436,9 +446,8 @@ static void test_format_plane_color(data_t *data, enum pipe pipe,
 				    int width, int height,
 				    enum igt_color_encoding color_encoding,
 				    enum igt_color_range color_range,
-				    int color, igt_crc_t *crc, struct igt_fb *fb)
+				    const color_t *c, igt_crc_t *crc, struct igt_fb *fb)
 {
-	const color_t *c = &colors[color];
 	struct igt_fb old_fb = *fb;
 	cairo_t *cr;
 
@@ -522,21 +531,22 @@ static bool test_format_plane_colors(data_t *data, enum pipe pipe,
 				     int width, int height,
 				     enum igt_color_encoding encoding,
 				     enum igt_color_range range,
-				     igt_crc_t ref_crc[ARRAY_SIZE(colors)],
+				     igt_crc_t ref_crc[],
 				     struct igt_fb *fb)
 {
 	int crc_mismatch_count = 0;
 	unsigned int crc_mismatch_mask = 0;
 	bool result = true;
 
-	for (int i = 0; i < ARRAY_SIZE(colors); i++) {
+	for (int i = 0; i < data->num_colors; i++) {
+		const color_t *c = &data->colors[i];
 		igt_crc_t crc;
 
 		test_format_plane_color(data, pipe, plane,
 					format, modifier,
 					width, height,
 					encoding, range,
-					i, &crc, fb);
+					c, &crc, fb);
 
 		if (!igt_check_crc_equal(&crc, &ref_crc[i])) {
 			crc_mismatch_count++;
@@ -548,7 +558,7 @@ static bool test_format_plane_colors(data_t *data, enum pipe pipe,
 	if (crc_mismatch_count)
 		igt_warn("CRC mismatches with format " IGT_FORMAT_FMT " on %s.%u with %d/%d solid colors tested (0x%X)\n",
 			 IGT_FORMAT_ARGS(format), kmstest_pipe_name(pipe),
-			 plane->index, crc_mismatch_count, (int)ARRAY_SIZE(colors), crc_mismatch_mask);
+			 plane->index, crc_mismatch_count, data->num_colors, crc_mismatch_mask);
 
 	return result;
 }
@@ -557,7 +567,7 @@ static bool test_format_plane_rgb(data_t *data, enum pipe pipe,
 				  igt_plane_t *plane,
 				  uint32_t format, uint64_t modifier,
 				  int width, int height,
-				  igt_crc_t ref_crc[ARRAY_SIZE(colors)],
+				  igt_crc_t ref_crc[],
 				  struct igt_fb *fb)
 {
 	igt_info("Testing format " IGT_FORMAT_FMT " / modifier 0x%" PRIx64 " on %s.%u\n",
@@ -576,7 +586,7 @@ static bool test_format_plane_yuv(data_t *data, enum pipe pipe,
 				  igt_plane_t *plane,
 				  uint32_t format, uint64_t modifier,
 				  int width, int height,
-				  igt_crc_t ref_crc[ARRAY_SIZE(colors)],
+				  igt_crc_t ref_crc[],
 				  struct igt_fb *fb)
 {
 	bool result = true;
@@ -608,7 +618,18 @@ static bool test_format_plane_yuv(data_t *data, enum pipe pipe,
 							   format, modifier,
 							   width, height,
 							   e, r, ref_crc, fb);
+
+			/*
+			 * Only test all combinations for linear or
+			 * if the user asked for extended tests.
+			 */
+			if (result && !data->extended &&
+			    modifier != DRM_FORMAT_MOD_LINEAR)
+				break;
 		}
+		if (result && !data->extended &&
+		    modifier != DRM_FORMAT_MOD_LINEAR)
+			break;
 	}
 
 	return result;
@@ -622,7 +643,7 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
 	uint32_t format, ref_format;
 	uint64_t modifier, ref_modifier;
 	uint64_t width, height;
-	igt_crc_t ref_crc[ARRAY_SIZE(colors)];
+	igt_crc_t ref_crc[ARRAY_SIZE(colors_extended)];
 	bool result = true;
 
 	/*
@@ -679,13 +700,15 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
 		igt_remove_fb(data->drm_fd, &test_fb);
 	}
 
-	for (int i = 0; i < ARRAY_SIZE(colors); i++) {
+	for (int i = 0; i < data->num_colors; i++) {
+		const color_t *c = &data->colors[i];
+
 		test_format_plane_color(data, pipe, plane,
 					format, modifier,
 					width, height,
 					IGT_COLOR_YCBCR_BT709,
 					IGT_COLOR_YCBCR_LIMITED_RANGE,
-					i, &ref_crc[i], &fb);
+					c, &ref_crc[i], &fb);
 	}
 
 	/*
@@ -693,7 +716,7 @@ static bool test_format_plane(data_t *data, enum pipe pipe,
 	 * at least avoids claiming success when everything is just
 	 * black all the time (eg. if the plane is never even on).
 	 */
-	igt_require(num_unique_crcs(ref_crc, ARRAY_SIZE(colors)) > 1);
+	igt_require(num_unique_crcs(ref_crc, data->num_colors) > 1);
 
 	for (int i = 0; i < plane->format_mod_count; i++) {
 		format = plane->formats[i];
@@ -744,6 +767,14 @@ test_pixel_formats(data_t *data, enum pipe pipe)
 	igt_output_t *output;
 	igt_plane_t *plane;
 
+	if (data->extended) {
+		data->colors = colors_extended;
+		data->num_colors = ARRAY_SIZE(colors_extended);
+	} else {
+		data->colors = colors_reduced;
+		data->num_colors = ARRAY_SIZE(colors_reduced);
+	}
+
 	output = igt_get_single_output_for_pipe(&data->display, pipe);
 	igt_require(output);
 
@@ -824,10 +855,30 @@ run_tests_for_pipe_plane(data_t *data, enum pipe pipe)
 					       TEST_SUSPEND_RESUME);
 }
 
+static int opt_handler(int opt, int opt_index, void *_data)
+{
+	data_t *data = _data;
+
+	switch (opt) {
+	case 'e':
+		data->extended = true;
+		break;
+	}
+
+	return IGT_OPT_HANDLER_SUCCESS;
+}
+
+static const struct option long_opts[] = {
+	{ .name = "extended", .has_arg = false, .val = 'e', },
+	{}
+};
+
+static const char help_str[] =
+	"  --extended\t\tRun the extended tests\n";
 
 static data_t data;
 
-igt_main
+igt_main_args("", long_opts, help_str, opt_handler, &data)
 {
 	enum pipe pipe;
 
-- 
2.21.0

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

* [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_plane: Reduce pixel format test execution time
  2019-10-21 17:50 [igt-dev] [PATCH i-g-t] tests/kms_plane: Reduce pixel format test execution time Ville Syrjala
@ 2019-10-21 18:38 ` Patchwork
  2019-10-21 23:26 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
       [not found] ` <20191022125409.20175-1-stanislav.lisovskiy@intel.com>
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-10-21 18:38 UTC (permalink / raw)
  To: Ville Syrjala; +Cc: igt-dev

== Series Details ==

Series: tests/kms_plane: Reduce pixel format test execution time
URL   : https://patchwork.freedesktop.org/series/68328/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7141 -> IGTPW_3591
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

  * igt@gem_ctx_switch@rcs0:
    - fi-apl-guc:         [PASS][1] -> [INCOMPLETE][2] ([fdo#103927])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-apl-guc/igt@gem_ctx_switch@rcs0.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-apl-guc/igt@gem_ctx_switch@rcs0.html

  * igt@gem_mmap@basic-small-bo:
    - fi-icl-u3:          [PASS][3] -> [DMESG-WARN][4] ([fdo#107724]) +1 similar issue
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-icl-u3/igt@gem_mmap@basic-small-bo.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-icl-u3/igt@gem_mmap@basic-small-bo.html

  * igt@kms_chamelium@hdmi-hpd-fast:
    - fi-kbl-7500u:       [PASS][5] -> [FAIL][6] ([fdo#111407])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-kbl-7500u/igt@kms_chamelium@hdmi-hpd-fast.html

  
#### Possible fixes ####

  * igt@gem_ctx_create@basic-files:
    - {fi-icl-dsi}:       [INCOMPLETE][7] ([fdo#107713] / [fdo#109100]) -> [PASS][8]
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-icl-dsi/igt@gem_ctx_create@basic-files.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-icl-dsi/igt@gem_ctx_create@basic-files.html

  * igt@gem_ctx_switch@rcs0:
    - {fi-icl-guc}:       [INCOMPLETE][9] ([fdo#107713]) -> [PASS][10]
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-icl-guc/igt@gem_ctx_switch@rcs0.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-icl-guc/igt@gem_ctx_switch@rcs0.html

  * igt@gem_exec_parallel@basic:
    - {fi-tgl-u}:         [INCOMPLETE][11] ([fdo#111887]) -> [PASS][12]
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-tgl-u/igt@gem_exec_parallel@basic.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-tgl-u/igt@gem_exec_parallel@basic.html

  * igt@gem_exec_suspend@basic-s4-devices:
    - fi-kbl-7500u:       [DMESG-WARN][13] ([fdo#105128] / [fdo#107139]) -> [PASS][14]
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-kbl-7500u/igt@gem_exec_suspend@basic-s4-devices.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-kbl-7500u/igt@gem_exec_suspend@basic-s4-devices.html

  * igt@gem_flink_basic@double-flink:
    - fi-icl-u3:          [DMESG-WARN][15] ([fdo#107724]) -> [PASS][16] +2 similar issues
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-icl-u3/igt@gem_flink_basic@double-flink.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-icl-u3/igt@gem_flink_basic@double-flink.html

  * igt@i915_selftest@live_gem_contexts:
    - fi-cfl-8109u:       [DMESG-FAIL][17] ([fdo#112050 ]) -> [PASS][18]
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-cfl-8109u/igt@i915_selftest@live_gem_contexts.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-cfl-8109u/igt@i915_selftest@live_gem_contexts.html

  * igt@i915_selftest@live_hangcheck:
    - {fi-tgl-u2}:        [INCOMPLETE][19] ([fdo#111747]) -> [PASS][20]
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-tgl-u2/igt@i915_selftest@live_hangcheck.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-tgl-u2/igt@i915_selftest@live_hangcheck.html

  * igt@kms_frontbuffer_tracking@basic:
    - fi-hsw-peppy:       [DMESG-WARN][21] ([fdo#102614]) -> [PASS][22]
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/fi-hsw-peppy/igt@kms_frontbuffer_tracking@basic.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/fi-hsw-peppy/igt@kms_frontbuffer_tracking@basic.html

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

  [fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614
  [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
  [fdo#105128]: https://bugs.freedesktop.org/show_bug.cgi?id=105128
  [fdo#107139]: https://bugs.freedesktop.org/show_bug.cgi?id=107139
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
  [fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
  [fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
  [fdo#111747]: https://bugs.freedesktop.org/show_bug.cgi?id=111747
  [fdo#111887]: https://bugs.freedesktop.org/show_bug.cgi?id=111887
  [fdo#112050 ]: https://bugs.freedesktop.org/show_bug.cgi?id=112050 


Participating hosts (53 -> 44)
------------------------------

  Missing    (9): fi-ilk-m540 fi-hsw-4200u fi-byt-j1900 fi-byt-squawks fi-bsw-cyan fi-icl-y fi-bdw-samus fi-byt-clapper fi-skl-6700k2 


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

  * CI: CI-20190529 -> None
  * IGT: IGT_5235 -> IGTPW_3591

  CI-20190529: 20190529
  CI_DRM_7141: a109221528d0b9d4f24065aed372c6b45e251bd6 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_3591: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/index.html
  IGT_5235: da9abbab69be80dd00812a4607a4ea2dffcc4544 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

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

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

* [igt-dev] ✓ Fi.CI.IGT: success for tests/kms_plane: Reduce pixel format test execution time
  2019-10-21 17:50 [igt-dev] [PATCH i-g-t] tests/kms_plane: Reduce pixel format test execution time Ville Syrjala
  2019-10-21 18:38 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2019-10-21 23:26 ` Patchwork
       [not found] ` <20191022125409.20175-1-stanislav.lisovskiy@intel.com>
  2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2019-10-21 23:26 UTC (permalink / raw)
  To: Ville Syrjala; +Cc: igt-dev

== Series Details ==

Series: tests/kms_plane: Reduce pixel format test execution time
URL   : https://patchwork.freedesktop.org/series/68328/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_7141_full -> IGTPW_3591_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

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

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

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

### IGT changes ###

#### Suppressed ####

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

  * igt@i915_pm_rpm@basic-pci-d3-state:
    - {shard-tglb}:       [PASS][1] -> [INCOMPLETE][2]
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-tglb7/igt@i915_pm_rpm@basic-pci-d3-state.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-tglb3/igt@i915_pm_rpm@basic-pci-d3-state.html

  * igt@kms_plane_scaling@pipe-d-scaler-with-clipping-clamping:
    - {shard-tglb}:       NOTRUN -> [INCOMPLETE][3]
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-tglb2/igt@kms_plane_scaling@pipe-d-scaler-with-clipping-clamping.html

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

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

### IGT changes ###

#### Issues hit ####

  * igt@gem_ctx_isolation@vcs1-clean:
    - shard-iclb:         [PASS][4] -> [SKIP][5] ([fdo#109276] / [fdo#112080]) +1 similar issue
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb2/igt@gem_ctx_isolation@vcs1-clean.html
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb7/igt@gem_ctx_isolation@vcs1-clean.html

  * igt@gem_ctx_shared@q-smoketest-bsd1:
    - shard-iclb:         [PASS][6] -> [INCOMPLETE][7] ([fdo#107713])
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb2/igt@gem_ctx_shared@q-smoketest-bsd1.html
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb7/igt@gem_ctx_shared@q-smoketest-bsd1.html

  * igt@gem_exec_parallel@vcs1-fds:
    - shard-iclb:         [PASS][8] -> [SKIP][9] ([fdo#112080]) +4 similar issues
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb2/igt@gem_exec_parallel@vcs1-fds.html
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb5/igt@gem_exec_parallel@vcs1-fds.html

  * igt@gem_exec_schedule@fifo-bsd1:
    - shard-iclb:         [PASS][10] -> [SKIP][11] ([fdo#109276]) +11 similar issues
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb4/igt@gem_exec_schedule@fifo-bsd1.html
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb8/igt@gem_exec_schedule@fifo-bsd1.html

  * igt@gem_exec_schedule@preemptive-hang-bsd:
    - shard-iclb:         [PASS][12] -> [SKIP][13] ([fdo#111325]) +3 similar issues
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb5/igt@gem_exec_schedule@preemptive-hang-bsd.html
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb2/igt@gem_exec_schedule@preemptive-hang-bsd.html

  * igt@gem_persistent_relocs@forked-interruptible-thrashing:
    - shard-snb:          [PASS][14] -> [FAIL][15] ([fdo#112037])
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-snb5/igt@gem_persistent_relocs@forked-interruptible-thrashing.html
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-snb6/igt@gem_persistent_relocs@forked-interruptible-thrashing.html

  * igt@gem_softpin@noreloc-s3:
    - shard-snb:          [PASS][16] -> [DMESG-WARN][17] ([fdo#102365])
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-snb1/igt@gem_softpin@noreloc-s3.html
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-snb4/igt@gem_softpin@noreloc-s3.html

  * igt@gem_userptr_blits@sync-unmap:
    - shard-snb:          [PASS][18] -> [DMESG-WARN][19] ([fdo#111870]) +2 similar issues
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-snb1/igt@gem_userptr_blits@sync-unmap.html
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-snb5/igt@gem_userptr_blits@sync-unmap.html

  * igt@gem_userptr_blits@sync-unmap-after-close:
    - shard-hsw:          [PASS][20] -> [DMESG-WARN][21] ([fdo#111870]) +2 similar issues
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-hsw1/igt@gem_userptr_blits@sync-unmap-after-close.html
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-hsw6/igt@gem_userptr_blits@sync-unmap-after-close.html

  * igt@i915_pm_rc6_residency@rc6-accuracy:
    - shard-kbl:          [PASS][22] -> [SKIP][23] ([fdo#109271])
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-kbl6/igt@i915_pm_rc6_residency@rc6-accuracy.html
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-kbl4/igt@i915_pm_rc6_residency@rc6-accuracy.html

  * igt@kms_cursor_crc@pipe-c-cursor-size-change:
    - shard-apl:          [PASS][24] -> [INCOMPLETE][25] ([fdo#103927]) +4 similar issues
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-apl6/igt@kms_cursor_crc@pipe-c-cursor-size-change.html
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-apl7/igt@kms_cursor_crc@pipe-c-cursor-size-change.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt:
    - shard-iclb:         [PASS][26] -> [FAIL][27] ([fdo#103167]) +2 similar issues
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html

  * igt@kms_plane_lowres@pipe-a-tiling-x:
    - shard-iclb:         [PASS][28] -> [FAIL][29] ([fdo#103166])
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb1/igt@kms_plane_lowres@pipe-a-tiling-x.html
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb6/igt@kms_plane_lowres@pipe-a-tiling-x.html

  * igt@kms_psr@psr2_primary_mmap_cpu:
    - shard-iclb:         [PASS][30] -> [SKIP][31] ([fdo#109441]) +3 similar issues
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb3/igt@kms_psr@psr2_primary_mmap_cpu.html

  * igt@kms_setmode@basic:
    - shard-hsw:          [PASS][32] -> [FAIL][33] ([fdo#99912])
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-hsw6/igt@kms_setmode@basic.html
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-hsw4/igt@kms_setmode@basic.html

  * igt@kms_vblank@pipe-a-ts-continuation-suspend:
    - shard-apl:          [PASS][34] -> [DMESG-WARN][35] ([fdo#108566]) +2 similar issues
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-apl5/igt@kms_vblank@pipe-a-ts-continuation-suspend.html
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-apl4/igt@kms_vblank@pipe-a-ts-continuation-suspend.html

  
#### Possible fixes ####

  * igt@gem_ctx_isolation@vcs1-none:
    - shard-iclb:         [SKIP][36] ([fdo#109276] / [fdo#112080]) -> [PASS][37] +1 similar issue
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb8/igt@gem_ctx_isolation@vcs1-none.html
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb4/igt@gem_ctx_isolation@vcs1-none.html

  * igt@gem_ctx_switch@vcs1:
    - shard-iclb:         [SKIP][38] ([fdo#112080]) -> [PASS][39] +12 similar issues
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb8/igt@gem_ctx_switch@vcs1.html
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb2/igt@gem_ctx_switch@vcs1.html

  * igt@gem_exec_schedule@promotion-bsd1:
    - shard-iclb:         [SKIP][40] ([fdo#109276]) -> [PASS][41] +12 similar issues
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb3/igt@gem_exec_schedule@promotion-bsd1.html
   [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb2/igt@gem_exec_schedule@promotion-bsd1.html

  * igt@gem_exec_schedule@reorder-wide-bsd:
    - shard-iclb:         [SKIP][42] ([fdo#111325]) -> [PASS][43] +6 similar issues
   [42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb2/igt@gem_exec_schedule@reorder-wide-bsd.html
   [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb5/igt@gem_exec_schedule@reorder-wide-bsd.html

  * igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy:
    - shard-hsw:          [DMESG-WARN][44] ([fdo#111870]) -> [PASS][45] +1 similar issue
   [44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-hsw1/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html
   [45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-hsw4/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html

  * igt@i915_pm_rpm@cursor:
    - {shard-tglb}:       [INCOMPLETE][46] -> [PASS][47]
   [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-tglb8/igt@i915_pm_rpm@cursor.html
   [47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-tglb1/igt@i915_pm_rpm@cursor.html

  * igt@kms_cursor_legacy@pipe-a-single-move:
    - shard-apl:          [INCOMPLETE][48] ([fdo#103927]) -> [PASS][49]
   [48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-apl6/igt@kms_cursor_legacy@pipe-a-single-move.html
   [49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-apl5/igt@kms_cursor_legacy@pipe-a-single-move.html

  * igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-xtiled:
    - shard-snb:          [SKIP][50] ([fdo#109271]) -> [PASS][51] +3 similar issues
   [50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-snb6/igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-xtiled.html
   [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-snb5/igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-xtiled.html

  * igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw:
    - shard-iclb:         [FAIL][52] ([fdo#103167]) -> [PASS][53] +3 similar issues
   [52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb7/igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw.html
   [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw.html

  * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render:
    - {shard-tglb}:       [FAIL][54] ([fdo#103167]) -> [PASS][55]
   [54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-tglb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
   [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-tglb3/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html

  * igt@kms_frontbuffer_tracking@fbc-suspend:
    - shard-apl:          [DMESG-WARN][56] ([fdo#108566]) -> [PASS][57] +4 similar issues
   [56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-apl6/igt@kms_frontbuffer_tracking@fbc-suspend.html
   [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-apl7/igt@kms_frontbuffer_tracking@fbc-suspend.html

  * igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
    - shard-iclb:         [DMESG-WARN][58] ([fdo#111764]) -> [PASS][59]
   [58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb2/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
   [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb2/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html

  * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
    - {shard-tglb}:       [INCOMPLETE][60] ([fdo#111832] / [fdo#111850]) -> [PASS][61]
   [60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-tglb8/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html
   [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-tglb6/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes.html

  * igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
    - shard-iclb:         [INCOMPLETE][62] ([fdo#107713]) -> [PASS][63]
   [62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb7/igt@kms_plane_alpha_blend@pipe-c-coverage-7efc.html
   [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb2/igt@kms_plane_alpha_blend@pipe-c-coverage-7efc.html

  * igt@kms_psr@psr2_sprite_plane_onoff:
    - shard-iclb:         [SKIP][64] ([fdo#109441]) -> [PASS][65]
   [64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb7/igt@kms_psr@psr2_sprite_plane_onoff.html
   [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb2/igt@kms_psr@psr2_sprite_plane_onoff.html

  
#### Warnings ####

  * igt@gem_mocs_settings@mocs-reset-bsd2:
    - shard-iclb:         [SKIP][66] ([fdo#109276]) -> [FAIL][67] ([fdo#111330])
   [66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-iclb5/igt@gem_mocs_settings@mocs-reset-bsd2.html
   [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-iclb1/igt@gem_mocs_settings@mocs-reset-bsd2.html

  * igt@kms_content_protection@atomic:
    - shard-apl:          [FAIL][68] ([fdo#110321] / [fdo#110336]) -> [INCOMPLETE][69] ([fdo#103927])
   [68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7141/shard-apl5/igt@kms_content_protection@atomic.html
   [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/shard-apl8/igt@kms_content_protection@atomic.html

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

  [fdo#102365]: https://bugs.freedesktop.org/show_bug.cgi?id=102365
  [fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
  [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#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
  [fdo#110336]: https://bugs.freedesktop.org/show_bug.cgi?id=110336
  [fdo#110548]: https://bugs.freedesktop.org/show_bug.cgi?id=110548
  [fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
  [fdo#111329]: https://bugs.freedesktop.org/show_bug.cgi?id=111329
  [fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
  [fdo#111597]: https://bugs.freedesktop.org/show_bug.cgi?id=111597
  [fdo#111646]: https://bugs.freedesktop.org/show_bug.cgi?id=111646
  [fdo#111764]: https://bugs.freedesktop.org/show_bug.cgi?id=111764
  [fdo#111781]: https://bugs.freedesktop.org/show_bug.cgi?id=111781
  [fdo#111832]: https://bugs.freedesktop.org/show_bug.cgi?id=111832
  [fdo#111850]: https://bugs.freedesktop.org/show_bug.cgi?id=111850
  [fdo#111855]: https://bugs.freedesktop.org/show_bug.cgi?id=111855
  [fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
  [fdo#112037]: https://bugs.freedesktop.org/show_bug.cgi?id=112037
  [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
  [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912


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

  Missing    (3): pig-skl-6260u pig-glk-j5005 pig-hsw-4770r 


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

  * CI: CI-20190529 -> None
  * IGT: IGT_5235 -> IGTPW_3591
  * Piglit: piglit_4509 -> None

  CI-20190529: 20190529
  CI_DRM_7141: a109221528d0b9d4f24065aed372c6b45e251bd6 @ git://anongit.freedesktop.org/gfx-ci/linux
  IGTPW_3591: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3591/index.html
  IGT_5235: da9abbab69be80dd00812a4607a4ea2dffcc4544 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

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

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

* Re: [igt-dev] [PATCH i-g-t] tests/kms_plane: Reduce pixel format test execution time
       [not found] ` <20191022125409.20175-1-stanislav.lisovskiy@intel.com>
@ 2019-10-24 11:08   ` Petri Latvala
  0 siblings, 0 replies; 4+ messages in thread
From: Petri Latvala @ 2019-10-24 11:08 UTC (permalink / raw)
  To: Stanislav Lisovskiy; +Cc: igt-dev

On Tue, Oct 22, 2019 at 03:54:09PM +0300, Stanislav Lisovskiy wrote:
> > -----Original Message-----
> > From: igt-dev <igt-dev-bounces@lists.freedesktop.org> On Behalf Of Ville Syrjala
> > Sent: maanantai 21. lokakuuta 2019 20.50
> > To: igt-dev@lists.freedesktop.org
> > Subject: [igt-dev] [PATCH i-g-t] tests/kms_plane: Reduce pixel format test execution
> > time
> > 
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > 
> > By default reduce the set of colors we test by half, and only test all the YCbCr
> > range/encoding combinations for linear buffers. This should hopefully still provide
> > decent coverage with a big reduction in execution time.
> > The previous more extensive coverage is now hidden behind the --extended
> > command line argument.
> > 
> > On KBL:
> > time kms_plane --r pixel-format-pipe-A-planes
> > - real        1m7,995s
> > + real        0m22,943s
> > 
> > Further ideas for more reduction:
> > - Don't test on all planes (eg. on icl+ we could test on one hdr
> >   plane, one sdr uv plane, and one sdr y plane)
> > - Don't test absolutely every pixel format + modifier combination
> > - Pipeline even deeper to make each color checked take only a single
> >   frame (currently I think it should be taking two frames per color)
> > 
> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> Reviewed-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>


Merged this. Thanks!


-- 
Petri Latvala
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

end of thread, other threads:[~2019-10-24 11:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-21 17:50 [igt-dev] [PATCH i-g-t] tests/kms_plane: Reduce pixel format test execution time Ville Syrjala
2019-10-21 18:38 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-10-21 23:26 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
     [not found] ` <20191022125409.20175-1-stanislav.lisovskiy@intel.com>
2019-10-24 11:08   ` [igt-dev] [PATCH i-g-t] " Petri Latvala

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox