Skip to contentSkip to conversation

tests/kms_setmode: basic Fix the testcase failure on 4K monitors

igt-dev Anand Moon 3 participants 4 messages Nov 23, 2020 – Nov 25, 2020

lore
Share & tools
lore

Anand Moon

author
#0 lore raw

From: Chris Wilson <[email protected]>

On 4k monitors kms_setmode basic test case would like to fail with below assertion, by checking the expected frame time should be less than max scanline interval, we improve the test case so that 90% of frame times fall within the one scanline on each side of expected mean.

CRTC[98] [Pipe A] Mode: 3840x2160@60Hz Connectors: DP-2[330] Expected frametime: 16668us; measured 16672.3us +- 1.805us accuracy 0.00% [0.07 scanlines] (kms_setmode:14315) CRITICAL: Test assertion failure function check_timings, file ../tests/kms_setmode.c:544:
(kms_setmode:14315) CRITICAL: Failed assertion: fabs(mean - expected) < 1.718 * stddev
(kms_setmode:14315) CRITICAL: vblank interval differs from modeline! expected 16667.6us, measured 16672us +- 1.805us, difference 4.7us (2.6 sigma) Stack trace:
#0 ../lib/igt_core.c:1734 __igt_fail_assert()
#1 ../tests/kms_setmode.c:544 test_one_combination()
#2 ../tests/kms_setmode.c:834 __real_main883()
#3 ../tests/kms_setmode.c:883 main()
#4 ../csu/libc-start.c:342 __libc_start_main()
#5 [_start+0x2e]
Subtest basic failed.
**** DEBUG ****

---

And all the testcase regarding kms_setmode seems to passing on 5.8.x and 5.10-0-rcx kernel with following mode

Mode: 1920x1080 at 60Hz Connectors: HDMI-A-2
Mode: 1920x1080 at 60Hz Connectors: DP-1
Mode: 1920x1080 at 60Hz Connectors: DP-2
Mode: 2560x1440 at 60Hz Connectors: eDP-1
Mode: 3840x2160 at 60Hz Connectors: DP-2

---
 tests/kms_setmode.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
tests/kms_setmode.c +7 -4
index a01010a1..d55326f2 100644
@@ -525,10 +525,13 @@ static void check_timings(int crtc_idx, const drmModeModeInfo *kmode)
 	 * See:
 	 * https://en.wikipedia.org/wiki/Standard_deviation#Rules_for_normally_distributed_data
 	 */
-	igt_assert_f(fabs(mean - expected) < 1.718 * stddev,
-		     "vblank interval differs from modeline! expected %.1fus, measured %1.fus +- %.3fus, difference %.1fus (%.1f sigma)\n",
-		     expected, mean, stddev,
-		     fabs(mean - expected), fabs(mean - expected) / stddev);
+	igt_assert_f(fabs(mean - expected) < max(line_time(kmode), 1.718 * stddev),
+			"vblank interval differs from modeline! expected %.1fus, measured"
+			" %1.fus +- %.3fus, difference %.1fus (%.1f sigma, %.1f scanlines)\n",
+			expected, mean, stddev,
+			fabs(mean - expected),
+			fabs(mean - expected) / stddev,
+			fabs(mean - expected) / line_time(kmode));
 }
 
 static void test_crtc_config(const struct test_config *tconf,
Signature · 6 lines
2.29.2

_______________________________________________
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/kms_setmode: basic Fix the testcase failure on 4K monitors

== Series Details ==

== Series Details ==

Series: tests/kms_setmode: basic Fix the testcase failure on 4K monitors
URL : https://patchwork.freedesktop.org/series/84175/
State : success

== Summary ==

CI Bug Log - changes from IGT_5868 -> IGTPW_5209
====================================================

Summary
-------

**SUCCESS**

No regressions found.

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

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_exec_suspend@basic-s3:
- fi-skl-6700k2: [PASS][1] -> [INCOMPLETE][2] ([i915#146] / [i915#198])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-skl-6700k2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-skl-6700k2/igt@[email protected]

* igt@gem_sync@basic-all:
- fi-tgl-y: [PASS][3] -> [DMESG-WARN][4] ([i915#402]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-tgl-y/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-tgl-y/igt@[email protected]

* igt@i915_module_load@reload:
- fi-byt-j1900: [PASS][5] -> [DMESG-WARN][6] ([i915#1982]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-byt-j1900/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-byt-j1900/igt@[email protected]
- fi-tgl-u2: [PASS][7] -> [DMESG-WARN][8] ([i915#1982] / [k.org#205379])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-tgl-u2/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-tgl-u2/igt@[email protected]

* igt@i915_pm_rpm@module-reload:
- fi-bsw-kefka: [PASS][9] -> [DMESG-WARN][10] ([i915#1982])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-bsw-kefka/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-bsw-kefka/igt@[email protected]
- fi-skl-lmem: [PASS][11] -> [DMESG-WARN][12] ([i915#2605])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-skl-lmem/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-skl-lmem/igt@[email protected]

* igt@i915_selftest@live@hangcheck:
- fi-icl-y: [PASS][13] -> [INCOMPLETE][14] ([i915#926])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-icl-y/igt@i915_selftest@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-icl-y/igt@i915_selftest@[email protected]

* igt@kms_busy@basic@flip:
- fi-kbl-soraka: [PASS][15] -> [DMESG-WARN][16] ([i915#1982])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-kbl-soraka/igt@kms_busy@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-kbl-soraka/igt@kms_busy@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-tgl-u2: [PASS][17] -> [DMESG-WARN][18] ([i915#1982])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-tgl-u2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-tgl-u2/igt@[email protected]
- fi-apl-guc: [PASS][19] -> [DMESG-WARN][20] ([i915#1635] / [i915#1982])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-apl-guc/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-apl-guc/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-icl-u2: [PASS][21] -> [DMESG-WARN][22] ([i915#1982]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-icl-u2/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-icl-u2/igt@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-tgl-y: [PASS][23] -> [DMESG-WARN][24] ([i915#1982])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-tgl-y/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-tgl-y/igt@[email protected]

#### Possible fixes ####

* igt@debugfs_test@read_all_entries:
- fi-tgl-y: [DMESG-WARN][25] ([i915#402]) -> [PASS][26] +2 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-tgl-y/igt@debugfs_test@read_all_entries.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-tgl-y/igt@debugfs_test@read_all_entries.html

* {igt@fbdev@eof}:
- fi-tgl-y: [DMESG-WARN][27] ([i915#1982]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-tgl-y/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-tgl-y/igt@[email protected]

* igt@i915_module_load@reload:
- fi-icl-y: [DMESG-WARN][29] ([i915#1982]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-icl-y/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-icl-y/igt@[email protected]

* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-byt-j1900: [DMESG-WARN][31] ([i915#1982]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-byt-j1900/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-byt-j1900/igt@[email protected]
- fi-bsw-n3050: [DMESG-WARN][33] ([i915#1982]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-bsw-n3050/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-bsw-n3050/igt@[email protected]

* igt@kms_chamelium@dp-crc-fast:
- fi-kbl-7500u: [DMESG-WARN][35] ([i915#1982] / [i915#262]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-kbl-7500u/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-kbl-7500u/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-bsw-kefka: [DMESG-WARN][37] ([i915#1982]) -> [PASS][38] +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/fi-bsw-kefka/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/fi-bsw-kefka/igt@[email protected]

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

[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#198]: https://gitlab.freedesktop.org/drm/intel/issues/198
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2605]: https://gitlab.freedesktop.org/drm/intel/issues/2605
[i915#262]: https://gitlab.freedesktop.org/drm/intel/issues/262
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#926]: https://gitlab.freedesktop.org/drm/intel/issues/926
[k.org#205379]: https://bugzilla.kernel.org/show_bug.cgi?id=205379

Participating hosts (44 -> 40)
------------------------------

Missing (4): fi-ilk-m540 fi-bsw-cyan fi-bdw-samus fi-hsw-4200u

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

* CI: CI-20190529 -> None
* IGT: IGT_5868 -> IGTPW_5209

CI-20190529: 20190529
CI_DRM_9376: d08ea807a6466f311fe921872bc18cfc384ae281 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5209: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/index.html
IGT_5868: 36b5fc05c30dbfd9242069fd6e51ebb419b386bc @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

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

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

#2 lore raw

[igt-dev] ✗ Fi.CI.IGT: failure for tests/kms_setmode: basic Fix the testcase failure on 4K monitors

In reply to Anand Moon
== Series Details ==

== Series Details ==

Series: tests/kms_setmode: basic Fix the testcase failure on 4K monitors
URL : https://patchwork.freedesktop.org/series/84175/
State : failure

== Summary ==

CI Bug Log - changes from IGT_5868_full -> IGTPW_5209_full
====================================================

Summary
-------

**FAILURE**

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

If you think the reported changes have nothing to do with the changes introduced in IGTPW_5209_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_5209/index.html

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

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

### IGT changes ###

#### Possible regressions ####

* igt@perf_pmu@rc6-runtime-pm-long:
- shard-iclb: [PASS][1] -> [SKIP][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb5/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb3/igt@[email protected]

#### Warnings ####

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

#### Suppressed ####

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

* {igt@gem_userptr_blits@vma-merge}:
- shard-snb: [FAIL][5] ([i915#1635]) -> [FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-snb2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-snb6/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][7] -> [FAIL][8] ([i915#454])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb4/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb7/igt@[email protected]

* igt@i915_pm_rpm@gem-execbuf-stress:
- shard-glk: [PASS][9] -> [SKIP][10] ([fdo#109271]) +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-glk3/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-glk9/igt@[email protected]
- shard-apl: [PASS][11] -> [SKIP][12] ([fdo#109271] / [i915#1635]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-apl8/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-apl2/igt@[email protected]
- shard-kbl: [PASS][13] -> [SKIP][14] ([fdo#109271]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-kbl1/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-kbl4/igt@[email protected]
- shard-hsw: [PASS][15] -> [SKIP][16] ([fdo#109271]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-hsw4/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-hsw4/igt@[email protected]
- shard-iclb: [PASS][17] -> [SKIP][18] ([i915#579]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb1/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb7/igt@[email protected]

* igt@kms_big_fb@linear-16bpp-rotate-0:
- shard-glk: [PASS][19] -> [DMESG-WARN][20] ([i915#1982]) +10 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-glk6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-glk4/igt@[email protected]

* igt@kms_cursor_edge_walk@pipe-d-128x128-right-edge:
- shard-tglb: [PASS][21] -> [DMESG-WARN][22] ([i915#1982]) +6 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-tglb2/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-tglb7/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-varying-size:
- shard-tglb: [PASS][23] -> [FAIL][24] ([i915#2346])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-tglb3/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-tglb8/igt@[email protected]

* igt@kms_flip@flip-vs-absolute-wf_vblank@a-dp1:
- shard-kbl: [PASS][25] -> [DMESG-WARN][26] ([i915#1982]) +5 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-kbl6/igt@kms_flip@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-kbl3/igt@kms_flip@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-dp1:
- shard-apl: [PASS][27] -> [FAIL][28] ([i915#1635] / [i915#79])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-apl1/igt@kms_flip@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-apl6/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@fbc-badstride:
- shard-iclb: [PASS][29] -> [DMESG-WARN][30] ([i915#1982]) +2 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb6/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb5/igt@[email protected]

* igt@kms_plane@plane-position-hole-dpms-pipe-a-planes:
- shard-apl: [PASS][31] -> [DMESG-WARN][32] ([i915#1635] / [i915#1982]) +6 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-apl7/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-apl4/igt@[email protected]

* igt@kms_plane_lowres@pipe-c-tiling-x:
- shard-kbl: [PASS][33] -> [DMESG-WARN][34] ([i915#165] / [i915#78])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-kbl6/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-kbl2/igt@[email protected]

* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [PASS][35] -> [SKIP][36] ([fdo#109642] / [fdo#111068])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb2/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb8/igt@[email protected]

* igt@kms_psr@psr2_suspend:
- shard-iclb: [PASS][37] -> [SKIP][38] ([fdo#109441]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb2/igt@kms_psr@psr2_suspend.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb1/igt@kms_psr@psr2_suspend.html

#### Possible fixes ####

* igt@gem_exec_reloc@basic-many-active@rcs0:
- shard-apl: [FAIL][39] ([i915#1635] / [i915#2389]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-apl6/igt@gem_exec_reloc@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-apl3/igt@gem_exec_reloc@[email protected]
- shard-hsw: [FAIL][41] ([i915#2389]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-hsw1/igt@gem_exec_reloc@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-hsw6/igt@gem_exec_reloc@[email protected]

* igt@gem_exec_suspend@basic-s3:
- shard-kbl: [INCOMPLETE][43] ([i915#2369] / [i915#2473]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-kbl6/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-kbl6/igt@[email protected]

* igt@gem_mmap@big-bo:
- shard-iclb: [DMESG-WARN][45] ([i915#1982]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb2/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb2/igt@[email protected]

* igt@gem_softpin@noreloc-s3:
- shard-iclb: [INCOMPLETE][47] ([i915#1373] / [i915#2405]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb5/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb8/igt@[email protected]
- shard-apl: [INCOMPLETE][49] ([i915#1635] / [i915#2405] / [i915#2635]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-apl3/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-apl3/igt@[email protected]
- shard-glk: [INCOMPLETE][51] ([i915#2199] / [i915#2405] / [i915#2635]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-glk6/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-glk6/igt@[email protected]
- shard-hsw: [INCOMPLETE][53] ([i915#2405] / [i915#2637]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-hsw4/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-hsw6/igt@[email protected]
- shard-kbl: [INCOMPLETE][55] ([i915#2405]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-kbl4/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-kbl3/igt@[email protected]

* igt@i915_pm_rpm@drm-resources-equal:
- shard-kbl: [SKIP][57] ([fdo#109271]) -> [PASS][58] +1 similar issue
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-kbl1/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-kbl4/igt@[email protected]
- shard-iclb: [SKIP][59] ([i915#579]) -> [PASS][60] +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb1/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb6/igt@[email protected]

* igt@i915_pm_rpm@gem-execbuf:
- shard-hsw: [SKIP][61] ([fdo#109271]) -> [PASS][62] +1 similar issue
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-hsw2/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-hsw2/igt@[email protected]
- shard-apl: [SKIP][63] ([fdo#109271] / [i915#1635]) -> [PASS][64] +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-apl6/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-apl4/igt@[email protected]
- shard-glk: [SKIP][65] ([fdo#109271]) -> [PASS][66] +1 similar issue
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-glk4/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-glk1/igt@[email protected]

* igt@i915_selftest@live@gt_heartbeat:
- shard-glk: [DMESG-FAIL][67] -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-glk1/igt@i915_selftest@live@gt_heartbeat.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-glk7/igt@i915_selftest@live@gt_heartbeat.html

* igt@kms_cursor_edge_walk@pipe-b-128x128-left-edge:
- shard-hsw: [DMESG-WARN][69] ([i915#1982]) -> [PASS][70] +1 similar issue
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-hsw6/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-hsw4/igt@[email protected]

* igt@kms_draw_crc@draw-method-rgb565-pwrite-ytiled:
- shard-apl: [DMESG-WARN][71] ([i915#1635] / [i915#1982]) -> [PASS][72] +3 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-apl6/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-apl8/igt@[email protected]

* igt@kms_flip@2x-single-buffer-flip-vs-dpms-off-vs-modeset-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [DMESG-WARN][73] ([i915#1982]) -> [PASS][74] +8 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-glk1/igt@kms_flip@2x-single-buffer-flip-vs-dpms-off-vs-modeset-interruptible@ab-hdmi-a1-hdmi-a2.html
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-glk6/igt@kms_flip@2x-single-buffer-flip-vs-dpms-off-vs-modeset-interruptible@ab-hdmi-a1-hdmi-a2.html

* igt@kms_flip@absolute-wf_vblank-interruptible@a-dp1:
- shard-kbl: [DMESG-WARN][75] ([i915#1982]) -> [PASS][76] +4 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-kbl3/igt@kms_flip@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-kbl3/igt@kms_flip@[email protected]

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-fullscreen:
- shard-tglb: [DMESG-WARN][77] ([i915#1982]) -> [PASS][78] +4 similar issues
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-tglb8/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-fullscreen.html
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-tglb8/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-fullscreen.html

* igt@kms_psr@psr2_cursor_blt:
- shard-iclb: [SKIP][79] ([fdo#109441]) -> [PASS][80] +2 similar issues
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb8/igt@kms_psr@psr2_cursor_blt.html
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html

#### Warnings ####

* igt@gem_softpin@noreloc-s3:
- shard-tglb: [DMESG-WARN][81] ([i915#1436] / [i915#1602] / [i915#1887] / [i915#2411]) -> [DMESG-WARN][82] ([i915#2411])
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-tglb2/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-tglb3/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][83] ([i915#2684]) -> [WARN][84] ([i915#1804] / [i915#2684])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb5/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb7/igt@[email protected]

* igt@i915_pm_rc6_residency@rc6-idle:
- shard-iclb: [WARN][85] ([i915#1804]) -> [WARN][86] ([i915#2681])
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb3/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb1/igt@[email protected]

* igt@i915_pm_rpm@gem-execbuf:
- shard-tglb: [SKIP][87] ([i915#579]) -> [DMESG-WARN][88] ([i915#2411]) +1 similar issue
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-tglb3/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-tglb1/igt@[email protected]

* igt@i915_pm_rpm@modeset-lpsp-stress:
- shard-tglb: [DMESG-WARN][89] ([i915#2411]) -> [SKIP][90] ([i915#579])
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-tglb5/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-tglb8/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-c-alpha-7efc:
- shard-apl: [DMESG-FAIL][91] ([fdo#108145] / [i915#1635] / [i915#1982]) -> [FAIL][92] ([fdo#108145] / [i915#1635] / [i915#265])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-apl4/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-apl3/igt@[email protected]

* igt@perf_pmu@rc6-runtime-pm-long:
- shard-tglb: [DMESG-WARN][93] ([i915#2411]) -> [SKIP][94] ([fdo#111719])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-tglb3/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-tglb8/igt@[email protected]

* igt@runner@aborted:
- shard-kbl: ([FAIL][95], [FAIL][96]) ([i915#2295] / [i915#2426] / [i915#2505] / [i915#483]) -> [FAIL][97] ([i915#2295] / [i915#483])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-kbl4/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-kbl6/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-kbl2/igt@[email protected]
- shard-iclb: ([FAIL][98], [FAIL][99]) ([i915#2295] / [i915#483]) -> [FAIL][100] ([i915#2295])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb1/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-iclb5/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-iclb4/igt@[email protected]
- shard-glk: ([FAIL][101], [FAIL][102]) ([i915#2295] / [i915#86] / [k.org#202321]) -> [FAIL][103] ([i915#2295] / [k.org#202321])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-glk2/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5868/shard-glk6/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/shard-glk5/igt@[email protected]

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

[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111719]: https://bugs.freedesktop.org/show_bug.cgi?id=111719
[i915#1373]: https://gitlab.freedesktop.org/drm/intel/issues/1373
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1602]: https://gitlab.freedesktop.org/drm/intel/issues/1602
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#165]: https://gitlab.freedesktop.org/drm/intel/issues/165
[i915#1804]: https://gitlab.freedesktop.org/drm/intel/issues/1804
[i915#1887]: https://gitlab.freedesktop.org/drm/intel/issues/1887
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2199]: https://gitlab.freedesktop.org/drm/intel/issues/2199
[i915#2295]: https://gitlab.freedesktop.org/drm/intel/issues/2295
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2369]: https://gitlab.freedesktop.org/drm/intel/issues/2369
[i915#2389]: https://gitlab.freedesktop.org/drm/intel/issues/2389
[i915#2405]: https://gitlab.freedesktop.org/drm/intel/issues/2405
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#2473]: https://gitlab.freedesktop.org/drm/intel/issues/2473
[i915#2505]: https://gitlab.freedesktop.org/drm/intel/issues/2505
[i915#2635]: https://gitlab.freedesktop.org/drm/intel/issues/2635
[i915#2637]: https://gitlab.freedesktop.org/drm/intel/issues/2637
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2684]: https://gitlab.freedesktop.org/drm/intel/issues/2684
[i915#31]: https://gitlab.freedesktop.org/drm/intel/issues/31
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#483]: https://gitlab.freedesktop.org/drm/intel/issues/483
[i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
[i915#78]: https://gitlab.freedesktop.org/drm/intel/issues/78
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#86]: https://gitlab.freedesktop.org/drm/intel/issues/86
[k.org#202321]: https://bugzilla.kernel.org/show_bug.cgi?id=202321

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

No changes in participating hosts

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

* CI: CI-20190529 -> None
* IGT: IGT_5868 -> IGTPW_5209

CI-20190529: 20190529
CI_DRM_9376: d08ea807a6466f311fe921872bc18cfc384ae281 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5209: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5209/index.html
IGT_5868: 36b5fc05c30dbfd9242069fd6e51ebb419b386bc @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools

== Logs ==

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

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

Reviewed-by
#3 lore raw
In reply to Anand Moon
Quoted 34 lines

-----Original Message-----
From: igt-dev <[email protected]> On Behalf Of Anand Moon
Sent: Monday, November 23, 2020 5:03 PM
To: [email protected]; Chris Wilson <[email protected]>
Subject: [igt-dev] [i g t] tests/kms_setmode: basic Fix the testcase failure on 4K monitors

From: Chris Wilson <[email protected]>

On 4k monitors kms_setmode basic test case would like to fail with below assertion, by checking the expected frame time should be less than max scanline interval, we improve the test case so that 90% of frame times fall within the one scanline on each side of expected mean.

CRTC[98] [Pipe A] Mode: 3840x2160@60Hz Connectors: DP-2[330] Expected
frametime: 16668us; measured 16672.3us +- 1.805us accuracy 0.00% [0.07 scanlines]
(kms_setmode:14315) CRITICAL: Test assertion failure function check_timings, file ../tests/kms_setmode.c:544:
(kms_setmode:14315) CRITICAL: Failed assertion: fabs(mean - expected) < 1.718 * stddev
(kms_setmode:14315) CRITICAL: vblank interval differs from modeline! expected 16667.6us, measured 16672us +- 1.805us, difference 4.7us (2.6 sigma) Stack trace:
#0 ../lib/igt_core.c:1734 __igt_fail_assert()
#1 ../tests/kms_setmode.c:544 test_one_combination()
#2 ../tests/kms_setmode.c:834 __real_main883()
#3 ../tests/kms_setmode.c:883 main()
#4 ../csu/libc-start.c:342 __libc_start_main()
#5 [_start+0x2e]
Subtest basic failed.
**** DEBUG ****

Quoted 3 lines

Seems reasonable change.

Quoted 46 lines

---

And all the testcase regarding kms_setmode seems to passing on 5.8.x and 5.10-0-rcx kernel with following mode

Mode: 1920x1080 at 60Hz Connectors: HDMI-A-2
Mode: 1920x1080 at 60Hz Connectors: DP-1
Mode: 1920x1080 at 60Hz Connectors: DP-2
Mode: 2560x1440 at 60Hz Connectors: eDP-1
Mode: 3840x2160 at 60Hz Connectors: DP-2

---
 tests/kms_setmode.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
tests/kms_setmode.c index renamed from tests/kms_setmode.c +0 -0

a01010a1..d55326f2 100644

tests/kms_setmode.c +0 -0
@@ -525,10 +525,13 @@ static void check_timings(int crtc_idx, const
 drmModeModeInfo *kmode)
 	 * See:
 	 *

https://en.wikipedia.org/wiki/Standard_deviation#Rules_for_normally_distri
buted_data

tests/kms_setmode.c +0 -2
 	 */
-	igt_assert_f(fabs(mean - expected) < 1.718 * stddev,
-		     "vblank interval differs from modeline! expected %.1fus,

measured %1.fus +- %.3fus, difference %.1fus (%.1f sigma)\n",

tests/kms_setmode.c +1 -2
-		     expected, mean, stddev,
-		     fabs(mean - expected), fabs(mean - expected) / stddev);
+	igt_assert_f(fabs(mean - expected) < max(line_time(kmode), 1.718 *

stddev),

tests/kms_setmode.c +1 -0
+			"vblank interval differs from modeline! expected

%.1fus, measured"

tests/kms_setmode.c +1 -0
+			" %1.fus +- %.3fus, difference %.1fus (%.1f sigma,

%.1f scanlines)\n",

tests/kms_setmode.c +4 -1
+			expected, mean, stddev,
+			fabs(mean - expected),
+			fabs(mean - expected) / stddev,
+			fabs(mean - expected) / line_time(kmode));
 }
 
 static void test_crtc_config(const struct test_config *tconf,
--

2.29.2

Quoted 4 lines

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

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