* [PATCH] drm/i915: Signal the fences as they are cancelled due to wedging
@ 2018-11-29 9:33 Chris Wilson
2018-11-29 10:16 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Chris Wilson @ 2018-11-29 9:33 UTC (permalink / raw)
To: intel-gfx
We inspect the requests under the assumption that they will be marked as
completed/signaled when they are removed from the queue. Currently
however, in the process of wedging the requests will be removed from the
queue before they are completed, so rearrange the code to signal the
fences before the locks are dropped.
<1>[ 354.473346] BUG: unable to handle kernel NULL pointer dereference at 0000000000000250
<6>[ 354.473363] PGD 0 P4D 0
<4>[ 354.473370] Oops: 0000 [#1] PREEMPT SMP PTI
<4>[ 354.473380] CPU: 0 PID: 4470 Comm: gem_eio Tainted: G U 4.20.0-rc4-CI-CI_DRM_5216+ #1
<4>[ 354.473393] Hardware name: Intel Corporation NUC7CJYH/NUC7JYB, BIOS JYGLKCPX.86A.0027.2018.0125.1347 01/25/2018
<4>[ 354.473480] RIP: 0010:__i915_schedule+0x311/0x5e0 [i915]
<4>[ 354.473490] Code: 49 89 44 24 20 4d 89 4c 24 28 4d 89 29 44 39 b3 a0 04 00 00 7d 3a 41 8b 44 24 78 85 c0 74 13 48 8b 93 78 04 00 00 48 83 e2 fc <39> 82 50 02 00 00 79 1e 44 89 b3 a0 04 00 00 48 8d bb d0 03 00 00
<4>[ 354.473515] RSP: 0018:ffffc900001bba90 EFLAGS: 00010046
<4>[ 354.473524] RAX: 0000000000000003 RBX: ffff8882624c8008 RCX: f34a737800000000
<4>[ 354.473535] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8882624c8048
<4>[ 354.473545] RBP: ffffc900001bbab0 R08: 000000005963f1f1 R09: 0000000000000000
<4>[ 354.473556] R10: ffffc900001bba10 R11: ffff8882624c8060 R12: ffff88824fdd7b98
<4>[ 354.473567] R13: ffff88824fdd7bb8 R14: 0000000000000001 R15: ffff88824fdd7750
<4>[ 354.473578] FS: 00007f44b4b5b980(0000) GS:ffff888277e00000(0000) knlGS:0000000000000000
<4>[ 354.473590] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[ 354.473599] CR2: 0000000000000250 CR3: 000000026976e000 CR4: 0000000000340ef0
<4>[ 354.473611] Call Trace:
<4>[ 354.473622] ? lock_acquire+0xa6/0x1c0
<4>[ 354.473677] ? i915_schedule_bump_priority+0x57/0xd0 [i915]
<4>[ 354.473736] i915_schedule_bump_priority+0x72/0xd0 [i915]
<4>[ 354.473792] i915_request_wait+0x4db/0x840 [i915]
<4>[ 354.473804] ? get_pwq.isra.4+0x2c/0x50
<4>[ 354.473813] ? ___preempt_schedule+0x16/0x18
<4>[ 354.473824] ? wake_up_q+0x70/0x70
<4>[ 354.473831] ? wake_up_q+0x70/0x70
<4>[ 354.473882] ? gen6_rps_boost+0x118/0x120 [i915]
<4>[ 354.473936] i915_gem_object_wait_fence+0x8a/0x110 [i915]
<4>[ 354.473991] i915_gem_object_wait+0x113/0x500 [i915]
<4>[ 354.474047] i915_gem_wait_ioctl+0x11c/0x2f0 [i915]
<4>[ 354.474101] ? i915_gem_unset_wedged+0x210/0x210 [i915]
<4>[ 354.474113] drm_ioctl_kernel+0x81/0xf0
<4>[ 354.474123] drm_ioctl+0x2de/0x390
<4>[ 354.474175] ? i915_gem_unset_wedged+0x210/0x210 [i915]
<4>[ 354.474187] ? finish_task_switch+0x95/0x260
<4>[ 354.474197] ? lock_acquire+0xa6/0x1c0
<4>[ 354.474207] do_vfs_ioctl+0xa0/0x6e0
<4>[ 354.474217] ? __fget+0xfc/0x1e0
<4>[ 354.474225] ksys_ioctl+0x35/0x60
<4>[ 354.474233] __x64_sys_ioctl+0x11/0x20
<4>[ 354.474241] do_syscall_64+0x55/0x190
<4>[ 354.474251] entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4>[ 354.474260] RIP: 0033:0x7f44b3de65d7
<4>[ 354.474267] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4>[ 354.474293] RSP: 002b:00007fff974948e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[ 354.474305] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f44b3de65d7
<4>[ 354.474316] RDX: 00007fff97494940 RSI: 00000000c010646c RDI: 0000000000000007
<4>[ 354.474327] RBP: 00007fff97494940 R08: 0000000000000000 R09: 00007f44b40bbc40
<4>[ 354.474337] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c010646c
<4>[ 354.474348] R13: 0000000000000007 R14: 0000000000000000 R15: 0000000000000000
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
drivers/gpu/drm/i915/i915_gem.c | 15 +++------------
drivers/gpu/drm/i915/intel_lrc.c | 12 +++++++++++-
drivers/gpu/drm/i915/intel_ringbuffer.c | 7 ++++++-
3 files changed, 20 insertions(+), 14 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index c55b1f75c980..175ff54d302d 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -3330,6 +3330,8 @@ static void nop_complete_submit_request(struct i915_request *request)
__i915_request_submit(request);
intel_engine_init_global_seqno(request->engine, request->global_seqno);
spin_unlock_irqrestore(&request->engine->timeline.lock, flags);
+
+ dma_fence_signal(&request->fence);
}
void i915_gem_set_wedged(struct drm_i915_private *i915)
@@ -3392,19 +3394,8 @@ void i915_gem_set_wedged(struct drm_i915_private *i915)
synchronize_rcu();
for_each_engine(engine, i915, id) {
- unsigned long flags;
-
- /*
- * Mark all pending requests as complete so that any concurrent
- * (lockless) lookup doesn't try and wait upon the request as we
- * reset it.
- */
- spin_lock_irqsave(&engine->timeline.lock, flags);
- intel_engine_init_global_seqno(engine,
- intel_engine_last_submit(engine));
- spin_unlock_irqrestore(&engine->timeline.lock, flags);
-
i915_gem_reset_finish_engine(engine);
+ intel_engine_wakeup(engine);
}
out:
diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c
index 11f4e6148557..c0b8631dbe79 100644
--- a/drivers/gpu/drm/i915/intel_lrc.c
+++ b/drivers/gpu/drm/i915/intel_lrc.c
@@ -818,8 +818,13 @@ static void execlists_cancel_requests(struct intel_engine_cs *engine)
/* Mark all executing requests as skipped. */
list_for_each_entry(rq, &engine->timeline.requests, link) {
GEM_BUG_ON(!rq->global_seqno);
- if (!i915_request_completed(rq))
+ if (!i915_request_completed(rq)) {
dma_fence_set_error(&rq->fence, -EIO);
+ intel_write_status_page(engine,
+ I915_GEM_HWS_INDEX,
+ rq->global_seqno);
+ }
+ dma_fence_signal(&rq->fence);
}
/* Flush the queued requests to the timeline list (for retiring). */
@@ -832,6 +837,11 @@ static void execlists_cancel_requests(struct intel_engine_cs *engine)
dma_fence_set_error(&rq->fence, -EIO);
__i915_request_submit(rq);
+
+ intel_write_status_page(engine,
+ I915_GEM_HWS_INDEX,
+ rq->global_seqno);
+ dma_fence_signal(&rq->fence);
}
rb_erase_cached(&p->node, &execlists->queue);
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c
index e18a64d41843..384495919f5a 100644
--- a/drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/drivers/gpu/drm/i915/intel_ringbuffer.c
@@ -750,8 +750,13 @@ static void cancel_requests(struct intel_engine_cs *engine)
/* Mark all submitted requests as skipped. */
list_for_each_entry(request, &engine->timeline.requests, link) {
GEM_BUG_ON(!request->global_seqno);
- if (!i915_request_completed(request))
+ if (!i915_request_completed(request)) {
dma_fence_set_error(&request->fence, -EIO);
+ intel_write_status_page(engine,
+ I915_GEM_HWS_INDEX,
+ request->global_seqno);
+ }
+ dma_fence_signal(&request->fence);
}
/* Remaining _unready_ requests will be nop'ed when submitted */
--
2.20.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] 8+ messages in thread* ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Signal the fences as they are cancelled due to wedging 2018-11-29 9:33 [PATCH] drm/i915: Signal the fences as they are cancelled due to wedging Chris Wilson @ 2018-11-29 10:16 ` Patchwork 2018-11-29 10:32 ` ✓ Fi.CI.BAT: success " Patchwork ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: Patchwork @ 2018-11-29 10:16 UTC (permalink / raw) To: Chris Wilson; +Cc: intel-gfx == Series Details == Series: drm/i915: Signal the fences as they are cancelled due to wedging URL : https://patchwork.freedesktop.org/series/53226/ State : warning == Summary == $ dim checkpatch origin/drm-tip b2cb1720bfa2 drm/i915: Signal the fences as they are cancelled due to wedging -:13: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #13: <1>[ 354.473346] BUG: unable to handle kernel NULL pointer dereference at 0000000000000250 total: 0 errors, 1 warnings, 0 checks, 67 lines checked _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
* ✓ Fi.CI.BAT: success for drm/i915: Signal the fences as they are cancelled due to wedging 2018-11-29 9:33 [PATCH] drm/i915: Signal the fences as they are cancelled due to wedging Chris Wilson 2018-11-29 10:16 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork @ 2018-11-29 10:32 ` Patchwork 2018-11-29 12:50 ` [PATCH v2] " Chris Wilson ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: Patchwork @ 2018-11-29 10:32 UTC (permalink / raw) To: Chris Wilson; +Cc: intel-gfx == Series Details == Series: drm/i915: Signal the fences as they are cancelled due to wedging URL : https://patchwork.freedesktop.org/series/53226/ State : success == Summary == CI Bug Log - changes from CI_DRM_5221 -> Patchwork_10947 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://patchwork.freedesktop.org/api/1.0/series/53226/revisions/1/mbox/ Known issues ------------ Here are the changes found in Patchwork_10947 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_busy@basic-busy-default: - fi-skl-6770hq: PASS -> DMESG-WARN [fdo#105541] * igt@kms_pipe_crc_basic@nonblocking-crc-pipe-a-frame-sequence: - fi-byt-clapper: PASS -> FAIL [fdo#103191] / [fdo#107362] #### Possible fixes #### * igt@gem_mmap@basic-small-bo: - fi-glk-dsi: INCOMPLETE [fdo#103359] / [k.org#198133] -> PASS #### Warnings #### * igt@i915_selftest@live_contexts: - {fi-icl-u3}: INCOMPLETE [fdo#108315] -> DMESG-FAIL [fdo#108569] {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191 [fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359 [fdo#105541]: https://bugs.freedesktop.org/show_bug.cgi?id=105541 [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362 [fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315 [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569 [k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133 Participating hosts (45 -> 42) ------------------------------ Additional (2): fi-gdg-551 fi-pnv-d510 Missing (5): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 Build changes ------------- * Linux: CI_DRM_5221 -> Patchwork_10947 CI_DRM_5221: 4c3e98f6787fab0ce3c5d20d25ebd538dfe234af @ git://anongit.freedesktop.org/gfx-ci/linux IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_10947: b2cb1720bfa25b31c3d22f294f6ba0ef1ca17de5 @ git://anongit.freedesktop.org/gfx-ci/linux == Linux commits == b2cb1720bfa2 drm/i915: Signal the fences as they are cancelled due to wedging == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10947/ _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] drm/i915: Signal the fences as they are cancelled due to wedging 2018-11-29 9:33 [PATCH] drm/i915: Signal the fences as they are cancelled due to wedging Chris Wilson 2018-11-29 10:16 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork 2018-11-29 10:32 ` ✓ Fi.CI.BAT: success " Patchwork @ 2018-11-29 12:50 ` Chris Wilson 2018-11-29 13:11 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Signal the fences as they are cancelled due to wedging (rev2) Patchwork ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: Chris Wilson @ 2018-11-29 12:50 UTC (permalink / raw) To: intel-gfx We inspect the requests under the assumption that they will be marked as completed/signaled when they are removed from the queue. Currently however, in the process of wedging the requests will be removed from the queue before they are completed, so rearrange the code to signal the fences before the locks are dropped. <1>[ 354.473346] BUG: unable to handle kernel NULL pointer dereference at 0000000000000250 <6>[ 354.473363] PGD 0 P4D 0 <4>[ 354.473370] Oops: 0000 [#1] PREEMPT SMP PTI <4>[ 354.473380] CPU: 0 PID: 4470 Comm: gem_eio Tainted: G U 4.20.0-rc4-CI-CI_DRM_5216+ #1 <4>[ 354.473393] Hardware name: Intel Corporation NUC7CJYH/NUC7JYB, BIOS JYGLKCPX.86A.0027.2018.0125.1347 01/25/2018 <4>[ 354.473480] RIP: 0010:__i915_schedule+0x311/0x5e0 [i915] <4>[ 354.473490] Code: 49 89 44 24 20 4d 89 4c 24 28 4d 89 29 44 39 b3 a0 04 00 00 7d 3a 41 8b 44 24 78 85 c0 74 13 48 8b 93 78 04 00 00 48 83 e2 fc <39> 82 50 02 00 00 79 1e 44 89 b3 a0 04 00 00 48 8d bb d0 03 00 00 <4>[ 354.473515] RSP: 0018:ffffc900001bba90 EFLAGS: 00010046 <4>[ 354.473524] RAX: 0000000000000003 RBX: ffff8882624c8008 RCX: f34a737800000000 <4>[ 354.473535] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8882624c8048 <4>[ 354.473545] RBP: ffffc900001bbab0 R08: 000000005963f1f1 R09: 0000000000000000 <4>[ 354.473556] R10: ffffc900001bba10 R11: ffff8882624c8060 R12: ffff88824fdd7b98 <4>[ 354.473567] R13: ffff88824fdd7bb8 R14: 0000000000000001 R15: ffff88824fdd7750 <4>[ 354.473578] FS: 00007f44b4b5b980(0000) GS:ffff888277e00000(0000) knlGS:0000000000000000 <4>[ 354.473590] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 <4>[ 354.473599] CR2: 0000000000000250 CR3: 000000026976e000 CR4: 0000000000340ef0 <4>[ 354.473611] Call Trace: <4>[ 354.473622] ? lock_acquire+0xa6/0x1c0 <4>[ 354.473677] ? i915_schedule_bump_priority+0x57/0xd0 [i915] <4>[ 354.473736] i915_schedule_bump_priority+0x72/0xd0 [i915] <4>[ 354.473792] i915_request_wait+0x4db/0x840 [i915] <4>[ 354.473804] ? get_pwq.isra.4+0x2c/0x50 <4>[ 354.473813] ? ___preempt_schedule+0x16/0x18 <4>[ 354.473824] ? wake_up_q+0x70/0x70 <4>[ 354.473831] ? wake_up_q+0x70/0x70 <4>[ 354.473882] ? gen6_rps_boost+0x118/0x120 [i915] <4>[ 354.473936] i915_gem_object_wait_fence+0x8a/0x110 [i915] <4>[ 354.473991] i915_gem_object_wait+0x113/0x500 [i915] <4>[ 354.474047] i915_gem_wait_ioctl+0x11c/0x2f0 [i915] <4>[ 354.474101] ? i915_gem_unset_wedged+0x210/0x210 [i915] <4>[ 354.474113] drm_ioctl_kernel+0x81/0xf0 <4>[ 354.474123] drm_ioctl+0x2de/0x390 <4>[ 354.474175] ? i915_gem_unset_wedged+0x210/0x210 [i915] <4>[ 354.474187] ? finish_task_switch+0x95/0x260 <4>[ 354.474197] ? lock_acquire+0xa6/0x1c0 <4>[ 354.474207] do_vfs_ioctl+0xa0/0x6e0 <4>[ 354.474217] ? __fget+0xfc/0x1e0 <4>[ 354.474225] ksys_ioctl+0x35/0x60 <4>[ 354.474233] __x64_sys_ioctl+0x11/0x20 <4>[ 354.474241] do_syscall_64+0x55/0x190 <4>[ 354.474251] entry_SYSCALL_64_after_hwframe+0x49/0xbe <4>[ 354.474260] RIP: 0033:0x7f44b3de65d7 <4>[ 354.474267] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48 <4>[ 354.474293] RSP: 002b:00007fff974948e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 <4>[ 354.474305] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f44b3de65d7 <4>[ 354.474316] RDX: 00007fff97494940 RSI: 00000000c010646c RDI: 0000000000000007 <4>[ 354.474327] RBP: 00007fff97494940 R08: 0000000000000000 R09: 00007f44b40bbc40 <4>[ 354.474337] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c010646c <4>[ 354.474348] R13: 0000000000000007 R14: 0000000000000000 R15: 0000000000000000 v2: Avoid floating requests. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> --- drivers/gpu/drm/i915/i915_gem.c | 56 ++++++------------------- drivers/gpu/drm/i915/intel_lrc.c | 16 +++++-- drivers/gpu/drm/i915/intel_ringbuffer.c | 14 ++++++- 3 files changed, 37 insertions(+), 49 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index c55b1f75c980..0eaa8a6f0423 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -3308,16 +3308,6 @@ void i915_gem_reset_finish(struct drm_i915_private *dev_priv) } static void nop_submit_request(struct i915_request *request) -{ - GEM_TRACE("%s fence %llx:%d -> -EIO\n", - request->engine->name, - request->fence.context, request->fence.seqno); - dma_fence_set_error(&request->fence, -EIO); - - i915_request_submit(request); -} - -static void nop_complete_submit_request(struct i915_request *request) { unsigned long flags; @@ -3330,6 +3320,8 @@ static void nop_complete_submit_request(struct i915_request *request) __i915_request_submit(request); intel_engine_init_global_seqno(request->engine, request->global_seqno); spin_unlock_irqrestore(&request->engine->timeline.lock, flags); + + dma_fence_signal(&request->fence); } void i915_gem_set_wedged(struct drm_i915_private *i915) @@ -3354,57 +3346,33 @@ void i915_gem_set_wedged(struct drm_i915_private *i915) * rolling the global seqno forward (since this would complete requests * for which we haven't set the fence error to EIO yet). */ - for_each_engine(engine, i915, id) { + for_each_engine(engine, i915, id) i915_gem_reset_prepare_engine(engine); - engine->submit_request = nop_submit_request; - engine->schedule = NULL; - } - i915->caps.scheduler = 0; - /* Even if the GPU reset fails, it should still stop the engines */ if (INTEL_GEN(i915) >= 5) intel_gpu_reset(i915, ALL_ENGINES); - /* - * Make sure no one is running the old callback before we proceed with - * cancelling requests and resetting the completion tracking. Otherwise - * we might submit a request to the hardware which never completes. - */ - synchronize_rcu(); - for_each_engine(engine, i915, id) { - /* Mark all executing requests as skipped */ - engine->cancel_requests(engine); - - /* - * Only once we've force-cancelled all in-flight requests can we - * start to complete all requests. - */ - engine->submit_request = nop_complete_submit_request; + engine->submit_request = nop_submit_request; + engine->schedule = NULL; } + i915->caps.scheduler = 0; /* * Make sure no request can slip through without getting completed by * either this call here to intel_engine_init_global_seqno, or the one - * in nop_complete_submit_request. + * in nop_submit_request. */ synchronize_rcu(); - for_each_engine(engine, i915, id) { - unsigned long flags; - - /* - * Mark all pending requests as complete so that any concurrent - * (lockless) lookup doesn't try and wait upon the request as we - * reset it. - */ - spin_lock_irqsave(&engine->timeline.lock, flags); - intel_engine_init_global_seqno(engine, - intel_engine_last_submit(engine)); - spin_unlock_irqrestore(&engine->timeline.lock, flags); + /* Mark all executing requests as skipped */ + for_each_engine(engine, i915, id) + engine->cancel_requests(engine); + for_each_engine(engine, i915, id) { i915_gem_reset_finish_engine(engine); + intel_engine_wakeup(engine); } out: diff --git a/drivers/gpu/drm/i915/intel_lrc.c b/drivers/gpu/drm/i915/intel_lrc.c index 11f4e6148557..8188d5e9174c 100644 --- a/drivers/gpu/drm/i915/intel_lrc.c +++ b/drivers/gpu/drm/i915/intel_lrc.c @@ -818,8 +818,12 @@ static void execlists_cancel_requests(struct intel_engine_cs *engine) /* Mark all executing requests as skipped. */ list_for_each_entry(rq, &engine->timeline.requests, link) { GEM_BUG_ON(!rq->global_seqno); - if (!i915_request_completed(rq)) - dma_fence_set_error(&rq->fence, -EIO); + + if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &rq->fence.flags)) + continue; + + dma_fence_set_error(&rq->fence, -EIO); + dma_fence_signal(&rq->fence); } /* Flush the queued requests to the timeline list (for retiring). */ @@ -830,8 +834,10 @@ static void execlists_cancel_requests(struct intel_engine_cs *engine) priolist_for_each_request_consume(rq, rn, p, i) { list_del_init(&rq->sched.link); - dma_fence_set_error(&rq->fence, -EIO); __i915_request_submit(rq); + + dma_fence_set_error(&rq->fence, -EIO); + dma_fence_signal(&rq->fence); } rb_erase_cached(&p->node, &execlists->queue); @@ -839,6 +845,10 @@ static void execlists_cancel_requests(struct intel_engine_cs *engine) kmem_cache_free(engine->i915->priorities, p); } + intel_write_status_page(engine, + I915_GEM_HWS_INDEX, + intel_engine_last_submit(engine)); + /* Remaining _unready_ requests will be nop'ed when submitted */ execlists->queue_priority = INT_MIN; diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index e18a64d41843..b16ab194ad01 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c @@ -750,9 +750,19 @@ static void cancel_requests(struct intel_engine_cs *engine) /* Mark all submitted requests as skipped. */ list_for_each_entry(request, &engine->timeline.requests, link) { GEM_BUG_ON(!request->global_seqno); - if (!i915_request_completed(request)) - dma_fence_set_error(&request->fence, -EIO); + + if (test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, + &request->fence.flags)) + continue; + + dma_fence_set_error(&request->fence, -EIO); + dma_fence_signal(&request->fence); } + + intel_write_status_page(engine, + I915_GEM_HWS_INDEX, + intel_engine_last_submit(engine)); + /* Remaining _unready_ requests will be nop'ed when submitted */ spin_unlock_irqrestore(&engine->timeline.lock, flags); -- 2.20.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] 8+ messages in thread
* ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Signal the fences as they are cancelled due to wedging (rev2) 2018-11-29 9:33 [PATCH] drm/i915: Signal the fences as they are cancelled due to wedging Chris Wilson ` (2 preceding siblings ...) 2018-11-29 12:50 ` [PATCH v2] " Chris Wilson @ 2018-11-29 13:11 ` Patchwork 2018-11-29 13:33 ` ✓ Fi.CI.BAT: success " Patchwork ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: Patchwork @ 2018-11-29 13:11 UTC (permalink / raw) To: Chris Wilson; +Cc: intel-gfx == Series Details == Series: drm/i915: Signal the fences as they are cancelled due to wedging (rev2) URL : https://patchwork.freedesktop.org/series/53226/ State : warning == Summary == $ dim checkpatch origin/drm-tip 66bd2de23002 drm/i915: Signal the fences as they are cancelled due to wedging -:13: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line) #13: <1>[ 354.473346] BUG: unable to handle kernel NULL pointer dereference at 0000000000000250 total: 0 errors, 1 warnings, 0 checks, 147 lines checked _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
* ✓ Fi.CI.BAT: success for drm/i915: Signal the fences as they are cancelled due to wedging (rev2) 2018-11-29 9:33 [PATCH] drm/i915: Signal the fences as they are cancelled due to wedging Chris Wilson ` (3 preceding siblings ...) 2018-11-29 13:11 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Signal the fences as they are cancelled due to wedging (rev2) Patchwork @ 2018-11-29 13:33 ` Patchwork 2018-11-29 18:19 ` ✗ Fi.CI.IGT: failure for drm/i915: Signal the fences as they are cancelled due to wedging Patchwork 2018-11-29 23:44 ` ✗ Fi.CI.IGT: failure for drm/i915: Signal the fences as they are cancelled due to wedging (rev2) Patchwork 6 siblings, 0 replies; 8+ messages in thread From: Patchwork @ 2018-11-29 13:33 UTC (permalink / raw) To: Chris Wilson; +Cc: intel-gfx == Series Details == Series: drm/i915: Signal the fences as they are cancelled due to wedging (rev2) URL : https://patchwork.freedesktop.org/series/53226/ State : success == Summary == CI Bug Log - changes from CI_DRM_5221 -> Patchwork_10952 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://patchwork.freedesktop.org/api/1.0/series/53226/revisions/2/mbox/ Known issues ------------ Here are the changes found in Patchwork_10952 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ctx_create@basic-files: - fi-bsw-kefka: PASS -> FAIL [fdo#108656] * {igt@runner@aborted}: - fi-kbl-8809g: NOTRUN -> FAIL [fdo#108709] #### Possible fixes #### * igt@gem_mmap@basic-small-bo: - fi-glk-dsi: INCOMPLETE [fdo#103359] / [k.org#198133] -> PASS * igt@kms_frontbuffer_tracking@basic: - fi-byt-clapper: FAIL [fdo#103167] -> PASS #### Warnings #### * igt@i915_selftest@live_contexts: - {fi-icl-u3}: INCOMPLETE [fdo#108315] -> DMESG-FAIL [fdo#108569] {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#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359 [fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315 [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569 [fdo#108656]: https://bugs.freedesktop.org/show_bug.cgi?id=108656 [fdo#108709]: https://bugs.freedesktop.org/show_bug.cgi?id=108709 [k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133 Participating hosts (45 -> 43) ------------------------------ Additional (3): fi-gdg-551 fi-kbl-8809g fi-pnv-d510 Missing (5): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-bsw-cyan fi-ctg-p8600 Build changes ------------- * Linux: CI_DRM_5221 -> Patchwork_10952 CI_DRM_5221: 4c3e98f6787fab0ce3c5d20d25ebd538dfe234af @ git://anongit.freedesktop.org/gfx-ci/linux IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_10952: 66bd2de23002d0283562e73a1936107cc0792566 @ git://anongit.freedesktop.org/gfx-ci/linux == Linux commits == 66bd2de23002 drm/i915: Signal the fences as they are cancelled due to wedging == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_10952/ _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
* ✗ Fi.CI.IGT: failure for drm/i915: Signal the fences as they are cancelled due to wedging 2018-11-29 9:33 [PATCH] drm/i915: Signal the fences as they are cancelled due to wedging Chris Wilson ` (4 preceding siblings ...) 2018-11-29 13:33 ` ✓ Fi.CI.BAT: success " Patchwork @ 2018-11-29 18:19 ` Patchwork 2018-11-29 23:44 ` ✗ Fi.CI.IGT: failure for drm/i915: Signal the fences as they are cancelled due to wedging (rev2) Patchwork 6 siblings, 0 replies; 8+ messages in thread From: Patchwork @ 2018-11-29 18:19 UTC (permalink / raw) To: Chris Wilson; +Cc: intel-gfx == Series Details == Series: drm/i915: Signal the fences as they are cancelled due to wedging URL : https://patchwork.freedesktop.org/series/53226/ State : failure == Summary == CI Bug Log - changes from CI_DRM_5221_full -> Patchwork_10947_full ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with Patchwork_10947_full absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in Patchwork_10947_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_10947_full: ### IGT changes ### #### Possible regressions #### * igt@gem_eio@in-flight-internal-10ms: - shard-snb: PASS -> DMESG-WARN +2 - shard-kbl: PASS -> DMESG-WARN * igt@gem_eio@in-flight-internal-1us: - shard-skl: PASS -> DMESG-WARN +2 * igt@gem_eio@in-flight-internal-immediate: - shard-glk: PASS -> DMESG-WARN +1 - {shard-iclb}: PASS -> DMESG-WARN +2 - shard-apl: PASS -> DMESG-WARN +1 * {igt@runner@aborted}: - shard-glk: NOTRUN -> FAIL Known issues ------------ Here are the changes found in Patchwork_10947_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_ctx_isolation@bcs0-s3: - shard-skl: PASS -> INCOMPLETE [fdo#104108] / [fdo#107773] * igt@gem_eio@in-flight-internal-immediate: - shard-kbl: PASS -> INCOMPLETE [fdo#103665] +1 * igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy: - shard-snb: PASS -> INCOMPLETE [fdo#105411] * igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-b: - shard-skl: NOTRUN -> DMESG-WARN [fdo#107956] +3 * igt@kms_ccs@pipe-a-crc-sprite-planes-basic: - shard-glk: PASS -> FAIL [fdo#108145] * igt@kms_color@pipe-a-gamma: - shard-skl: PASS -> FAIL [fdo#104782] * igt@kms_color@pipe-a-legacy-gamma-reset: - shard-apl: PASS -> DMESG-WARN [fdo#103558] / [fdo#105602] +3 * igt@kms_color@pipe-b-degamma: - shard-apl: PASS -> FAIL [fdo#104782] * igt@kms_cursor_crc@cursor-128x128-sliding: - shard-apl: PASS -> FAIL [fdo#103232] * igt@kms_cursor_crc@cursor-128x128-suspend: - shard-apl: PASS -> FAIL [fdo#103191] / [fdo#103232] +1 * igt@kms_cursor_crc@cursor-256x256-onscreen: - shard-glk: PASS -> FAIL [fdo#103232] +2 * igt@kms_cursor_crc@cursor-64x21-sliding: - shard-glk: NOTRUN -> FAIL [fdo#103232] * igt@kms_fbcon_fbt@psr-suspend: - shard-skl: NOTRUN -> FAIL [fdo#107882] * igt@kms_flip@flip-vs-expired-vblank-interruptible: - shard-skl: NOTRUN -> FAIL [fdo#105363] * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff: - shard-glk: PASS -> FAIL [fdo#103167] * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-blt: - {shard-iclb}: PASS -> FAIL [fdo#103167] * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite: - shard-apl: PASS -> FAIL [fdo#103167] +1 * igt@kms_frontbuffer_tracking@fbc-1p-rte: - shard-apl: PASS -> FAIL [fdo#103167] / [fdo#105682] * igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary: - shard-skl: PASS -> FAIL [fdo#105682] +1 * igt@kms_frontbuffer_tracking@psr-indfb-scaledprimary: - shard-skl: PASS -> FAIL [fdo#103167] +2 * igt@kms_plane@plane-position-covered-pipe-b-planes: - shard-glk: PASS -> FAIL [fdo#103166] +1 * igt@kms_plane@plane-position-covered-pipe-c-planes: - {shard-iclb}: PASS -> FAIL [fdo#103166] * igt@kms_plane_alpha_blend@pipe-a-constant-alpha-max: - shard-skl: NOTRUN -> FAIL [fdo#108145] +2 * igt@kms_plane_multiple@atomic-pipe-a-tiling-y: - shard-apl: PASS -> FAIL [fdo#103166] * igt@kms_plane_scaling@pipe-a-scaler-with-pixel-format: - {shard-iclb}: PASS -> DMESG-WARN [fdo#107724] * igt@kms_properties@connector-properties-atomic: - shard-skl: NOTRUN -> FAIL [fdo#108642] * igt@kms_psr@no_drrs: - {shard-iclb}: PASS -> FAIL [fdo#108341] * igt@kms_setmode@basic: - shard-apl: PASS -> FAIL [fdo#99912] - shard-kbl: PASS -> FAIL [fdo#99912] * igt@perf@oa-exponents: - shard-glk: PASS -> FAIL [fdo#105483] * igt@pm_rpm@dpms-mode-unset-non-lpsp: - shard-skl: SKIP -> INCOMPLETE [fdo#107807] * igt@pm_rpm@system-suspend: - shard-skl: NOTRUN -> INCOMPLETE [fdo#104108] / [fdo#107807] * igt@pm_rpm@system-suspend-execbuf: - shard-skl: PASS -> INCOMPLETE [fdo#104108] / [fdo#107807] #### Possible fixes #### * igt@gem_ctx_isolation@vecs0-s3: - shard-kbl: INCOMPLETE [fdo#103665] -> PASS * igt@gem_softpin@noreloc-s3: - shard-skl: INCOMPLETE [fdo#104108] / [fdo#107773] -> PASS * igt@kms_busy@extended-modeset-hang-newfb-with-reset-render-a: - shard-skl: DMESG-WARN [fdo#107956] -> PASS * igt@kms_cursor_crc@cursor-128x128-suspend: - shard-skl: INCOMPLETE [fdo#104108] -> PASS +1 * igt@kms_cursor_crc@cursor-256x256-dpms: - shard-apl: FAIL [fdo#103232] -> PASS +1 * igt@kms_cursor_crc@cursor-256x85-sliding: - shard-glk: FAIL [fdo#103232] -> PASS * igt@kms_cursor_crc@cursor-64x21-random: - shard-apl: DMESG-FAIL [fdo#103232] / [fdo#103558] / [fdo#105602] -> PASS * igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-xtiled: - shard-skl: FAIL [fdo#107791] -> PASS * igt@kms_draw_crc@draw-method-xrgb8888-pwrite-untiled: - shard-skl: FAIL [fdo#108472] -> PASS * igt@kms_flip@2x-flip-vs-dpms: - shard-hsw: DMESG-WARN [fdo#102614] -> PASS * igt@kms_flip@flip-vs-expired-vblank: - shard-apl: FAIL [fdo#102887] / [fdo#105363] -> PASS * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render: - shard-apl: FAIL [fdo#103167] -> PASS +3 * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite: - {shard-iclb}: FAIL [fdo#103167] -> PASS +3 * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-onoff: - shard-glk: FAIL [fdo#103167] -> PASS +2 * igt@kms_pipe_crc_basic@hang-read-crc-pipe-c: - shard-apl: DMESG-WARN [fdo#103558] / [fdo#105602] -> PASS +23 * igt@kms_plane@plane-position-covered-pipe-a-planes: - shard-apl: FAIL [fdo#103166] -> PASS +2 * igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb: - shard-glk: FAIL [fdo#108145] -> PASS * igt@kms_plane_multiple@atomic-pipe-b-tiling-yf: - shard-apl: DMESG-FAIL [fdo#103166] / [fdo#103558] / [fdo#105602] -> PASS * igt@kms_plane_scaling@pipe-c-scaler-with-rotation: - {shard-iclb}: DMESG-WARN [fdo#107724] -> PASS +1 * igt@pm_rpm@modeset-stress-extra-wait: - shard-skl: INCOMPLETE [fdo#107807] -> PASS #### Warnings #### * igt@kms_color@pipe-c-ctm-max: - shard-apl: DMESG-WARN [fdo#103558] / [fdo#105602] -> FAIL [fdo#108147] * igt@kms_cursor_crc@cursor-256x85-sliding: - shard-apl: DMESG-FAIL [fdo#103232] / [fdo#103558] / [fdo#105602] -> FAIL [fdo#103232] * igt@kms_cursor_crc@cursor-64x64-suspend: - shard-glk: INCOMPLETE [fdo#103359] / [k.org#198133] -> FAIL [fdo#103232] {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614 [fdo#102887]: https://bugs.freedesktop.org/show_bug.cgi?id=102887 [fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166 [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167 [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191 [fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232 [fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359 [fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558 [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665 [fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108 [fdo#104782]: https://bugs.freedesktop.org/show_bug.cgi?id=104782 [fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363 [fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411 [fdo#105483]: https://bugs.freedesktop.org/show_bug.cgi?id=105483 [fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602 [fdo#105682]: https://bugs.freedesktop.org/show_bug.cgi?id=105682 [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724 [fdo#107773]: https://bugs.freedesktop.org/show_bug.cgi?id=107773 [fdo#107791]: https://bugs.freedesktop.org/show_bug.cgi?id=107791 [fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807 [fdo#107882]: https://bugs.freedesktop.org/show_bug.cgi?id=107882 [fdo#107956]: https://bugs.freedesktop.org/show_bug.cgi?id=107956 [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145 [fdo#108147]: https://bugs.freedesktop.org/show_bug.cgi?id=108147 [fdo#108341]: https://bugs.freedesktop.org/show_bug.cgi?id=108341 [fdo#108472]: https://bugs.freedesktop.org/show_bug.cgi?id=108472 [fdo#108642]: https://bugs.freedesktop.org/show_bug.cgi?id=108642 [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 (7 -> 7) ------------------------------ No changes in participating hosts Build changes ------------- * Linux: CI_DRM_5221 -> Patchwork_10947 CI_DRM_5221: 4c3e98f6787fab0ce3c5d20d25ebd538dfe234af @ git://anongit.freedesktop.org/gfx-ci/linux IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_10947: b2cb1720bfa25b31c3d22f294f6ba0ef1ca17de5 @ 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_10947/shards.html _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
* ✗ Fi.CI.IGT: failure for drm/i915: Signal the fences as they are cancelled due to wedging (rev2) 2018-11-29 9:33 [PATCH] drm/i915: Signal the fences as they are cancelled due to wedging Chris Wilson ` (5 preceding siblings ...) 2018-11-29 18:19 ` ✗ Fi.CI.IGT: failure for drm/i915: Signal the fences as they are cancelled due to wedging Patchwork @ 2018-11-29 23:44 ` Patchwork 6 siblings, 0 replies; 8+ messages in thread From: Patchwork @ 2018-11-29 23:44 UTC (permalink / raw) To: Chris Wilson; +Cc: intel-gfx == Series Details == Series: drm/i915: Signal the fences as they are cancelled due to wedging (rev2) URL : https://patchwork.freedesktop.org/series/53226/ State : failure == Summary == CI Bug Log - changes from CI_DRM_5221_full -> Patchwork_10952_full ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with Patchwork_10952_full absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in Patchwork_10952_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_10952_full: ### IGT changes ### #### Possible regressions #### * igt@gem_eio@in-flight-internal-10ms: - shard-snb: PASS -> DMESG-WARN +2 * igt@gem_eio@in-flight-internal-1us: - shard-skl: PASS -> DMESG-WARN +2 * igt@gem_eio@in-flight-internal-immediate: - shard-glk: PASS -> DMESG-WARN +2 - {shard-iclb}: PASS -> DMESG-WARN +2 - shard-kbl: PASS -> DMESG-WARN +2 - shard-apl: PASS -> DMESG-WARN +1 * {igt@runner@aborted}: - shard-glk: NOTRUN -> FAIL Known issues ------------ Here are the changes found in Patchwork_10952_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_busy@basic-flip-c: - shard-apl: PASS -> DMESG-WARN [fdo#103558] / [fdo#105602] +8 * igt@kms_busy@extended-pageflip-modeset-hang-oldfb-render-c: - shard-skl: NOTRUN -> DMESG-WARN [fdo#107956] +1 * igt@kms_chv_cursor_fail@pipe-b-128x128-top-edge: - {shard-iclb}: PASS -> DMESG-WARN [fdo#107724] / [fdo#108336] * igt@kms_cursor_crc@cursor-128x128-suspend: - shard-apl: PASS -> FAIL [fdo#103191] / [fdo#103232] +1 * igt@kms_cursor_crc@cursor-256x256-onscreen: - shard-glk: PASS -> FAIL [fdo#103232] +2 * igt@kms_cursor_crc@cursor-64x21-sliding: - shard-glk: NOTRUN -> FAIL [fdo#103232] * igt@kms_draw_crc@draw-method-xrgb8888-mmap-cpu-xtiled: - {shard-iclb}: PASS -> WARN [fdo#108336] * igt@kms_fbcon_fbt@psr: - shard-skl: NOTRUN -> FAIL [fdo#107882] * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff: - shard-glk: PASS -> FAIL [fdo#103167] * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt: - shard-apl: PASS -> FAIL [fdo#103167] +2 * igt@kms_frontbuffer_tracking@fbcpsr-stridechange: - shard-skl: NOTRUN -> FAIL [fdo#105683] * igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-blt: - {shard-iclb}: PASS -> FAIL [fdo#103167] +4 * igt@kms_frontbuffer_tracking@psr-indfb-scaledprimary: - shard-skl: PASS -> FAIL [fdo#103167] * igt@kms_plane@plane-position-covered-pipe-c-planes: - {shard-iclb}: PASS -> FAIL [fdo#103166] +1 * igt@kms_plane_alpha_blend@pipe-a-constant-alpha-max: - shard-skl: NOTRUN -> FAIL [fdo#108145] +1 * igt@kms_plane_scaling@pipe-c-scaler-with-pixel-format: - {shard-iclb}: PASS -> DMESG-WARN [fdo#107724] +2 * igt@kms_properties@connector-properties-atomic: - shard-skl: NOTRUN -> FAIL [fdo#108642] * igt@kms_setmode@basic: - shard-apl: PASS -> FAIL [fdo#99912] - shard-kbl: PASS -> FAIL [fdo#99912] * igt@pm_rpm@universal-planes: - shard-skl: PASS -> INCOMPLETE [fdo#107807] +2 * {igt@runner@aborted}: - {shard-iclb}: NOTRUN -> FAIL [fdo#108866 ] #### Possible fixes #### * igt@gem_softpin@noreloc-s3: - shard-skl: INCOMPLETE [fdo#104108] / [fdo#107773] -> PASS * igt@kms_chv_cursor_fail@pipe-a-128x128-bottom-edge: - {shard-iclb}: DMESG-WARN [fdo#107724] / [fdo#108336] -> PASS +2 * igt@kms_color@pipe-a-ctm-max: - shard-apl: FAIL [fdo#108147] -> PASS * igt@kms_cursor_crc@cursor-128x128-suspend: - shard-skl: INCOMPLETE [fdo#104108] -> PASS +1 * igt@kms_cursor_crc@cursor-256x256-dpms: - shard-apl: FAIL [fdo#103232] -> PASS * igt@kms_cursor_crc@cursor-64x21-random: - shard-apl: DMESG-FAIL [fdo#103232] / [fdo#103558] / [fdo#105602] -> PASS +1 * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions: - {shard-iclb}: DMESG-WARN [fdo#107724] -> PASS +5 * igt@kms_draw_crc@draw-method-xrgb8888-pwrite-untiled: - shard-skl: FAIL [fdo#108472] -> PASS * igt@kms_flip@2x-flip-vs-dpms: - shard-hsw: DMESG-WARN [fdo#102614] -> PASS * igt@kms_flip@flip-vs-expired-vblank: - shard-apl: FAIL [fdo#102887] / [fdo#105363] -> PASS * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-render: - shard-apl: FAIL [fdo#103167] -> PASS +3 * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite: - {shard-iclb}: FAIL [fdo#103167] -> PASS +3 * igt@kms_frontbuffer_tracking@fbc-2p-primscrn-spr-indfb-onoff: - shard-glk: FAIL [fdo#103167] -> PASS +2 * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt: - {shard-iclb}: DMESG-FAIL [fdo#107724] -> PASS * igt@kms_pipe_crc_basic@hang-read-crc-pipe-c: - shard-apl: DMESG-WARN [fdo#103558] / [fdo#105602] -> PASS +18 - shard-skl: FAIL [fdo#103191] / [fdo#107362] -> PASS * igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes: - {shard-iclb}: DMESG-FAIL [fdo#103166] / [fdo#107724] -> PASS * igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb: - shard-glk: FAIL [fdo#108145] -> PASS * igt@kms_plane_alpha_blend@pipe-c-coverage-7efc: - shard-skl: FAIL [fdo#107815] -> PASS * igt@kms_plane_multiple@atomic-pipe-a-tiling-y: - shard-glk: FAIL [fdo#103166] -> PASS +1 * igt@kms_plane_multiple@atomic-pipe-a-tiling-yf: - shard-apl: FAIL [fdo#103166] -> PASS +1 * igt@kms_plane_multiple@atomic-pipe-c-tiling-y: - {shard-iclb}: FAIL [fdo#103166] -> PASS * igt@pm_rpm@modeset-stress-extra-wait: - shard-skl: INCOMPLETE [fdo#107807] -> PASS +1 #### Warnings #### * igt@i915_selftest@live_contexts: - {shard-iclb}: DMESG-FAIL [fdo#108569] -> INCOMPLETE [fdo#108315] * igt@i915_suspend@shrink: - shard-skl: INCOMPLETE [fdo#106886] -> DMESG-WARN [fdo#108784] - shard-kbl: DMESG-WARN [fdo#108784] -> INCOMPLETE [fdo#103665] / [fdo#106886] * igt@kms_cursor_crc@cursor-64x64-suspend: - {shard-iclb}: FAIL [fdo#103232] -> DMESG-FAIL [fdo#103232] / [fdo#107724] - shard-glk: INCOMPLETE [fdo#103359] / [k.org#198133] -> FAIL [fdo#103232] * igt@kms_plane@plane-position-covered-pipe-a-planes: - shard-apl: FAIL [fdo#103166] -> DMESG-WARN [fdo#103558] / [fdo#105602] * igt@kms_plane_alpha_blend@pipe-c-constant-alpha-max: - shard-apl: FAIL [fdo#108145] -> DMESG-FAIL [fdo#103558] / [fdo#105602] / [fdo#108145] * igt@kms_plane_multiple@atomic-pipe-b-tiling-yf: - shard-apl: DMESG-FAIL [fdo#103166] / [fdo#103558] / [fdo#105602] -> DMESG-WARN [fdo#103558] / [fdo#105602] {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#102614]: https://bugs.freedesktop.org/show_bug.cgi?id=102614 [fdo#102887]: https://bugs.freedesktop.org/show_bug.cgi?id=102887 [fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166 [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167 [fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191 [fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232 [fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359 [fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558 [fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665 [fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108 [fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363 [fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602 [fdo#105683]: https://bugs.freedesktop.org/show_bug.cgi?id=105683 [fdo#106886]: https://bugs.freedesktop.org/show_bug.cgi?id=106886 [fdo#107362]: https://bugs.freedesktop.org/show_bug.cgi?id=107362 [fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724 [fdo#107773]: https://bugs.freedesktop.org/show_bug.cgi?id=107773 [fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807 [fdo#107815]: https://bugs.freedesktop.org/show_bug.cgi?id=107815 [fdo#107882]: https://bugs.freedesktop.org/show_bug.cgi?id=107882 [fdo#107956]: https://bugs.freedesktop.org/show_bug.cgi?id=107956 [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145 [fdo#108147]: https://bugs.freedesktop.org/show_bug.cgi?id=108147 [fdo#108315]: https://bugs.freedesktop.org/show_bug.cgi?id=108315 [fdo#108336]: https://bugs.freedesktop.org/show_bug.cgi?id=108336 [fdo#108472]: https://bugs.freedesktop.org/show_bug.cgi?id=108472 [fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569 [fdo#108642]: https://bugs.freedesktop.org/show_bug.cgi?id=108642 [fdo#108784]: https://bugs.freedesktop.org/show_bug.cgi?id=108784 [fdo#108866 ]: https://bugs.freedesktop.org/show_bug.cgi?id=108866 [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 (7 -> 7) ------------------------------ No changes in participating hosts Build changes ------------- * Linux: CI_DRM_5221 -> Patchwork_10952 CI_DRM_5221: 4c3e98f6787fab0ce3c5d20d25ebd538dfe234af @ git://anongit.freedesktop.org/gfx-ci/linux IGT_4735: b05c028ccdb6ac8e8d8499a041bb14dfe358ee26 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools Patchwork_10952: 66bd2de23002d0283562e73a1936107cc0792566 @ 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_10952/shards.html _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2018-11-29 23:44 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2018-11-29 9:33 [PATCH] drm/i915: Signal the fences as they are cancelled due to wedging Chris Wilson 2018-11-29 10:16 ` ✗ Fi.CI.CHECKPATCH: warning for " Patchwork 2018-11-29 10:32 ` ✓ Fi.CI.BAT: success " Patchwork 2018-11-29 12:50 ` [PATCH v2] " Chris Wilson 2018-11-29 13:11 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Signal the fences as they are cancelled due to wedging (rev2) Patchwork 2018-11-29 13:33 ` ✓ Fi.CI.BAT: success " Patchwork 2018-11-29 18:19 ` ✗ Fi.CI.IGT: failure for drm/i915: Signal the fences as they are cancelled due to wedging Patchwork 2018-11-29 23:44 ` ✗ Fi.CI.IGT: failure for drm/i915: Signal the fences as they are cancelled due to wedging (rev2) Patchwork
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox