* [igt-dev] [PATCH i-g-t] lib: Restore i915.reset before testing it in igt_allow_hang()
@ 2019-10-24 15:34 Chris Wilson
2019-10-24 16:25 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Chris Wilson @ 2019-10-24 15:34 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
igt_allow_hang() checks that the GPU can be reset before allowing the
test to cause a GPU hang (which would need the reset to recover).
However, our checking for allowing a hang depends on i915.reset which we
later restore. Do that restoration before the check so that this test is
not affected by earlier fails.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
lib/igt_gt.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/igt_gt.c b/lib/igt_gt.c
index 5ca77471c..256c7cbc0 100644
--- a/lib/igt_gt.c
+++ b/lib/igt_gt.c
@@ -175,8 +175,6 @@ igt_hang_t igt_allow_hang(int fd, unsigned ctx, unsigned flags)
if (!igt_check_boolean_env_var("IGT_HANG", true))
igt_skip("hang injection disabled by user");
gem_context_require_bannable(fd);
- if (!igt_check_boolean_env_var("IGT_HANG_WITHOUT_RESET", false))
- igt_require(has_gpu_reset(fd));
allow_reset = 1;
if ((flags & HANG_ALLOW_CAPTURE) == 0) {
@@ -191,6 +189,9 @@ igt_hang_t igt_allow_hang(int fd, unsigned ctx, unsigned flags)
}
igt_require(igt_sysfs_set_parameter(fd, "reset", "%d", allow_reset));
+ if (!igt_check_boolean_env_var("IGT_HANG_WITHOUT_RESET", false))
+ igt_require(has_gpu_reset(fd));
+
ban = context_get_ban(fd, ctx);
if ((flags & HANG_ALLOW_BAN) == 0)
context_set_ban(fd, ctx, 0);
--
2.24.0.rc0
_______________________________________________
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 lib: Restore i915.reset before testing it in igt_allow_hang() 2019-10-24 15:34 [igt-dev] [PATCH i-g-t] lib: Restore i915.reset before testing it in igt_allow_hang() Chris Wilson @ 2019-10-24 16:25 ` Patchwork 2019-10-26 0:03 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 2019-10-28 10:45 ` [igt-dev] [PATCH i-g-t] " Ville Syrjälä 2 siblings, 0 replies; 4+ messages in thread From: Patchwork @ 2019-10-24 16:25 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev == Series Details == Series: lib: Restore i915.reset before testing it in igt_allow_hang() URL : https://patchwork.freedesktop.org/series/68524/ State : success == Summary == CI Bug Log - changes from CI_DRM_7173 -> IGTPW_3607 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/index.html Known issues ------------ Here are the changes found in IGTPW_3607 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ctx_switch@legacy-render: - fi-bxt-dsi: [PASS][1] -> [INCOMPLETE][2] ([fdo#103927] / [fdo#111381]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/fi-bxt-dsi/igt@gem_ctx_switch@legacy-render.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/fi-bxt-dsi/igt@gem_ctx_switch@legacy-render.html * igt@gem_linear_blits@basic: - fi-icl-u3: [PASS][3] -> [DMESG-WARN][4] ([fdo#107724]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/fi-icl-u3/igt@gem_linear_blits@basic.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/fi-icl-u3/igt@gem_linear_blits@basic.html #### Possible fixes #### * igt@gem_ctx_create@basic-files: - {fi-tgl-u2}: [INCOMPLETE][5] ([fdo#111735]) -> [PASS][6] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/fi-tgl-u2/igt@gem_ctx_create@basic-files.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/fi-tgl-u2/igt@gem_ctx_create@basic-files.html - {fi-icl-dsi}: [INCOMPLETE][7] ([fdo#107713] / [fdo#109100]) -> [PASS][8] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/fi-icl-dsi/igt@gem_ctx_create@basic-files.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/fi-icl-dsi/igt@gem_ctx_create@basic-files.html * igt@gem_ctx_switch@legacy-render: - {fi-icl-guc}: [INCOMPLETE][9] ([fdo#107713] / [fdo#111381]) -> [PASS][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/fi-icl-guc/igt@gem_ctx_switch@legacy-render.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/fi-icl-guc/igt@gem_ctx_switch@legacy-render.html * igt@gem_exec_suspend@basic-s4-devices: - fi-icl-u3: [DMESG-WARN][11] ([fdo#107724]) -> [PASS][12] +3 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/fi-icl-u3/igt@gem_exec_suspend@basic-s4-devices.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/fi-icl-u3/igt@gem_exec_suspend@basic-s4-devices.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927 [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#111381]: https://bugs.freedesktop.org/show_bug.cgi?id=111381 [fdo#111735]: https://bugs.freedesktop.org/show_bug.cgi?id=111735 [fdo#112096]: https://bugs.freedesktop.org/show_bug.cgi?id=112096 Participating hosts (52 -> 43) ------------------------------ Missing (9): fi-ilk-m540 fi-tgl-u fi-hsw-4200u fi-hsw-peppy fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_5237 -> IGTPW_3607 CI-20190529: 20190529 CI_DRM_7173: 0e7609c32df689d5196c3b9e3f820c37dc03b192 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_3607: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/index.html IGT_5237: 9a46404de7c42c8cc2d492176e956597ef28d7c4 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/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 lib: Restore i915.reset before testing it in igt_allow_hang() 2019-10-24 15:34 [igt-dev] [PATCH i-g-t] lib: Restore i915.reset before testing it in igt_allow_hang() Chris Wilson 2019-10-24 16:25 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork @ 2019-10-26 0:03 ` Patchwork 2019-10-28 10:45 ` [igt-dev] [PATCH i-g-t] " Ville Syrjälä 2 siblings, 0 replies; 4+ messages in thread From: Patchwork @ 2019-10-26 0:03 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev == Series Details == Series: lib: Restore i915.reset before testing it in igt_allow_hang() URL : https://patchwork.freedesktop.org/series/68524/ State : success == Summary == CI Bug Log - changes from CI_DRM_7173_full -> IGTPW_3607_full ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/index.html Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_3607_full: ### IGT changes ### #### Suppressed #### The following results come from untrusted machines, tests, or statuses. They do not affect the overall result. * igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb: - {shard-tglb}: [PASS][1] -> [INCOMPLETE][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-tglb8/igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-tglb4/igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb.html Known issues ------------ Here are the changes found in IGTPW_3607_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ctx_isolation@vcs1-dirty-create: - shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#109276] / [fdo#112080]) +2 similar issues [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb1/igt@gem_ctx_isolation@vcs1-dirty-create.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb8/igt@gem_ctx_isolation@vcs1-dirty-create.html * igt@gem_exec_async@concurrent-writes-bsd: - shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#111325]) +4 similar issues [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb3/igt@gem_exec_async@concurrent-writes-bsd.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb4/igt@gem_exec_async@concurrent-writes-bsd.html * igt@gem_exec_balancer@smoke: - shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#110854]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb2/igt@gem_exec_balancer@smoke.html [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb5/igt@gem_exec_balancer@smoke.html * igt@gem_exec_parallel@vcs1-fds: - shard-iclb: [PASS][9] -> [SKIP][10] ([fdo#112080]) +7 similar issues [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb4/igt@gem_exec_parallel@vcs1-fds.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb6/igt@gem_exec_parallel@vcs1-fds.html * igt@gem_exec_schedule@out-order-bsd2: - shard-iclb: [PASS][11] -> [SKIP][12] ([fdo#109276]) +14 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb1/igt@gem_exec_schedule@out-order-bsd2.html [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb7/igt@gem_exec_schedule@out-order-bsd2.html * igt@gem_softpin@noreloc-s3: - shard-apl: [PASS][13] -> [DMESG-WARN][14] ([fdo#108566]) +2 similar issues [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-apl8/igt@gem_softpin@noreloc-s3.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-apl8/igt@gem_softpin@noreloc-s3.html * igt@gem_userptr_blits@dmabuf-sync: - shard-snb: [PASS][15] -> [DMESG-WARN][16] ([fdo#111870]) +2 similar issues [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-snb6/igt@gem_userptr_blits@dmabuf-sync.html [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-snb6/igt@gem_userptr_blits@dmabuf-sync.html * igt@gem_userptr_blits@sync-unmap-after-close: - shard-hsw: [PASS][17] -> [DMESG-WARN][18] ([fdo#111870]) +2 similar issues [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-hsw4/igt@gem_userptr_blits@sync-unmap-after-close.html [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-hsw1/igt@gem_userptr_blits@sync-unmap-after-close.html * igt@i915_pm_rc6_residency@rc6-accuracy: - shard-kbl: [PASS][19] -> [SKIP][20] ([fdo#109271]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-kbl3/igt@i915_pm_rc6_residency@rc6-accuracy.html [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-kbl7/igt@i915_pm_rc6_residency@rc6-accuracy.html * igt@i915_selftest@mock_fence: - shard-iclb: [PASS][21] -> [INCOMPLETE][22] ([fdo#107713]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb4/igt@i915_selftest@mock_fence.html [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb1/igt@i915_selftest@mock_fence.html * igt@kms_cursor_crc@pipe-b-cursor-64x64-random: - shard-apl: [PASS][23] -> [FAIL][24] ([fdo#103232]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-apl8/igt@kms_cursor_crc@pipe-b-cursor-64x64-random.html [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-apl4/igt@kms_cursor_crc@pipe-b-cursor-64x64-random.html - shard-kbl: [PASS][25] -> [FAIL][26] ([fdo#103232]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-kbl1/igt@kms_cursor_crc@pipe-b-cursor-64x64-random.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-kbl4/igt@kms_cursor_crc@pipe-b-cursor-64x64-random.html * igt@kms_flip@flip-vs-suspend-interruptible: - shard-snb: [PASS][27] -> [INCOMPLETE][28] ([fdo#105411]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-snb1/igt@kms_flip@flip-vs-suspend-interruptible.html [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-snb1/igt@kms_flip@flip-vs-suspend-interruptible.html * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render: - shard-glk: [PASS][29] -> [FAIL][30] ([fdo#103167]) [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-glk6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render.html [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-glk5/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite: - shard-iclb: [PASS][31] -> [FAIL][32] ([fdo#103167]) +3 similar issues [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html * igt@kms_psr@psr2_sprite_blt: - shard-iclb: [PASS][33] -> [SKIP][34] ([fdo#109441]) +1 similar issue [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb8/igt@kms_psr@psr2_sprite_blt.html * igt@kms_setmode@basic: - shard-kbl: [PASS][35] -> [FAIL][36] ([fdo#99912]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-kbl2/igt@kms_setmode@basic.html [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-kbl6/igt@kms_setmode@basic.html * igt@kms_vblank@pipe-a-ts-continuation-suspend: - shard-kbl: [PASS][37] -> [DMESG-WARN][38] ([fdo#108566]) +7 similar issues [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-kbl3/igt@kms_vblank@pipe-a-ts-continuation-suspend.html [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-kbl4/igt@kms_vblank@pipe-a-ts-continuation-suspend.html #### Possible fixes #### * igt@gem_ctx_exec@basic-invalid-context-vcs1: - shard-iclb: [SKIP][39] ([fdo#112080]) -> [PASS][40] +9 similar issues [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb6/igt@gem_ctx_exec@basic-invalid-context-vcs1.html [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb4/igt@gem_ctx_exec@basic-invalid-context-vcs1.html * igt@gem_ctx_isolation@bcs0-s3: - shard-kbl: [DMESG-WARN][41] ([fdo#103313]) -> [PASS][42] [41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-kbl3/igt@gem_ctx_isolation@bcs0-s3.html [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-kbl2/igt@gem_ctx_isolation@bcs0-s3.html * igt@gem_ctx_isolation@vcs0-none: - {shard-tglb}: [INCOMPLETE][43] -> [PASS][44] [43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-tglb8/igt@gem_ctx_isolation@vcs0-none.html [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-tglb5/igt@gem_ctx_isolation@vcs0-none.html * igt@gem_ctx_isolation@vcs1-dirty-switch: - shard-iclb: [SKIP][45] ([fdo#109276] / [fdo#112080]) -> [PASS][46] [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb7/igt@gem_ctx_isolation@vcs1-dirty-switch.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb4/igt@gem_ctx_isolation@vcs1-dirty-switch.html * igt@gem_ctx_shared@exec-single-timeline-bsd: - shard-iclb: [SKIP][47] ([fdo#110841]) -> [PASS][48] [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb4/igt@gem_ctx_shared@exec-single-timeline-bsd.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb8/igt@gem_ctx_shared@exec-single-timeline-bsd.html * igt@gem_exec_schedule@preemptive-hang-bsd: - shard-iclb: [SKIP][49] ([fdo#111325]) -> [PASS][50] +5 similar issues [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb4/igt@gem_exec_schedule@preemptive-hang-bsd.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb6/igt@gem_exec_schedule@preemptive-hang-bsd.html * igt@gem_exec_schedule@promotion-bsd1: - shard-iclb: [SKIP][51] ([fdo#109276]) -> [PASS][52] +13 similar issues [51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb3/igt@gem_exec_schedule@promotion-bsd1.html [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb2/igt@gem_exec_schedule@promotion-bsd1.html * igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy: - shard-snb: [DMESG-WARN][53] ([fdo#111870]) -> [PASS][54] [53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-snb5/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-snb5/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy.html * igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup: - shard-hsw: [DMESG-WARN][55] ([fdo#111870]) -> [PASS][56] +1 similar issue [55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-hsw4/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup.html [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-hsw4/igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup.html * igt@i915_pm_rc6_residency@rc6-accuracy: - shard-snb: [SKIP][57] ([fdo#109271]) -> [PASS][58] [57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-snb6/igt@i915_pm_rc6_residency@rc6-accuracy.html [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-snb6/igt@i915_pm_rc6_residency@rc6-accuracy.html * igt@i915_pm_rpm@system-suspend-modeset: - {shard-tglb}: [INCOMPLETE][59] ([fdo#111832] / [fdo#111850]) -> [PASS][60] [59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-tglb1/igt@i915_pm_rpm@system-suspend-modeset.html [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-tglb8/igt@i915_pm_rpm@system-suspend-modeset.html * igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding: - shard-apl: [FAIL][61] ([fdo#103232]) -> [PASS][62] [61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-apl6/igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding.html [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-apl7/igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding.html - shard-kbl: [FAIL][63] ([fdo#103232]) -> [PASS][64] [63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-kbl6/igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding.html [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-kbl3/igt@kms_cursor_crc@pipe-b-cursor-256x256-sliding.html * igt@kms_cursor_crc@pipe-c-cursor-suspend: - shard-apl: [DMESG-WARN][65] ([fdo#108566]) -> [PASS][66] [65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-apl4/igt@kms_cursor_crc@pipe-c-cursor-suspend.html [66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-apl7/igt@kms_cursor_crc@pipe-c-cursor-suspend.html * igt@kms_flip@flip-vs-expired-vblank: - shard-iclb: [FAIL][67] ([fdo#105363]) -> [PASS][68] [67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb3/igt@kms_flip@flip-vs-expired-vblank.html [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb2/igt@kms_flip@flip-vs-expired-vblank.html * igt@kms_flip@flip-vs-suspend-interruptible: - shard-hsw: [INCOMPLETE][69] ([fdo#103540]) -> [PASS][70] [69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-hsw2/igt@kms_flip@flip-vs-suspend-interruptible.html [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-hsw4/igt@kms_flip@flip-vs-suspend-interruptible.html * igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-render: - shard-iclb: [FAIL][71] ([fdo#103167]) -> [PASS][72] [71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb1/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-render.html [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-indfb-draw-render.html * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-cpu: - shard-glk: [FAIL][73] ([fdo#103167]) -> [PASS][74] [73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-glk8/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-cpu.html [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-glk4/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-mmap-cpu.html * igt@kms_frontbuffer_tracking@fbc-suspend: - shard-kbl: [DMESG-WARN][75] ([fdo#108566]) -> [PASS][76] +10 similar issues [75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-suspend.html [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-kbl2/igt@kms_frontbuffer_tracking@fbc-suspend.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-pgflip-blt: - {shard-tglb}: [FAIL][77] ([fdo#103167]) -> [PASS][78] +3 similar issues [77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-tglb4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-pgflip-blt.html [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-pgflip-blt.html * igt@kms_psr2_su@page_flip: - shard-iclb: [SKIP][79] ([fdo#109642] / [fdo#111068]) -> [PASS][80] [79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb7/igt@kms_psr2_su@page_flip.html [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb2/igt@kms_psr2_su@page_flip.html * igt@kms_psr@psr2_sprite_mmap_cpu: - shard-iclb: [SKIP][81] ([fdo#109441]) -> [PASS][82] [81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb6/igt@kms_psr@psr2_sprite_mmap_cpu.html [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_cpu.html * igt@kms_rotation_crc@primary-rotation-270: - shard-apl: [INCOMPLETE][83] ([fdo#103927]) -> [PASS][84] +2 similar issues [83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-apl7/igt@kms_rotation_crc@primary-rotation-270.html [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-apl4/igt@kms_rotation_crc@primary-rotation-270.html * igt@kms_setmode@basic: - shard-apl: [FAIL][85] ([fdo#99912]) -> [PASS][86] [85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-apl3/igt@kms_setmode@basic.html [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-apl2/igt@kms_setmode@basic.html #### Warnings #### * igt@gem_ctx_isolation@vcs1-nonpriv: - shard-iclb: [FAIL][87] ([fdo#111329]) -> [SKIP][88] ([fdo#109276] / [fdo#112080]) [87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb4/igt@gem_ctx_isolation@vcs1-nonpriv.html [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb8/igt@gem_ctx_isolation@vcs1-nonpriv.html * igt@gem_mocs_settings@mocs-reset-bsd2: - shard-iclb: [FAIL][89] ([fdo#111330]) -> [SKIP][90] ([fdo#109276]) [89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb1/igt@gem_mocs_settings@mocs-reset-bsd2.html [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb7/igt@gem_mocs_settings@mocs-reset-bsd2.html * igt@kms_dp_dsc@basic-dsc-enable-edp: - shard-iclb: [DMESG-WARN][91] ([fdo#107724]) -> [SKIP][92] ([fdo#109349]) [91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7173/shard-iclb2/igt@kms_dp_dsc@basic-dsc-enable-edp.html [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/shard-iclb3/igt@kms_dp_dsc@basic-dsc-enable-edp.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167 [fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232 [fdo#103313]: https://bugs.freedesktop.org/show_bug.cgi?id=103313 [fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540 [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927 [fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363 [fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411 [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713 [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724 [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#109349]: https://bugs.freedesktop.org/show_bug.cgi?id=109349 [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 [fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642 [fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841 [fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854 [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 [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#111595]: https://bugs.freedesktop.org/show_bug.cgi?id=111595 [fdo#111646]: https://bugs.freedesktop.org/show_bug.cgi?id=111646 [fdo#111671]: https://bugs.freedesktop.org/show_bug.cgi?id=111671 [fdo#111703]: https://bugs.freedesktop.org/show_bug.cgi?id=111703 [fdo#111747]: https://bugs.freedesktop.org/show_bug.cgi?id=111747 [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825 [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#112035 ]: https://bugs.freedesktop.org/show_bug.cgi?id=112035 [fdo#112068 ]: https://bugs.freedesktop.org/show_bug.cgi?id=112068 [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 == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3607/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] lib: Restore i915.reset before testing it in igt_allow_hang() 2019-10-24 15:34 [igt-dev] [PATCH i-g-t] lib: Restore i915.reset before testing it in igt_allow_hang() Chris Wilson 2019-10-24 16:25 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2019-10-26 0:03 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork @ 2019-10-28 10:45 ` Ville Syrjälä 2 siblings, 0 replies; 4+ messages in thread From: Ville Syrjälä @ 2019-10-28 10:45 UTC (permalink / raw) To: Chris Wilson; +Cc: igt-dev, intel-gfx On Thu, Oct 24, 2019 at 04:34:16PM +0100, Chris Wilson wrote: > igt_allow_hang() checks that the GPU can be reset before allowing the > test to cause a GPU hang (which would need the reset to recover). > However, our checking for allowing a hang depends on i915.reset which we > later restore. Do that restoration before the check so that this test is > not affected by earlier fails. > > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Looks sensible. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> > --- > lib/igt_gt.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/lib/igt_gt.c b/lib/igt_gt.c > index 5ca77471c..256c7cbc0 100644 > --- a/lib/igt_gt.c > +++ b/lib/igt_gt.c > @@ -175,8 +175,6 @@ igt_hang_t igt_allow_hang(int fd, unsigned ctx, unsigned flags) > if (!igt_check_boolean_env_var("IGT_HANG", true)) > igt_skip("hang injection disabled by user"); > gem_context_require_bannable(fd); > - if (!igt_check_boolean_env_var("IGT_HANG_WITHOUT_RESET", false)) > - igt_require(has_gpu_reset(fd)); > > allow_reset = 1; > if ((flags & HANG_ALLOW_CAPTURE) == 0) { > @@ -191,6 +189,9 @@ igt_hang_t igt_allow_hang(int fd, unsigned ctx, unsigned flags) > } > igt_require(igt_sysfs_set_parameter(fd, "reset", "%d", allow_reset)); > > + if (!igt_check_boolean_env_var("IGT_HANG_WITHOUT_RESET", false)) > + igt_require(has_gpu_reset(fd)); > + > ban = context_get_ban(fd, ctx); > if ((flags & HANG_ALLOW_BAN) == 0) > context_set_ban(fd, ctx, 0); > -- > 2.24.0.rc0 > > _______________________________________________ > igt-dev mailing list > igt-dev@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/igt-dev -- Ville Syrjälä Intel _______________________________________________ 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-28 10:45 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2019-10-24 15:34 [igt-dev] [PATCH i-g-t] lib: Restore i915.reset before testing it in igt_allow_hang() Chris Wilson 2019-10-24 16:25 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork 2019-10-26 0:03 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 2019-10-28 10:45 ` [igt-dev] [PATCH i-g-t] " Ville Syrjälä
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox