* [PATCH] drm/i915: Only emit the 'send bug report' once for a GPU hang @ 2019-08-16 10:37 Chris Wilson 2019-08-16 13:28 ` ✓ Fi.CI.BAT: success for " Patchwork 2019-08-17 3:46 ` ✗ Fi.CI.IGT: failure " Patchwork 0 siblings, 2 replies; 3+ messages in thread From: Chris Wilson @ 2019-08-16 10:37 UTC (permalink / raw) To: intel-gfx Use a locked xchg to ensure that the global log message giving instructions on how to send a bug report is emitted precisely once. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> --- drivers/gpu/drm/i915/i915_gpu_error.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c index b0ae055b6c82..e284bd76fa86 100644 --- a/drivers/gpu/drm/i915/i915_gpu_error.c +++ b/drivers/gpu/drm/i915/i915_gpu_error.c @@ -1765,7 +1765,7 @@ void i915_capture_error_state(struct drm_i915_private *i915, return; } - if (!warned && + if (!xchg(&warned, true) && ktime_get_real_seconds() - DRIVER_TIMESTAMP < DAY_AS_SECONDS(180)) { pr_info("GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.\n"); pr_info("Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel\n"); @@ -1773,7 +1773,6 @@ void i915_capture_error_state(struct drm_i915_private *i915, pr_info("The GPU crash dump is required to analyze GPU hangs, so please always attach it.\n"); pr_info("GPU crash dump saved to /sys/class/drm/card%d/error\n", i915->drm.primary->index); - warned = true; } } -- 2.23.0.rc1 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply related [flat|nested] 3+ messages in thread
* ✓ Fi.CI.BAT: success for drm/i915: Only emit the 'send bug report' once for a GPU hang 2019-08-16 10:37 [PATCH] drm/i915: Only emit the 'send bug report' once for a GPU hang Chris Wilson @ 2019-08-16 13:28 ` Patchwork 2019-08-17 3:46 ` ✗ Fi.CI.IGT: failure " Patchwork 1 sibling, 0 replies; 3+ messages in thread From: Patchwork @ 2019-08-16 13:28 UTC (permalink / raw) To: Chris Wilson; +Cc: intel-gfx == Series Details == Series: drm/i915: Only emit the 'send bug report' once for a GPU hang URL : https://patchwork.freedesktop.org/series/65301/ State : success == Summary == CI Bug Log - changes from CI_DRM_6718 -> Patchwork_14052 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/ Known issues ------------ Here are the changes found in Patchwork_14052 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_exec_suspend@basic-s4-devices: - fi-blb-e6850: [PASS][1] -> [INCOMPLETE][2] ([fdo#107718]) [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/fi-blb-e6850/igt@gem_exec_suspend@basic-s4-devices.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/fi-blb-e6850/igt@gem_exec_suspend@basic-s4-devices.html * igt@gem_flink_basic@flink-lifetime: - fi-icl-u3: [PASS][3] -> [DMESG-WARN][4] ([fdo#107724]) +1 similar issue [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/fi-icl-u3/igt@gem_flink_basic@flink-lifetime.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/fi-icl-u3/igt@gem_flink_basic@flink-lifetime.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713 [fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718 [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724 Participating hosts (54 -> 44) ------------------------------ Missing (10): fi-kbl-soraka fi-ilk-m540 fi-skl-gvtdvm fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-apl-guc fi-icl-y fi-byt-clapper fi-bdw-samus Build changes ------------- * CI: CI-20190529 -> None * Linux: CI_DRM_6718 -> Patchwork_14052 CI-20190529: 20190529 CI_DRM_6718: b6d542cb2fbbc69487b1e83634395439a8fafa94 @ git://anongit.freedesktop.org/gfx-ci/linux IGT_5138: b9abe0bf6c478c4f6cac56bff286d6926ad8c0ab @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_14052: d972e9390d69c1d6e2ef798a365640a0cf4a63a5 @ git://anongit.freedesktop.org/gfx-ci/linux == Linux commits == d972e9390d69 drm/i915: Only emit the 'send bug report' once for a GPU hang == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/ _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 3+ messages in thread
* ✗ Fi.CI.IGT: failure for drm/i915: Only emit the 'send bug report' once for a GPU hang 2019-08-16 10:37 [PATCH] drm/i915: Only emit the 'send bug report' once for a GPU hang Chris Wilson 2019-08-16 13:28 ` ✓ Fi.CI.BAT: success for " Patchwork @ 2019-08-17 3:46 ` Patchwork 1 sibling, 0 replies; 3+ messages in thread From: Patchwork @ 2019-08-17 3:46 UTC (permalink / raw) To: Chris Wilson; +Cc: intel-gfx == Series Details == Series: drm/i915: Only emit the 'send bug report' once for a GPU hang URL : https://patchwork.freedesktop.org/series/65301/ State : failure == Summary == CI Bug Log - changes from CI_DRM_6718_full -> Patchwork_14052_full ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with Patchwork_14052_full absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in Patchwork_14052_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI. Possible new issues ------------------- Here are the unknown changes that may have been introduced in Patchwork_14052_full: ### IGT changes ### #### Possible regressions #### * igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm: - shard-skl: NOTRUN -> [INCOMPLETE][1] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-skl3/igt@kms_vblank@pipe-a-ts-continuation-dpms-rpm.html Known issues ------------ Here are the changes found in Patchwork_14052_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_exec_schedule@preemptive-hang-bsd: - shard-iclb: [PASS][2] -> [SKIP][3] ([fdo#111325]) +2 similar issues [2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb8/igt@gem_exec_schedule@preemptive-hang-bsd.html [3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb2/igt@gem_exec_schedule@preemptive-hang-bsd.html * igt@gem_workarounds@suspend-resume-fd: - shard-skl: [PASS][4] -> [INCOMPLETE][5] ([fdo#104108]) [4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-skl8/igt@gem_workarounds@suspend-resume-fd.html [5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-skl8/igt@gem_workarounds@suspend-resume-fd.html * igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic: - shard-hsw: [PASS][6] -> [FAIL][7] ([fdo#105767]) [6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-hsw6/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic.html [7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-hsw1/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic.html * igt@kms_flip@flip-vs-expired-vblank: - shard-glk: [PASS][8] -> [FAIL][9] ([fdo#105363]) +1 similar issue [8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-glk2/igt@kms_flip@flip-vs-expired-vblank.html [9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-glk3/igt@kms_flip@flip-vs-expired-vblank.html * igt@kms_flip@flip-vs-suspend-interruptible: - shard-snb: [PASS][10] -> [DMESG-WARN][11] ([fdo#102365]) [10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-snb1/igt@kms_flip@flip-vs-suspend-interruptible.html [11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-snb2/igt@kms_flip@flip-vs-suspend-interruptible.html * igt@kms_frontbuffer_tracking@fbc-badstride: - shard-iclb: [PASS][12] -> [FAIL][13] ([fdo#103167]) +7 similar issues [12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-badstride.html [13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-badstride.html * igt@kms_psr@psr2_sprite_mmap_gtt: - shard-iclb: [PASS][14] -> [SKIP][15] ([fdo#109441]) +1 similar issue [14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html [15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb8/igt@kms_psr@psr2_sprite_mmap_gtt.html * igt@kms_setmode@basic: - shard-apl: [PASS][16] -> [FAIL][17] ([fdo#99912]) [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-apl1/igt@kms_setmode@basic.html [17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-apl2/igt@kms_setmode@basic.html * igt@kms_vblank@pipe-a-ts-continuation-suspend: - shard-apl: [PASS][18] -> [DMESG-WARN][19] ([fdo#108566]) +3 similar issues [18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-apl2/igt@kms_vblank@pipe-a-ts-continuation-suspend.html [19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-apl7/igt@kms_vblank@pipe-a-ts-continuation-suspend.html * igt@kms_vblank@pipe-b-ts-continuation-suspend: - shard-kbl: [PASS][20] -> [INCOMPLETE][21] ([fdo#103665]) [20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-kbl7/igt@kms_vblank@pipe-b-ts-continuation-suspend.html [21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-kbl3/igt@kms_vblank@pipe-b-ts-continuation-suspend.html * igt@prime_busy@wait-hang-vebox: - shard-apl: [PASS][22] -> [INCOMPLETE][23] ([fdo#103927]) +6 similar issues [22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-apl7/igt@prime_busy@wait-hang-vebox.html [23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-apl6/igt@prime_busy@wait-hang-vebox.html * igt@prime_vgem@fence-wait-bsd2: - shard-iclb: [PASS][24] -> [SKIP][25] ([fdo#109276]) +16 similar issues [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb2/igt@prime_vgem@fence-wait-bsd2.html [25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb8/igt@prime_vgem@fence-wait-bsd2.html #### Possible fixes #### * igt@gem_ctx_shared@exec-single-timeline-bsd: - shard-iclb: [SKIP][26] ([fdo#110841]) -> [PASS][27] [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb4/igt@gem_ctx_shared@exec-single-timeline-bsd.html [27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb7/igt@gem_ctx_shared@exec-single-timeline-bsd.html * igt@gem_exec_schedule@in-order-bsd: - shard-iclb: [SKIP][28] ([fdo#111325]) -> [PASS][29] +6 similar issues [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb1/igt@gem_exec_schedule@in-order-bsd.html [29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb5/igt@gem_exec_schedule@in-order-bsd.html * igt@gem_softpin@noreloc-s3: - shard-apl: [DMESG-WARN][30] ([fdo#108566]) -> [PASS][31] +2 similar issues [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-apl1/igt@gem_softpin@noreloc-s3.html [31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-apl3/igt@gem_softpin@noreloc-s3.html * igt@i915_pm_rpm@system-suspend-execbuf: - shard-skl: [INCOMPLETE][32] ([fdo#104108] / [fdo#107807]) -> [PASS][33] [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-skl4/igt@i915_pm_rpm@system-suspend-execbuf.html [33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-skl3/igt@i915_pm_rpm@system-suspend-execbuf.html * igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy: - shard-hsw: [FAIL][34] ([fdo#105767]) -> [PASS][35] [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-hsw4/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html [35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-hsw2/igt@kms_cursor_legacy@2x-long-cursor-vs-flip-legacy.html * igt@kms_flip@flip-vs-suspend-interruptible: - shard-glk: [INCOMPLETE][36] ([fdo#103359] / [k.org#198133]) -> [PASS][37] [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-glk2/igt@kms_flip@flip-vs-suspend-interruptible.html [37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-glk4/igt@kms_flip@flip-vs-suspend-interruptible.html * igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite: - shard-iclb: [FAIL][38] ([fdo#103167]) -> [PASS][39] +6 similar issues [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb1/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html [39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html * igt@kms_plane_lowres@pipe-a-tiling-y: - shard-iclb: [FAIL][40] ([fdo#103166]) -> [PASS][41] [40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb4/igt@kms_plane_lowres@pipe-a-tiling-y.html [41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb7/igt@kms_plane_lowres@pipe-a-tiling-y.html * igt@kms_plane_multiple@atomic-pipe-c-tiling-y: - shard-skl: [DMESG-WARN][42] ([fdo#106885]) -> [PASS][43] [42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-skl9/igt@kms_plane_multiple@atomic-pipe-c-tiling-y.html [43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-skl4/igt@kms_plane_multiple@atomic-pipe-c-tiling-y.html * igt@kms_psr@psr2_cursor_blt: - shard-iclb: [SKIP][44] ([fdo#109441]) -> [PASS][45] +2 similar issues [44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb4/igt@kms_psr@psr2_cursor_blt.html [45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb2/igt@kms_psr@psr2_cursor_blt.html * igt@perf@polling: - shard-skl: [FAIL][46] ([fdo#110728]) -> [PASS][47] [46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-skl3/igt@perf@polling.html [47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-skl1/igt@perf@polling.html * igt@prime_busy@hang-bsd2: - shard-iclb: [SKIP][48] ([fdo#109276]) -> [PASS][49] +18 similar issues [48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb6/igt@prime_busy@hang-bsd2.html [49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb4/igt@prime_busy@hang-bsd2.html #### Warnings #### * igt@gem_mocs_settings@mocs-settings-bsd2: - shard-iclb: [SKIP][50] ([fdo#109276]) -> [FAIL][51] ([fdo#111330]) +1 similar issue [50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6718/shard-iclb6/igt@gem_mocs_settings@mocs-settings-bsd2.html [51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/shard-iclb4/igt@gem_mocs_settings@mocs-settings-bsd2.html [fdo#102365]: https://bugs.freedesktop.org/show_bug.cgi?id=102365 [fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166 [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167 [fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359 [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665 [fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927 [fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108 [fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363 [fdo#105767]: https://bugs.freedesktop.org/show_bug.cgi?id=105767 [fdo#106885]: https://bugs.freedesktop.org/show_bug.cgi?id=106885 [fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807 [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566 [fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276 [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441 [fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728 [fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841 [fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325 [fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330 [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912 [k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133 Participating hosts (10 -> 10) ------------------------------ No changes in participating hosts Build changes ------------- * CI: CI-20190529 -> None * Linux: CI_DRM_6718 -> Patchwork_14052 CI-20190529: 20190529 CI_DRM_6718: b6d542cb2fbbc69487b1e83634395439a8fafa94 @ git://anongit.freedesktop.org/gfx-ci/linux IGT_5138: b9abe0bf6c478c4f6cac56bff286d6926ad8c0ab @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_14052: d972e9390d69c1d6e2ef798a365640a0cf4a63a5 @ git://anongit.freedesktop.org/gfx-ci/linux piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14052/ _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-08-17 3:46 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2019-08-16 10:37 [PATCH] drm/i915: Only emit the 'send bug report' once for a GPU hang Chris Wilson 2019-08-16 13:28 ` ✓ Fi.CI.BAT: success for " Patchwork 2019-08-17 3:46 ` ✗ Fi.CI.IGT: failure " Patchwork
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.