* [PATCH] drm/i915: Assert the engine has finished the seqno on unsubmission
@ 2018-01-29 9:49 Chris Wilson
2018-01-29 9:51 ` Chris Wilson
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Chris Wilson @ 2018-01-29 9:49 UTC (permalink / raw)
To: intel-gfx
Assert that we do not try to unsubmit a completed request, as should we
try to resubmit it later, the ring is already past the request's
breadcrumb and the breadcrumb will not be updated.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
drivers/gpu/drm/i915/i915_gem_request.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_gem_request.c b/drivers/gpu/drm/i915/i915_gem_request.c
index 9b02310307fc..7192521e3d10 100644
--- a/drivers/gpu/drm/i915/i915_gem_request.c
+++ b/drivers/gpu/drm/i915/i915_gem_request.c
@@ -652,6 +652,8 @@ void __i915_gem_request_unsubmit(struct drm_i915_gem_request *request)
*/
GEM_BUG_ON(!request->global_seqno);
GEM_BUG_ON(request->global_seqno != engine->timeline->seqno);
+ GEM_BUG_ON(i915_seqno_passed(intel_engine_get_seqno(engine),
+ request->global_seqno));
engine->timeline->seqno--;
/* We may be recursing from the signal callback of another i915 fence */
--
2.15.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/i915: Assert the engine has finished the seqno on unsubmission
2018-01-29 9:49 [PATCH] drm/i915: Assert the engine has finished the seqno on unsubmission Chris Wilson
@ 2018-01-29 9:51 ` Chris Wilson
2018-01-29 11:10 ` Michał Winiarski
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Chris Wilson @ 2018-01-29 9:51 UTC (permalink / raw)
To: intel-gfx
s/has/has not/
Quoting Chris Wilson (2018-01-29 09:49:12)
> Assert that we do not try to unsubmit a completed request, as should we
> try to resubmit it later, the ring is already past the request's
> breadcrumb and the breadcrumb will not be updated.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> ---
> drivers/gpu/drm/i915/i915_gem_request.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_gem_request.c b/drivers/gpu/drm/i915/i915_gem_request.c
> index 9b02310307fc..7192521e3d10 100644
> --- a/drivers/gpu/drm/i915/i915_gem_request.c
> +++ b/drivers/gpu/drm/i915/i915_gem_request.c
> @@ -652,6 +652,8 @@ void __i915_gem_request_unsubmit(struct drm_i915_gem_request *request)
> */
> GEM_BUG_ON(!request->global_seqno);
> GEM_BUG_ON(request->global_seqno != engine->timeline->seqno);
> + GEM_BUG_ON(i915_seqno_passed(intel_engine_get_seqno(engine),
> + request->global_seqno));
> engine->timeline->seqno--;
>
> /* We may be recursing from the signal callback of another i915 fence */
> --
> 2.15.1
>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/i915: Assert the engine has finished the seqno on unsubmission
2018-01-29 9:49 [PATCH] drm/i915: Assert the engine has finished the seqno on unsubmission Chris Wilson
2018-01-29 9:51 ` Chris Wilson
@ 2018-01-29 11:10 ` Michał Winiarski
2018-01-29 20:52 ` Chris Wilson
2018-01-29 11:30 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-01-29 16:25 ` ✗ Fi.CI.IGT: failure " Patchwork
3 siblings, 1 reply; 6+ messages in thread
From: Michał Winiarski @ 2018-01-29 11:10 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
On Mon, Jan 29, 2018 at 09:49:12AM +0000, Chris Wilson wrote:
> Assert that we do not try to unsubmit a completed request, as should we
> try to resubmit it later, the ring is already past the request's
> breadcrumb and the breadcrumb will not be updated.
"Assert that we do not try to unsubmit a completed request" in the subject?
(what does it mean to "finish the seqno"?)
Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
-Michał
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> ---
> drivers/gpu/drm/i915/i915_gem_request.c | 2 ++
> 1 file changed, 2 insertions(+)
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
* ✓ Fi.CI.BAT: success for drm/i915: Assert the engine has finished the seqno on unsubmission
2018-01-29 9:49 [PATCH] drm/i915: Assert the engine has finished the seqno on unsubmission Chris Wilson
2018-01-29 9:51 ` Chris Wilson
2018-01-29 11:10 ` Michał Winiarski
@ 2018-01-29 11:30 ` Patchwork
2018-01-29 16:25 ` ✗ Fi.CI.IGT: failure " Patchwork
3 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2018-01-29 11:30 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: drm/i915: Assert the engine has finished the seqno on unsubmission
URL : https://patchwork.freedesktop.org/series/37263/
State : success
== Summary ==
Series 37263v1 drm/i915: Assert the engine has finished the seqno on unsubmission
https://patchwork.freedesktop.org/api/1.0/series/37263/revisions/1/mbox/
Test debugfs_test:
Subgroup read_all_entries:
dmesg-fail -> DMESG-WARN (fi-elk-e7500) fdo#103989
fdo#103989 https://bugs.freedesktop.org/show_bug.cgi?id=103989
fi-bdw-5557u total:288 pass:267 dwarn:0 dfail:0 fail:0 skip:21 time:421s
fi-bdw-gvtdvm total:288 pass:264 dwarn:0 dfail:0 fail:0 skip:24 time:424s
fi-blb-e6850 total:288 pass:223 dwarn:1 dfail:0 fail:0 skip:64 time:373s
fi-bsw-n3050 total:288 pass:242 dwarn:0 dfail:0 fail:0 skip:46 time:487s
fi-bwr-2160 total:288 pass:183 dwarn:0 dfail:0 fail:0 skip:105 time:280s
fi-bxt-dsi total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:30 time:486s
fi-bxt-j4205 total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:491s
fi-byt-j1900 total:288 pass:253 dwarn:0 dfail:0 fail:0 skip:35 time:475s
fi-byt-n2820 total:288 pass:249 dwarn:0 dfail:0 fail:0 skip:39 time:453s
fi-cfl-s2 total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:571s
fi-elk-e7500 total:224 pass:168 dwarn:10 dfail:0 fail:0 skip:45
fi-gdg-551 total:288 pass:179 dwarn:0 dfail:0 fail:1 skip:108 time:278s
fi-glk-1 total:288 pass:260 dwarn:0 dfail:0 fail:0 skip:28 time:512s
fi-hsw-4770 total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:392s
fi-hsw-4770r total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:402s
fi-ilk-650 total:288 pass:228 dwarn:0 dfail:0 fail:0 skip:60 time:410s
fi-ivb-3520m total:288 pass:259 dwarn:0 dfail:0 fail:0 skip:29 time:459s
fi-ivb-3770 total:288 pass:255 dwarn:0 dfail:0 fail:0 skip:33 time:417s
fi-kbl-7500u total:288 pass:263 dwarn:1 dfail:0 fail:0 skip:24 time:466s
fi-kbl-7560u total:288 pass:269 dwarn:0 dfail:0 fail:0 skip:19 time:499s
fi-kbl-7567u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:455s
fi-kbl-r total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:500s
fi-pnv-d510 total:288 pass:222 dwarn:1 dfail:0 fail:0 skip:65 time:591s
fi-skl-6260u total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:433s
fi-skl-6600u total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:507s
fi-skl-6700hq total:288 pass:262 dwarn:0 dfail:0 fail:0 skip:26 time:526s
fi-skl-6700k2 total:288 pass:264 dwarn:0 dfail:0 fail:0 skip:24 time:491s
fi-skl-6770hq total:288 pass:268 dwarn:0 dfail:0 fail:0 skip:20 time:483s
fi-skl-guc total:288 pass:260 dwarn:0 dfail:0 fail:0 skip:28 time:416s
fi-skl-gvtdvm total:288 pass:265 dwarn:0 dfail:0 fail:0 skip:23 time:430s
fi-snb-2520m total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:530s
fi-snb-2600 total:288 pass:248 dwarn:0 dfail:0 fail:0 skip:40 time:395s
Blacklisted hosts:
fi-cnl-y2 total:288 pass:261 dwarn:0 dfail:0 fail:0 skip:27 time:533s
fi-glk-dsi total:288 pass:258 dwarn:0 dfail:0 fail:0 skip:30 time:468s
2bbded26cfa2309e876e69069c85acae21b09920 drm-tip: 2018y-01m-29d-10h-43m-15s UTC integration manifest
f691c54c84a5 drm/i915: Assert the engine has finished the seqno on unsubmission
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_7805/issues.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
* ✗ Fi.CI.IGT: failure for drm/i915: Assert the engine has finished the seqno on unsubmission
2018-01-29 9:49 [PATCH] drm/i915: Assert the engine has finished the seqno on unsubmission Chris Wilson
` (2 preceding siblings ...)
2018-01-29 11:30 ` ✓ Fi.CI.BAT: success for " Patchwork
@ 2018-01-29 16:25 ` Patchwork
3 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2018-01-29 16:25 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: drm/i915: Assert the engine has finished the seqno on unsubmission
URL : https://patchwork.freedesktop.org/series/37263/
State : failure
== Summary ==
Test syncobj_wait:
Subgroup wait-any-snapshot:
fail -> PASS (shard-apl)
Test perf_pmu:
Subgroup frequency:
fail -> PASS (shard-apl) fdo#104829
Test perf:
Subgroup oa-exponents:
pass -> FAIL (shard-apl) fdo#102254
Subgroup enable-disable:
pass -> FAIL (shard-apl) fdo#103715
Test kms_sysfs_edid_timing:
pass -> WARN (shard-apl) fdo#100047
Test kms_pipe_crc_basic:
Subgroup suspend-read-crc-pipe-c:
pass -> SKIP (shard-hsw) fdo#103375
Test kms_plane_lowres:
Subgroup pipe-a-tiling-yf:
pass -> FAIL (shard-apl)
Test kms_frontbuffer_tracking:
Subgroup fbc-1p-primscrn-pri-shrfb-draw-blt:
dmesg-fail -> PASS (shard-apl) fdo#101623 +2
Test gem_eio:
Subgroup in-flight:
dmesg-warn -> PASS (shard-snb) fdo#104058
Test kms_plane:
Subgroup plane-panning-bottom-right-suspend-pipe-a-planes:
skip -> PASS (shard-snb) fdo#102365
Test kms_flip:
Subgroup 2x-plain-flip-fb-recreate:
pass -> FAIL (shard-hsw) fdo#100368
Subgroup 2x-dpms-vs-vblank-race:
pass -> FAIL (shard-hsw)
fdo#104829 https://bugs.freedesktop.org/show_bug.cgi?id=104829
fdo#102254 https://bugs.freedesktop.org/show_bug.cgi?id=102254
fdo#103715 https://bugs.freedesktop.org/show_bug.cgi?id=103715
fdo#100047 https://bugs.freedesktop.org/show_bug.cgi?id=100047
fdo#103375 https://bugs.freedesktop.org/show_bug.cgi?id=103375
fdo#101623 https://bugs.freedesktop.org/show_bug.cgi?id=101623
fdo#104058 https://bugs.freedesktop.org/show_bug.cgi?id=104058
fdo#102365 https://bugs.freedesktop.org/show_bug.cgi?id=102365
fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
shard-apl total:2838 pass:1749 dwarn:1 dfail:0 fail:23 skip:1064 time:12699s
shard-hsw total:2838 pass:1733 dwarn:1 dfail:0 fail:12 skip:1091 time:11982s
shard-snb total:2838 pass:1330 dwarn:1 dfail:0 fail:10 skip:1497 time:6668s
Blacklisted hosts:
shard-kbl total:2820 pass:1858 dwarn:1 dfail:0 fail:21 skip:939 time:9395s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_7805/shards.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/i915: Assert the engine has finished the seqno on unsubmission
2018-01-29 11:10 ` Michał Winiarski
@ 2018-01-29 20:52 ` Chris Wilson
0 siblings, 0 replies; 6+ messages in thread
From: Chris Wilson @ 2018-01-29 20:52 UTC (permalink / raw)
To: Michał Winiarski; +Cc: intel-gfx
Quoting Michał Winiarski (2018-01-29 11:10:42)
> On Mon, Jan 29, 2018 at 09:49:12AM +0000, Chris Wilson wrote:
> > Assert that we do not try to unsubmit a completed request, as should we
> > try to resubmit it later, the ring is already past the request's
> > breadcrumb and the breadcrumb will not be updated.
>
> "Assert that we do not try to unsubmit a completed request" in the subject?
> (what does it mean to "finish the seqno"?)
>
> Reviewed-by: Michał Winiarski <michal.winiarski@intel.com>
Fixed up the subject as suggested, and pushed. Thanks,
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2018-01-29 20:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-29 9:49 [PATCH] drm/i915: Assert the engine has finished the seqno on unsubmission Chris Wilson
2018-01-29 9:51 ` Chris Wilson
2018-01-29 11:10 ` Michał Winiarski
2018-01-29 20:52 ` Chris Wilson
2018-01-29 11:30 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-01-29 16:25 ` ✗ 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.