Skip to contentSkip to conversation

tests/i915/perf_pmu: Subtest to measure sampling error for 100% busy

PATCH In review Tvrtko Ursulin 3 participants 8 messages Feb 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/i915/perf_pmu: Subtest to measure sampling error for 100% busy

From: Tvrtko Ursulin <[email protected]>

Test that periodic reads of engine busyness against a constant 100% load are within the 5000ppm tolerance when comparing perf timestamp versus counter values.

---
 tests/i915/perf_pmu.c | 46 ++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 41 insertions(+), 5 deletions(-)
tests/i915/perf_pmu.c +41 -5
index 50b5c82bc472..728312be5293 100644
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <fcntl.h>
+#include <float.h>
 #include <inttypes.h>
 #include <errno.h>
 #include <signal.h>
@@ -46,6 +47,7 @@
 #include "igt_perf.h"
 #include "igt_sysfs.h"
 #include "igt_pm.h"
+#include "igt_stats.h"
 #include "sw_sync.h"
 
 IGT_TEST_DESCRIPTION("Test the i915 pmu perf interface");
@@ -278,8 +280,11 @@ static void end_spin(int fd, igt_spin_t *spin, unsigned int flags)
 static void
 single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags)
 {
+	unsigned int loops = flags & FLAG_LONG ? 20 : 1;
+	double err_min = DBL_MAX, err_max = -DBL_MAX;
 	unsigned long slept;
 	igt_spin_t *spin;
+	igt_stats_t s;
 	uint64_t val;
 	int fd;
 
@@ -290,11 +295,40 @@ single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags)
 	else
 		spin = NULL;
 
-	val = pmu_read_single(fd);
-	slept = measured_usleep(batch_duration_ns / 1000);
-	if (flags & TEST_TRAILING_IDLE)
-		end_spin(gem_fd, spin, flags);
-	val = pmu_read_single(fd) - val;
+	igt_stats_init_with_size(&s, loops);
+
+	while (--loops) {
+		uint64_t ts[2];
+
+		val = __pmu_read_single(fd, &ts[0]);
+		slept = measured_usleep(batch_duration_ns / 1000);
+		if (flags & TEST_TRAILING_IDLE)
+			end_spin(gem_fd, spin, flags);
+		val = __pmu_read_single(fd, &ts[1]) - val;
+
+		if (flags & FLAG_LONG) {
+			unsigned long t = ts[1] - ts[0];
+			double err = (double)((long)val - (long)t) / t * 1e6;
+
+			igt_debug("time=%lu busy=%"PRIu64" error=%.2fppm\n",
+				  t, val, err);
+
+			igt_assert_f(fabs(err) <= 5000, "Error=%.2fppm\n", err);
+
+			if (err > err_max)
+				err_max = err;
+			if (err < err_min)
+				err_min = err;
+
+			igt_stats_push_float(&s, err);
+		}
+	}
+
+	if (flags & FLAG_LONG)
+		igt_info("error min=%.2fppm avg=%.2fppm max=%.2fppm\n",
+			 err_min, igt_stats_get_mean(&s), err_max);
+
+	igt_stats_fini(&s);
 
 	if (flags & FLAG_HANG)
 		igt_force_gpu_reset(gem_fd);
@@ -2126,6 +2160,8 @@ igt_main
 	 */
 	test_each_engine("busy", fd, e)
 		single(fd, e, TEST_BUSY);
+	test_each_engine("busy-accuracy", fd, e)
+		single(fd, e, TEST_BUSY | FLAG_LONG);
 	test_each_engine("busy-idle", fd, e)
 		single(fd, e, TEST_BUSY | TEST_TRAILING_IDLE);
 
Signature · 6 lines
2.27.0

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

[igt-dev] ✓ Fi.CI.BAT: success for tests/i915/perf_pmu: Subtest to measure sampling error for 100% busy

== Series Details ==

== Series Details ==

Series: tests/i915/perf_pmu: Subtest to measure sampling error for 100% busy
URL : https://patchwork.freedesktop.org/series/87118/
State : success

== Summary ==

CI Bug Log - changes from IGT_6004 -> IGTPW_5512
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_basic@query-info:
- fi-tgl-y: NOTRUN -> [SKIP][1] ([fdo#109315] / [i915#2575])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/fi-tgl-y/igt@amdgpu/[email protected]

* igt@amdgpu/amd_basic@semaphore:
- fi-bsw-nick: NOTRUN -> [SKIP][2] ([fdo#109271]) +17 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/fi-bsw-nick/igt@amdgpu/[email protected]

* igt@fbdev@read:
- fi-tgl-y: [PASS][3] -> [DMESG-WARN][4] ([i915#402]) +2 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/fi-tgl-y/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/fi-tgl-y/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s3:
- fi-tgl-y: [DMESG-WARN][5] ([i915#2411] / [i915#402]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/fi-tgl-y/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/fi-tgl-y/igt@[email protected]

* igt@i915_pm_rpm@module-reload:
- fi-kbl-7500u: [DMESG-WARN][7] ([i915#2605]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/fi-kbl-7500u/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/fi-kbl-7500u/igt@[email protected]

* igt@i915_selftest@live@execlists:
- fi-bsw-nick: [INCOMPLETE][9] ([i915#2940]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/fi-bsw-nick/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/fi-bsw-nick/igt@i915_selftest@[email protected]

* igt@prime_self_import@basic-with_one_bo_two_files:
- fi-tgl-y: [DMESG-WARN][11] ([i915#402]) -> [PASS][12] +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/fi-tgl-y/igt@prime_self_import@basic-with_one_bo_two_files.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/fi-tgl-y/igt@prime_self_import@basic-with_one_bo_two_files.html

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

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#2295]: https://gitlab.freedesktop.org/drm/intel/issues/2295
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2505]: https://gitlab.freedesktop.org/drm/intel/issues/2505
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2605]: https://gitlab.freedesktop.org/drm/intel/issues/2605
[i915#2782]: https://gitlab.freedesktop.org/drm/intel/issues/2782
[i915#2940]: https://gitlab.freedesktop.org/drm/intel/issues/2940
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402

Participating hosts (44 -> 38)
------------------------------

Missing (6): fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 fi-dg1-1 fi-bdw-samus

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

* CI: CI-20190529 -> None
* IGT: IGT_6004 -> IGTPW_5512

CI-20190529: 20190529
CI_DRM_9777: 5fd19bfd239ec997f3bcac75d6af8c9340066b12 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5512: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/index.html
IGT_6004: fe9ac2aeffc1828c6d61763a611a44fbd450aa96 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Testlist changes ==

+igt@perf_pmu@busy-accuracy

== Logs ==

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

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

#2 lore raw
In reply to Tvrtko Ursulin

Quoting Tvrtko Ursulin (2021-02-16 10:50:50)

Quoted 5 lines

From: Tvrtko Ursulin <[email protected]>

Test that periodic reads of engine busyness against a constant 100% load are within the 5000ppm tolerance when comparing perf timestamp versus counter values.

We've previously only included the accuracy tests on platforms that claim to be accurate. Can we rephrase the goal of the test such that it sounds more like a universal truth that should also be valid for the sampling backends? "The busyness should never exceed 100% (within a margin of error)..." And since accuracy is currently protected by has_busy_stats, let's try to find a different name.
-Chris
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#3 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for tests/i915/perf_pmu: Subtest to measure sampling error for 100% busy

In reply to Tvrtko Ursulin
== Series Details ==

== Series Details ==

Series: tests/i915/perf_pmu: Subtest to measure sampling error for 100% busy
URL : https://patchwork.freedesktop.org/series/87118/
State : failure

== Summary ==

CI Bug Log - changes from IGT_6004_full -> IGTPW_5512_full
====================================================

Summary
-------

**FAILURE**

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

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

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

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

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

### IGT changes ###

#### Possible regressions ####

* {igt@perf_pmu@busy-accuracy@vcs0} (NEW):
- shard-hsw: NOTRUN -> [FAIL][1] +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-hsw1/igt@perf_pmu@[email protected]

* igt@perf_pmu@busy-hang@bcs0:
- shard-tglb: [PASS][2] -> [FAIL][3] +9 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-tglb1/igt@perf_pmu@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb6/igt@perf_pmu@[email protected]

* igt@perf_pmu@idle@bcs0:
- shard-iclb: [PASS][4] -> [FAIL][5] +7 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-iclb2/igt@perf_pmu@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb5/igt@perf_pmu@[email protected]
- shard-hsw: [PASS][6] -> [FAIL][7] +7 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-hsw2/igt@perf_pmu@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-hsw7/igt@perf_pmu@[email protected]
- shard-glk: [PASS][8] -> [FAIL][9] +7 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-glk1/igt@perf_pmu@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-glk6/igt@perf_pmu@[email protected]

* igt@perf_pmu@idle@rcs0:
- shard-snb: NOTRUN -> [FAIL][10] +2 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-snb6/igt@perf_pmu@[email protected]

* igt@perf_pmu@idle@vecs0:
- shard-apl: [PASS][11] -> [FAIL][12] +3 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-apl2/igt@perf_pmu@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl1/igt@perf_pmu@[email protected]
- shard-kbl: [PASS][13] -> [FAIL][14] +4 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-kbl6/igt@perf_pmu@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl1/igt@perf_pmu@[email protected]

New tests
---------

New tests have been introduced between IGT_6004_full and IGTPW_5512_full:

### New IGT tests (53) ###

* igt@gem_ctx_engines@libapi:
- Statuses : 7 pass(s)
- Exec time: [0.00, 0.01] s

* igt@gem_ctx_engines@none:
- Statuses :
- Exec time: [None] s

* igt@gem_ctx_persistence@close-replace-race:
- Statuses : 5 pass(s) 1 skip(s)
- Exec time: [0.0, 5.46] s

* igt@gem_ctx_sseu@mmap-args:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@gem_ctx_sseu@mmap-args@gtt:
- Statuses : 1 pass(s)
- Exec time: [0.00] s

* igt@gem_ctx_sseu@mmap-args@uc:
- Statuses : 1 pass(s)
- Exec time: [0.0] s

* igt@gem_ctx_sseu@mmap-args@wb:
- Statuses : 1 pass(s)
- Exec time: [0.00] s

* igt@gem_ctx_sseu@mmap-args@wc:
- Statuses : 1 pass(s)
- Exec time: [0.0] s

* igt@gem_exec_fence@basic-await:
- Statuses : 1 skip(s)
- Exec time: [0.0] s

* igt@gem_exec_fence@basic-await@bcs0:
- Statuses : 4 pass(s)
- Exec time: [0.07, 0.12] s

* igt@gem_exec_fence@basic-await@rcs0:
- Statuses : 4 pass(s)
- Exec time: [0.07, 0.11] s

* igt@gem_exec_fence@basic-await@vcs0:
- Statuses : 4 pass(s)
- Exec time: [0.07, 0.11] s

* igt@gem_exec_fence@basic-await@vcs1:
- Statuses : 1 pass(s)
- Exec time: [0.08] s

* igt@gem_exec_fence@basic-await@vecs0:
- Statuses : 4 pass(s)
- Exec time: [0.07, 0.12] s

* igt@gem_exec_fence@basic-busy:
- Statuses :
- Exec time: [None] s

* igt@gem_exec_fence@basic-busy@bcs0:
- Statuses : 3 pass(s) 3 skip(s)
- Exec time: [0.0, 0.02] s

* igt@gem_exec_fence@basic-busy@rcs0:
- Statuses : 6 pass(s)
- Exec time: [0.01, 0.02] s

* igt@gem_exec_fence@basic-busy@vcs0:
- Statuses : 6 pass(s)
- Exec time: [0.01, 0.02] s

* igt@gem_exec_fence@basic-busy@vcs1:
- Statuses : 2 pass(s)
- Exec time: [0.01] s

* igt@gem_exec_fence@basic-busy@vecs0:
- Statuses : 6 pass(s)
- Exec time: [0.01, 0.02] s

* igt@gem_exec_fence@basic-wait:
- Statuses :
- Exec time: [None] s

* igt@gem_exec_fence@basic-wait@bcs0:
- Statuses : 3 pass(s) 2 skip(s)
- Exec time: [0.0, 0.03] s

* igt@gem_exec_fence@basic-wait@rcs0:
- Statuses : 5 pass(s)
- Exec time: [0.01, 0.02] s

* igt@gem_exec_fence@basic-wait@vcs0:
- Statuses : 5 pass(s)
- Exec time: [0.01, 0.02] s

* igt@gem_exec_fence@basic-wait@vcs1:
- Statuses : 2 pass(s)
- Exec time: [0.01, 0.02] s

* igt@gem_exec_fence@basic-wait@vecs0:
- Statuses : 5 pass(s)
- Exec time: [0.01, 0.02] s

* igt@gem_exec_fence@nb-await:
- Statuses : 1 skip(s)
- Exec time: [0.0] s

* igt@gem_exec_fence@nb-await@bcs0:
- Statuses : 4 pass(s)
- Exec time: [0.05, 0.10] s

* igt@gem_exec_fence@nb-await@rcs0:
- Statuses : 4 pass(s)
- Exec time: [0.05, 0.11] s

* igt@gem_exec_fence@nb-await@vcs0:
- Statuses : 4 pass(s)
- Exec time: [0.05, 0.08] s

* igt@gem_exec_fence@nb-await@vecs0:
- Statuses : 4 pass(s)
- Exec time: [0.05, 0.07] s

* igt@kms_busy@basic:
- Statuses :
- Exec time: [None] s

* igt@kms_busy@basic@flip:
- Statuses : 7 pass(s)
- Exec time: [0.28, 0.95] s

* igt@kms_busy@basic@modeset:
- Statuses : 7 pass(s)
- Exec time: [0.46, 3.67] s

* igt@kms_content_protection@atomic-dpms:
- Statuses : 5 skip(s) 2 timeout(s)
- Exec time: [0.0, 121.09] s

* igt@kms_hdr@bpc-switch:
- Statuses : 5 pass(s) 1 skip(s)
- Exec time: [0.0, 2.62] s

* igt@kms_hdr@bpc-switch-dpms:
- Statuses : 6 pass(s) 1 skip(s)
- Exec time: [0.0, 3.84] s

* igt@kms_hdr@bpc-switch-suspend:
- Statuses : 4 pass(s) 1 skip(s)
- Exec time: [0.0, 4.45] s

* igt@kms_hdr@static-swap:
- Statuses : 6 skip(s)
- Exec time: [0.0] s

* igt@kms_hdr@static-toggle:
- Statuses : 5 skip(s)
- Exec time: [0.0, 0.00] s

* igt@kms_hdr@static-toggle-dpms:
- Statuses : 4 skip(s)
- Exec time: [0.0, 0.00] s

* igt@kms_hdr@static-toggle-suspend:
- Statuses : 7 skip(s)
- Exec time: [0.0, 0.00] s

* igt@kms_psr2_su@frontbuffer:
- Statuses : 3 skip(s)
- Exec time: [0.0] s

* igt@kms_psr2_su@page_flip:
- Statuses : 1 pass(s) 5 skip(s)
- Exec time: [0.0, 0.38] s

* igt@perf_pmu@busy-accuracy:
- Statuses :
- Exec time: [None] s

* igt@perf_pmu@busy-accuracy@bcs0:
- Statuses : 1 fail(s) 5 pass(s)
- Exec time: [2.06, 9.53] s

* igt@perf_pmu@busy-accuracy@rcs0:
- Statuses : 1 fail(s) 5 pass(s)
- Exec time: [5.66, 9.53] s

* igt@perf_pmu@busy-accuracy@vcs0:
- Statuses : 1 fail(s) 5 pass(s)
- Exec time: [9.05, 9.53] s

* igt@perf_pmu@busy-accuracy@vcs1:
- Statuses : 2 pass(s)
- Exec time: [9.52] s

* igt@perf_pmu@busy-accuracy@vecs0:
- Statuses : 6 pass(s)
- Exec time: [9.52, 9.54] s

* igt@prime_vgem@basic-blt:
- Statuses : 5 pass(s)
- Exec time: [0.02, 0.08] s

* igt@prime_vgem@basic-fence-blt:
- Statuses : 6 pass(s)
- Exec time: [0.09, 0.15] s

* igt@prime_vgem@coherency-blt:
- Statuses : 6 pass(s)
- Exec time: [0.58, 5.51] s

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_create@create-massive:
- shard-kbl: NOTRUN -> [DMESG-WARN][15] ([i915#3002])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl4/igt@[email protected]

* igt@gem_ctx_persistence@engines-hostile:
- shard-hsw: NOTRUN -> [SKIP][16] ([fdo#109271] / [i915#1099]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-hsw7/igt@[email protected]

* igt@gem_ctx_persistence@smoketest:
- shard-snb: NOTRUN -> [SKIP][17] ([fdo#109271] / [i915#1099]) +8 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-snb6/igt@[email protected]

* igt@gem_eio@in-flight-contexts-1us:
- shard-iclb: [PASS][18] -> [TIMEOUT][19] ([i915#3070])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-iclb2/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb2/igt@[email protected]

* igt@gem_exec_balancer@hang:
- shard-iclb: [PASS][20] -> [INCOMPLETE][21] ([i915#1895] / [i915#2295] / [i915#3031])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-iclb3/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb4/igt@[email protected]

* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [PASS][22] -> [FAIL][23] ([i915#2842])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-iclb7/igt@gem_exec_fair@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb3/igt@gem_exec_fair@[email protected]
- shard-apl: [PASS][24] -> [SKIP][25] ([fdo#109271])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-apl1/igt@gem_exec_fair@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl2/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none@vcs0:
- shard-apl: [PASS][26] -> [FAIL][27] ([i915#2842])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-apl6/igt@gem_exec_fair@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl8/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][28] -> [FAIL][29] ([i915#2842]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-glk9/igt@gem_exec_fair@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-glk6/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vecs0:
- shard-tglb: [PASS][30] -> [FAIL][31] ([i915#2842])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-tglb5/igt@gem_exec_fair@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb6/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [PASS][32] -> [FAIL][33] ([i915#2849])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-iclb8/igt@gem_exec_fair@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb8/igt@gem_exec_fair@[email protected]

* igt@gem_exec_reloc@basic-parallel:
- shard-apl: NOTRUN -> [TIMEOUT][34] ([i915#1729])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl8/igt@[email protected]

* igt@gem_exec_reloc@basic-wide-active@rcs0:
- shard-kbl: NOTRUN -> [FAIL][35] ([i915#2389]) +4 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl7/igt@gem_exec_reloc@[email protected]

* igt@gem_huc_copy@huc-copy:
- shard-tglb: [PASS][36] -> [SKIP][37] ([i915#2190])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-tglb3/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb6/igt@[email protected]

* igt@gem_pread@exhaustion:
- shard-kbl: NOTRUN -> [WARN][38] ([i915#2658])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl6/igt@[email protected]

* igt@gem_pwrite@basic-exhaustion:
- shard-tglb: NOTRUN -> [WARN][39] ([i915#2658])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb6/igt@[email protected]

* igt@gem_render_copy@yf-tiled-mc-ccs-to-vebox-y-tiled:
- shard-glk: NOTRUN -> [SKIP][40] ([fdo#109271]) +31 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-glk7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][41] ([i915#768]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb7/igt@[email protected]

* igt@gem_userptr_blits@input-checking:
- shard-apl: NOTRUN -> [DMESG-WARN][42] ([i915#3002])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl2/igt@[email protected]

* igt@gem_userptr_blits@vma-merge:
- shard-snb: NOTRUN -> [FAIL][43] ([i915#2724])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-snb5/igt@[email protected]
- shard-kbl: NOTRUN -> [INCOMPLETE][44] ([i915#2502] / [i915#2667])
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl4/igt@[email protected]

* igt@gem_workarounds@suspend-resume:
- shard-apl: [PASS][45] -> [DMESG-WARN][46] ([i915#180]) +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-apl6/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl1/igt@[email protected]

* igt@gen7_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][47] ([fdo#109289])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb2/igt@[email protected]

* igt@gen9_exec_parse@basic-rejected-ctx-param:
- shard-tglb: NOTRUN -> [SKIP][48] ([fdo#112306])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][49] ([fdo#112306])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb1/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle:
- shard-hsw: [PASS][50] -> [WARN][51] ([i915#1519])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-hsw8/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-hsw1/igt@[email protected]

* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-snb: NOTRUN -> [DMESG-WARN][52] ([i915#42])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-snb6/igt@[email protected]

* igt@kms_big_fb@x-tiled-16bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][53] ([fdo#111614]) +2 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb8/igt@[email protected]

* igt@kms_big_fb@y-tiled-64bpp-rotate-90:
- shard-iclb: NOTRUN -> [SKIP][54] ([fdo#110725] / [fdo#111614]) +1 similar issue
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb7/igt@[email protected]

* igt@kms_big_fb@yf-tiled-64bpp-rotate-270:
- shard-tglb: NOTRUN -> [SKIP][55] ([fdo#111615]) +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][56] ([fdo#110723])
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb6/igt@[email protected]

* igt@kms_chamelium@vga-hpd:
- shard-apl: NOTRUN -> [SKIP][57] ([fdo#109271] / [fdo#111827]) +17 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][58] ([fdo#109284] / [fdo#111827]) +5 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb7/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][59] ([fdo#109271] / [fdo#111827]) +2 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-glk7/igt@[email protected]
- shard-hsw: NOTRUN -> [SKIP][60] ([fdo#109271] / [fdo#111827]) +2 similar issues
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-hsw2/igt@[email protected]

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

* igt@kms_color_chamelium@pipe-a-ctm-blue-to-red:
- shard-kbl: NOTRUN -> [SKIP][62] ([fdo#109271] / [fdo#111827]) +17 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl4/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-ctm-red-to-blue:
- shard-iclb: NOTRUN -> [SKIP][63] ([fdo#109284] / [fdo#111827]) +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb6/igt@[email protected]

* igt@kms_color_chamelium@pipe-d-ctm-0-5:
- shard-snb: NOTRUN -> [SKIP][64] ([fdo#109271] / [fdo#111827]) +23 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-snb7/igt@[email protected]

* igt@kms_content_protection@atomic:
- shard-kbl: NOTRUN -> [TIMEOUT][65] ([i915#1319])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl6/igt@[email protected]

* igt@kms_content_protection@atomic-dpms (NEW):
- shard-apl: NOTRUN -> [TIMEOUT][66] ([i915#1319]) +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl1/igt@[email protected]

* igt@kms_content_protection@uevent:
- shard-apl: NOTRUN -> [FAIL][67] ([i915#2105])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl7/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-256x85-onscreen:
- shard-glk: [PASS][68] -> [DMESG-WARN][69] ([i915#118] / [i915#95])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-glk2/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-glk6/igt@[email protected]

* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: NOTRUN -> [DMESG-WARN][70] ([i915#180])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl2/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-512x512-rapid-movement:
- shard-iclb: NOTRUN -> [SKIP][71] ([fdo#109278] / [fdo#109279]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb7/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-512x170-onscreen:
- shard-tglb: NOTRUN -> [SKIP][72] ([fdo#109279]) +2 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb3/igt@[email protected]

* igt@kms_cursor_edge_walk@pipe-d-64x64-top-edge:
- shard-hsw: NOTRUN -> [SKIP][73] ([fdo#109271] / [i915#533]) +10 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-hsw1/igt@[email protected]

* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-legacy:
- shard-iclb: NOTRUN -> [SKIP][74] ([fdo#109274] / [fdo#109278]) +1 similar issue
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb4/igt@[email protected]

* igt@kms_cursor_legacy@cursor-vs-flip-toggle:
- shard-hsw: [PASS][75] -> [FAIL][76] ([i915#2370])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-hsw6/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-hsw8/igt@[email protected]

* igt@kms_cursor_legacy@pipe-d-single-move:
- shard-iclb: NOTRUN -> [SKIP][77] ([fdo#109278]) +10 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb7/igt@[email protected]

* igt@kms_flip@2x-nonexisting-fb:
- shard-iclb: NOTRUN -> [SKIP][78] ([fdo#109274]) +1 similar issue
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb4/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@c-hdmi-a1:
- shard-glk: [PASS][79] -> [FAIL][80] ([i915#2122])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-glk3/igt@kms_flip@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-glk7/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-32bpp-ytileccs-to-64bpp-ytile:
- shard-apl: NOTRUN -> [SKIP][81] ([fdo#109271] / [i915#2642])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl1/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile:
- shard-kbl: NOTRUN -> [FAIL][82] ([i915#2641])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl1/igt@[email protected]

* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilercccs:
- shard-apl: NOTRUN -> [SKIP][83] ([fdo#109271] / [i915#2672])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl2/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt:
- shard-tglb: NOTRUN -> [SKIP][84] ([fdo#111825]) +16 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb6/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-indfb-pgflip-blt:
- shard-iclb: NOTRUN -> [SKIP][85] ([fdo#109280]) +7 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb1/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-onoff:
- shard-snb: NOTRUN -> [SKIP][86] ([fdo#109271]) +369 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-snb7/igt@[email protected]

* igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc:
- shard-kbl: NOTRUN -> [SKIP][87] ([fdo#109271]) +213 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl6/igt@[email protected]

* igt@kms_hdr@static-swap (NEW):
- shard-tglb: NOTRUN -> [SKIP][88] ([i915#1187])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb8/igt@[email protected]

* igt@kms_pipe_crc_basic@hang-read-crc-pipe-d:
- shard-kbl: NOTRUN -> [SKIP][89] ([fdo#109271] / [i915#533])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl6/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-kbl: [PASS][90] -> [DMESG-WARN][91] ([i915#180]) +1 similar issue
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-kbl6/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl2/igt@[email protected]

* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-kbl: NOTRUN -> [DMESG-WARN][92] ([i915#180] / [i915#533])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl2/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-transparent-fb:
- shard-kbl: NOTRUN -> [FAIL][93] ([i915#265])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl2/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb:
- shard-glk: NOTRUN -> [FAIL][94] ([fdo#108145] / [i915#265]) +1 similar issue
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-glk1/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][95] ([fdo#108145] / [i915#265]) +1 similar issue
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl7/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-c-alpha-opaque-fb:
- shard-kbl: NOTRUN -> [FAIL][96] ([fdo#108145] / [i915#265]) +2 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl7/igt@[email protected]

* igt@kms_plane_lowres@pipe-b-tiling-yf:
- shard-hsw: NOTRUN -> [SKIP][97] ([fdo#109271]) +35 similar issues
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-hsw6/igt@[email protected]

* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-apl: NOTRUN -> [SKIP][98] ([fdo#109271] / [i915#2733])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl6/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html

* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-4:
- shard-apl: NOTRUN -> [SKIP][99] ([fdo#109271] / [i915#658]) +3 similar issues
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl7/igt@[email protected]

* igt@kms_psr2_su@page_flip (NEW):
- shard-kbl: NOTRUN -> [SKIP][100] ([fdo#109271] / [i915#658]) +2 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl7/igt@kms_psr2_su@page_flip.html

* igt@kms_psr@primary_page_flip:
- shard-hsw: NOTRUN -> [SKIP][101] ([fdo#109271] / [i915#1072]) +1 similar issue
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-hsw4/igt@kms_psr@primary_page_flip.html

* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [PASS][102] -> [SKIP][103] ([fdo#109441]) +2 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb7/igt@kms_psr@psr2_primary_mmap_cpu.html

* igt@kms_psr@psr2_primary_mmap_gtt:
- shard-iclb: NOTRUN -> [SKIP][104] ([fdo#109441])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb3/igt@kms_psr@psr2_primary_mmap_gtt.html

* igt@kms_sysfs_edid_timing:
- shard-kbl: NOTRUN -> [FAIL][105] ([IGT#2])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl4/igt@kms_sysfs_edid_timing.html

* igt@kms_vblank@pipe-d-ts-continuation-idle:
- shard-apl: NOTRUN -> [SKIP][106] ([fdo#109271]) +168 similar issues
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl8/igt@[email protected]

* igt@kms_writeback@writeback-check-output:
- shard-apl: NOTRUN -> [SKIP][107] ([fdo#109271] / [i915#2437])
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-apl6/igt@[email protected]

* igt@kms_writeback@writeback-invalid-parameters:
- shard-kbl: NOTRUN -> [SKIP][108] ([fdo#109271] / [i915#2437])
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl4/igt@[email protected]

* igt@nouveau_crc@pipe-a-source-outp-inactive:
- shard-iclb: NOTRUN -> [SKIP][109] ([i915#2530])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb4/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][110] ([i915#2530]) +1 similar issue
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-tglb8/igt@[email protected]

* igt@sysfs_clients@sema-10@vcs0:
- shard-kbl: NOTRUN -> [SKIP][111] ([fdo#109271] / [i915#3026]) +3 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-kbl4/igt@sysfs_clients@[email protected]

* igt@sysfs_clients@split-10@bcs0:
- shard-glk: [PASS][112] -> [SKIP][113] ([fdo#109271] / [i915#3026])
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6004/shard-glk9/igt@sysfs_clients@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-glk3/igt@sysfs_clients@[email protected]

* igt@tools_test@sysfs_l3_parity:
- shard-iclb: NOTRUN -> [SKIP][114] ([fdo#109307])
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5512/shard-iclb3/igt@tools_test@sysfs_l3_parity.html
- shard-tglb: NOTRUN -> [SKIP][115] ([fdo#109307])
[115]: https://intel-gfx-ci.01.org/tree/d

== Logs ==

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

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

#4 lore raw
In reply to Tvrtko Ursulin

Quoting Tvrtko Ursulin (2021-02-16 10:50:50)

Quoted 32 lines

From: Tvrtko Ursulin <[email protected]>

Test that periodic reads of engine busyness against a constant 100% load are within the 5000ppm tolerance when comparing perf timestamp versus counter values.

---
 tests/i915/perf_pmu.c | 46 ++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 41 insertions(+), 5 deletions(-)
tests/i915/perf_pmu.c +2 -0
index 50b5c82bc472..728312be5293 100644
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <fcntl.h>
+#include <float.h>
 #include <inttypes.h>
 #include <errno.h>
 #include <signal.h>
@@ -46,6 +47,7 @@
 #include "igt_perf.h"
 #include "igt_sysfs.h"
 #include "igt_pm.h"
+#include "igt_stats.h"
 #include "sw_sync.h"
 
 IGT_TEST_DESCRIPTION("Test the i915 pmu perf interface");

tests/i915/perf_pmu.c static void end_spin(int fd, igt_spin_t *spin, unsigned int flags) · line 289

Quoted 10 lines
tests/i915/perf_pmu.c +3 -0
@@ -278,8 +280,11 @@ static void end_spin(int fd, igt_spin_t *spin, unsigned int flags)
 static void
 single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags)
 {
+       unsigned int loops = flags & FLAG_LONG ? 20 : 1;
+       double err_min = DBL_MAX, err_max = -DBL_MAX;
        unsigned long slept;
        igt_spin_t *spin;
+       igt_stats_t s;
        uint64_t val;
        int fd;

Something to record is that TEST_TRAILING_IDLE and TEST_LONG are mutually exclusive.

So assert(igt_hweight(flags & (TEST_TRAILING_IDLE | TEST_LONG)) <= 1); ? -Chris
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#5 lore raw
In reply to Tvrtko Ursulin

Quoting Tvrtko Ursulin (2021-02-16 10:50:50)

Quoted 45 lines

From: Tvrtko Ursulin <[email protected]>

Test that periodic reads of engine busyness against a constant 100% load are within the 5000ppm tolerance when comparing perf timestamp versus counter values.

---
 tests/i915/perf_pmu.c | 46 ++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 41 insertions(+), 5 deletions(-)
tests/i915/perf_pmu.c +5 -0
index 50b5c82bc472..728312be5293 100644
@@ -26,6 +26,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <fcntl.h>
+#include <float.h>
 #include <inttypes.h>
 #include <errno.h>
 #include <signal.h>
@@ -46,6 +47,7 @@
 #include "igt_perf.h"
 #include "igt_sysfs.h"
 #include "igt_pm.h"
+#include "igt_stats.h"
 #include "sw_sync.h"
 
 IGT_TEST_DESCRIPTION("Test the i915 pmu perf interface");
@@ -278,8 +280,11 @@ static void end_spin(int fd, igt_spin_t *spin, unsigned int flags)
 static void
 single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags)
 {
+       unsigned int loops = flags & FLAG_LONG ? 20 : 1;
+       double err_min = DBL_MAX, err_max = -DBL_MAX;
        unsigned long slept;
        igt_spin_t *spin;
+       igt_stats_t s;
        uint64_t val;
        int fd;
 
@@ -290,11 +295,40 @@ single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags)
        else

tests/i915/perf_pmu.c single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags) · line 300

Quoted 10 lines
tests/i915/perf_pmu.c +3 -5
                spin = NULL;
 
-       val = pmu_read_single(fd);
-       slept = measured_usleep(batch_duration_ns / 1000);
-       if (flags & TEST_TRAILING_IDLE)
-               end_spin(gem_fd, spin, flags);
-       val = pmu_read_single(fd) - val;
+       igt_stats_init_with_size(&s, loops);
+
+       while (--loops) {

while (loops--)

/o\
-Chris
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#6 lore raw
Quoted 59 lines · Chris Wilson

Quoting Tvrtko Ursulin (2021-02-16 10:50:50)

Quoted 45 lines

From: Tvrtko Ursulin <[email protected]>

Test that periodic reads of engine busyness against a constant 100% load are within the 5000ppm tolerance when comparing perf timestamp versus counter values.

---
  tests/i915/perf_pmu.c | 46 ++++++++++++++++++++++++++++++++++++++-----
  1 file changed, 41 insertions(+), 5 deletions(-)
tests/i915/perf_pmu.c +5 -0
index 50b5c82bc472..728312be5293 100644
@@ -26,6 +26,7 @@
  #include <stdio.h>
  #include <string.h>
  #include <fcntl.h>
+#include <float.h>
  #include <inttypes.h>
  #include <errno.h>
  #include <signal.h>
@@ -46,6 +47,7 @@
  #include "igt_perf.h"
  #include "igt_sysfs.h"
  #include "igt_pm.h"
+#include "igt_stats.h"
  #include "sw_sync.h"
 
  IGT_TEST_DESCRIPTION("Test the i915 pmu perf interface");
@@ -278,8 +280,11 @@ static void end_spin(int fd, igt_spin_t *spin, unsigned int flags)
  static void
  single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags)
  {
+       unsigned int loops = flags & FLAG_LONG ? 20 : 1;
+       double err_min = DBL_MAX, err_max = -DBL_MAX;
         unsigned long slept;
         igt_spin_t *spin;
+       igt_stats_t s;
         uint64_t val;
         int fd;
 
@@ -290,11 +295,40 @@ single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags)
         else

tests/i915/perf_pmu.c single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags) · line 300

Quoted 10 lines
tests/i915/perf_pmu.c +3 -5
                 spin = NULL;
 
-       val = pmu_read_single(fd);
-       slept = measured_usleep(batch_duration_ns / 1000);
-       if (flags & TEST_TRAILING_IDLE)
-               end_spin(gem_fd, spin, flags);
-       val = pmu_read_single(fd) - val;
+       igt_stats_init_with_size(&s, loops);
+
+       while (--loops) {

while (loops--)

Quoted 1 line

/o\

Yeah.. At least I know the oddity is related to sampling. Since even on Haswell:

(perf_pmu:1591) DEBUG: time=500207720 busy=500037022 error=-341.25ppm (perf_pmu:1591) DEBUG: time=500252520 busy=500033517 error=-437.78ppm (perf_pmu:1591) DEBUG: time=500187490 busy=499999817 error=-375.21ppm (perf_pmu:1591) DEBUG: time=500244871 busy=499999837 error=-489.83ppm (perf_pmu:1591) DEBUG: time=500268670 busy=499999477 error=-538.10ppm (perf_pmu:1591) DEBUG: time=500245246 busy=500000432 error=-489.39ppm (perf_pmu:1591) DEBUG: time=500245735 busy=499999306 error=-492.62ppm (perf_pmu:1591) DEBUG: time=500270045 busy=500001747 error=-536.31ppm (perf_pmu:1591) DEBUG: time=500254286 busy=499998162 error=-511.99ppm (perf_pmu:1591) DEBUG: time=500247790 busy=500000347 error=-494.64ppm (perf_pmu:1591) DEBUG: time=500250261 busy=500000257 error=-499.76ppm (perf_pmu:1591) DEBUG: time=500250005 busy=500008177 error=-483.41ppm (perf_pmu:1591) DEBUG: time=500249065 busy=499991867 error=-514.14ppm (perf_pmu:1591) DEBUG: time=500249725 busy=500000371 error=-498.46ppm (perf_pmu:1591) DEBUG: time=500250335 busy=499999772 error=-500.88ppm (perf_pmu:1591) DEBUG: time=500258691 busy=499999937 error=-517.24ppm (perf_pmu:1591) DEBUG: time=500239980 busy=500001037 error=-477.66ppm (perf_pmu:1591) DEBUG: time=500240791 busy=504999361 error=9512.56ppm

And this last one is way more than one sampling period. I'll be thinking about this in the background.

Regards,

Tvrtko
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev

#7 lore raw

Quoting Tvrtko Ursulin (2021-02-16 15:59:33)

Quoted 85 lines · Chris Wilson
Quoted 59 lines

Quoting Tvrtko Ursulin (2021-02-16 10:50:50)

Quoted 45 lines

From: Tvrtko Ursulin <[email protected]>

Test that periodic reads of engine busyness against a constant 100% load are within the 5000ppm tolerance when comparing perf timestamp versus counter values.

---
  tests/i915/perf_pmu.c | 46 ++++++++++++++++++++++++++++++++++++++-----
  1 file changed, 41 insertions(+), 5 deletions(-)
tests/i915/perf_pmu.c +5 -0
index 50b5c82bc472..728312be5293 100644
@@ -26,6 +26,7 @@
  #include <stdio.h>
  #include <string.h>
  #include <fcntl.h>
+#include <float.h>
  #include <inttypes.h>
  #include <errno.h>
  #include <signal.h>
@@ -46,6 +47,7 @@
  #include "igt_perf.h"
  #include "igt_sysfs.h"
  #include "igt_pm.h"
+#include "igt_stats.h"
  #include "sw_sync.h"
 
  IGT_TEST_DESCRIPTION("Test the i915 pmu perf interface");
@@ -278,8 +280,11 @@ static void end_spin(int fd, igt_spin_t *spin, unsigned int flags)
  static void
  single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags)
  {
+       unsigned int loops = flags & FLAG_LONG ? 20 : 1;
+       double err_min = DBL_MAX, err_max = -DBL_MAX;
         unsigned long slept;
         igt_spin_t *spin;
+       igt_stats_t s;
         uint64_t val;
         int fd;
 
@@ -290,11 +295,40 @@ single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags)
         else

tests/i915/perf_pmu.c single(int gem_fd, const struct intel_execution_engine2 *e, unsigned int flags) · line 300

Quoted 10 lines
tests/i915/perf_pmu.c +3 -5
                 spin = NULL;
 
-       val = pmu_read_single(fd);
-       slept = measured_usleep(batch_duration_ns / 1000);
-       if (flags & TEST_TRAILING_IDLE)
-               end_spin(gem_fd, spin, flags);
-       val = pmu_read_single(fd) - val;
+       igt_stats_init_with_size(&s, loops);
+
+       while (--loops) {

while (loops--)

Quoted 1 line

/o\

Yeah.. At least I know the oddity is related to sampling. Since even on Haswell:

(perf_pmu:1591) DEBUG: time=500207720 busy=500037022 error=-341.25ppm (perf_pmu:1591) DEBUG: time=500252520 busy=500033517 error=-437.78ppm (perf_pmu:1591) DEBUG: time=500187490 busy=499999817 error=-375.21ppm (perf_pmu:1591) DEBUG: time=500244871 busy=499999837 error=-489.83ppm (perf_pmu:1591) DEBUG: time=500268670 busy=499999477 error=-538.10ppm (perf_pmu:1591) DEBUG: time=500245246 busy=500000432 error=-489.39ppm (perf_pmu:1591) DEBUG: time=500245735 busy=499999306 error=-492.62ppm (perf_pmu:1591) DEBUG: time=500270045 busy=500001747 error=-536.31ppm (perf_pmu:1591) DEBUG: time=500254286 busy=499998162 error=-511.99ppm (perf_pmu:1591) DEBUG: time=500247790 busy=500000347 error=-494.64ppm (perf_pmu:1591) DEBUG: time=500250261 busy=500000257 error=-499.76ppm (perf_pmu:1591) DEBUG: time=500250005 busy=500008177 error=-483.41ppm (perf_pmu:1591) DEBUG: time=500249065 busy=499991867 error=-514.14ppm (perf_pmu:1591) DEBUG: time=500249725 busy=500000371 error=-498.46ppm (perf_pmu:1591) DEBUG: time=500250335 busy=499999772 error=-500.88ppm (perf_pmu:1591) DEBUG: time=500258691 busy=499999937 error=-517.24ppm (perf_pmu:1591) DEBUG: time=500239980 busy=500001037 error=-477.66ppm (perf_pmu:1591) DEBUG: time=500240791 busy=504999361 error=9512.56ppm

Quoted 2 lines

And this last one is way more than one sampling period. I'll be thinking about this in the background.

One thing to add would be the cumulative error. It does feel like a corrective factor is applied to the sampling period. -Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx