* [PATCH] drm/i915: Stop dropping irq around resets
@ 2018-08-06 14:56 Chris Wilson
2018-08-06 15:31 ` ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Chris Wilson @ 2018-08-06 14:56 UTC (permalink / raw)
To: intel-gfx; +Cc: Mika Kuoppala
A long time ago, we were afraid of handling interrupts and signaling
waiters during a reset, worrying that the confusion in request handling
would interfere with our attempts to process the reset in an orderly
fashion. Since then, we have isolated our irq-driven request handling by
virtual of the engine->timeline.lock and control of kthreads where
required, eliminating the danger of concurrently processing interrupts.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
---
drivers/gpu/drm/i915/i915_drv.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c
index 64e0ea4bef67..e65ef733f991 100644
--- a/drivers/gpu/drm/i915/i915_drv.c
+++ b/drivers/gpu/drm/i915/i915_drv.c
@@ -1918,7 +1918,6 @@ void i915_reset(struct drm_i915_private *i915,
dev_notice(i915->drm.dev, "Resetting chip for %s\n", reason);
error->reset_count++;
- disable_irq(i915->drm.irq);
ret = i915_gem_reset_prepare(i915);
if (ret) {
dev_err(i915->drm.dev, "GPU recovery failed\n");
@@ -1980,8 +1979,6 @@ void i915_reset(struct drm_i915_private *i915,
finish:
i915_gem_reset_finish(i915);
- enable_irq(i915->drm.irq);
-
wakeup:
clear_bit(I915_RESET_HANDOFF, &error->flags);
wake_up_bit(&error->flags, I915_RESET_HANDOFF);
--
2.18.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 5+ messages in thread
* ✓ Fi.CI.BAT: success for drm/i915: Stop dropping irq around resets
2018-08-06 14:56 [PATCH] drm/i915: Stop dropping irq around resets Chris Wilson
@ 2018-08-06 15:31 ` Patchwork
2018-08-06 17:21 ` [PATCH] " Chris Wilson
2018-08-06 18:48 ` ✓ Fi.CI.IGT: success for " Patchwork
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2018-08-06 15:31 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: drm/i915: Stop dropping irq around resets
URL : https://patchwork.freedesktop.org/series/47769/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4621 -> Patchwork_9860 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/47769/revisions/1/mbox/
== Known issues ==
Here are the changes found in Patchwork_9860 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@drv_selftest@live_workarounds:
{fi-bsw-kefka}: PASS -> DMESG-FAIL (fdo#107292)
==== Possible fixes ====
igt@debugfs_test@read_all_entries:
fi-snb-2520m: INCOMPLETE (fdo#103713) -> PASS
igt@kms_chamelium@dp-crc-fast:
fi-kbl-7500u: FAIL (fdo#103841) -> PASS
igt@kms_frontbuffer_tracking@basic:
{fi-byt-clapper}: FAIL (fdo#103167) -> PASS
==== Warnings ====
{igt@kms_psr@primary_page_flip}:
fi-cnl-psr: DMESG-WARN (fdo#107372) -> DMESG-FAIL (fdo#107372)
{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#103713 https://bugs.freedesktop.org/show_bug.cgi?id=103713
fdo#103841 https://bugs.freedesktop.org/show_bug.cgi?id=103841
fdo#107292 https://bugs.freedesktop.org/show_bug.cgi?id=107292
fdo#107372 https://bugs.freedesktop.org/show_bug.cgi?id=107372
== Participating hosts (53 -> 48) ==
Missing (5): fi-ctg-p8600 fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-hsw-4200u
== Build changes ==
* Linux: CI_DRM_4621 -> Patchwork_9860
CI_DRM_4621: b35c6b4ccdc1e9b386d5679282123099cf83adf1 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4587: 5d78c73d871525ec9caecd88ad7d9abe36637314 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_9860: 6601dffcb423b29b157916dccb072a072c1b2e9d @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
6601dffcb423 drm/i915: Stop dropping irq around resets
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_9860/issues.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] drm/i915: Stop dropping irq around resets
2018-08-06 14:56 [PATCH] drm/i915: Stop dropping irq around resets Chris Wilson
2018-08-06 15:31 ` ✓ Fi.CI.BAT: success for " Patchwork
@ 2018-08-06 17:21 ` Chris Wilson
2018-08-06 19:44 ` Chris Wilson
2018-08-06 18:48 ` ✓ Fi.CI.IGT: success for " Patchwork
2 siblings, 1 reply; 5+ messages in thread
From: Chris Wilson @ 2018-08-06 17:21 UTC (permalink / raw)
To: intel-gfx; +Cc: Mika Kuoppala
Quoting Chris Wilson (2018-08-06 15:56:47)
> A long time ago, we were afraid of handling interrupts and signaling
> waiters during a reset, worrying that the confusion in request handling
> would interfere with our attempts to process the reset in an orderly
> fashion. Since then, we have isolated our irq-driven request handling by
> virtual of the engine->timeline.lock and control of kthreads where
> required, eliminating the danger of concurrently processing interrupts.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Mika claims his dog ate his r-b,
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* ✓ Fi.CI.IGT: success for drm/i915: Stop dropping irq around resets
2018-08-06 14:56 [PATCH] drm/i915: Stop dropping irq around resets Chris Wilson
2018-08-06 15:31 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-08-06 17:21 ` [PATCH] " Chris Wilson
@ 2018-08-06 18:48 ` Patchwork
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2018-08-06 18:48 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: drm/i915: Stop dropping irq around resets
URL : https://patchwork.freedesktop.org/series/47769/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4621_full -> Patchwork_9860_full =
== Summary - WARNING ==
Minor unknown changes coming with Patchwork_9860_full need to be verified
manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_9860_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_9860_full:
=== IGT changes ===
==== Warnings ====
igt@pm_rc6_residency@rc6-accuracy:
shard-kbl: SKIP -> PASS
== Known issues ==
Here are the changes found in Patchwork_9860_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_ppgtt@blt-vs-render-ctx0:
shard-kbl: PASS -> INCOMPLETE (fdo#106023, fdo#103665)
igt@kms_cursor_crc@cursor-128x128-suspend:
shard-glk: PASS -> FAIL (fdo#103375)
igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-pwrite:
shard-snb: NOTRUN -> INCOMPLETE (fdo#105411)
igt@kms_setmode@basic:
shard-hsw: PASS -> FAIL (fdo#99912)
igt@kms_vblank@pipe-a-ts-continuation-dpms-suspend:
shard-snb: PASS -> INCOMPLETE (fdo#105411)
igt@kms_vblank@pipe-b-query-busy-hang:
shard-kbl: PASS -> DMESG-WARN (fdo#106247)
==== Possible fixes ====
igt@drv_selftest@live_workarounds:
shard-kbl: DMESG-FAIL (fdo#107292) -> PASS
igt@kms_cursor_crc@cursor-128x128-suspend:
shard-kbl: INCOMPLETE (fdo#103665) -> PASS
igt@kms_flip@2x-flip-vs-expired-vblank:
shard-glk: FAIL (fdo#105363) -> PASS
igt@kms_setmode@basic:
shard-apl: FAIL (fdo#99912) -> PASS
shard-glk: FAIL (fdo#99912) -> PASS
igt@perf_pmu@busy-accuracy-50-bcs0:
shard-snb: INCOMPLETE (fdo#105411) -> SKIP
fdo#103375 https://bugs.freedesktop.org/show_bug.cgi?id=103375
fdo#103665 https://bugs.freedesktop.org/show_bug.cgi?id=103665
fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
fdo#105411 https://bugs.freedesktop.org/show_bug.cgi?id=105411
fdo#106023 https://bugs.freedesktop.org/show_bug.cgi?id=106023
fdo#106247 https://bugs.freedesktop.org/show_bug.cgi?id=106247
fdo#107292 https://bugs.freedesktop.org/show_bug.cgi?id=107292
fdo#99912 https://bugs.freedesktop.org/show_bug.cgi?id=99912
== Participating hosts (5 -> 5) ==
No changes in participating hosts
== Build changes ==
* Linux: CI_DRM_4621 -> Patchwork_9860
CI_DRM_4621: b35c6b4ccdc1e9b386d5679282123099cf83adf1 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4587: 5d78c73d871525ec9caecd88ad7d9abe36637314 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_9860: 6601dffcb423b29b157916dccb072a072c1b2e9d @ 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_9860/shards.html
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] drm/i915: Stop dropping irq around resets
2018-08-06 17:21 ` [PATCH] " Chris Wilson
@ 2018-08-06 19:44 ` Chris Wilson
0 siblings, 0 replies; 5+ messages in thread
From: Chris Wilson @ 2018-08-06 19:44 UTC (permalink / raw)
To: intel-gfx; +Cc: Mika Kuoppala
Quoting Chris Wilson (2018-08-06 18:21:45)
> Quoting Chris Wilson (2018-08-06 15:56:47)
> > A long time ago, we were afraid of handling interrupts and signaling
> > waiters during a reset, worrying that the confusion in request handling
> > would interfere with our attempts to process the reset in an orderly
> > fashion. Since then, we have isolated our irq-driven request handling by
> > virtual of the engine->timeline.lock and control of kthreads where
> > required, eliminating the danger of concurrently processing interrupts.
> >
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: Mika Kuoppala <mika.kuoppala@intel.com>
>
> Mika claims his dog ate his r-b,
> Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Thanks for the review, pushed. One step towards a straightforward reset
;)
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-08-06 19:44 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-06 14:56 [PATCH] drm/i915: Stop dropping irq around resets Chris Wilson
2018-08-06 15:31 ` ✓ Fi.CI.BAT: success for " Patchwork
2018-08-06 17:21 ` [PATCH] " Chris Wilson
2018-08-06 19:44 ` Chris Wilson
2018-08-06 18:48 ` ✓ Fi.CI.IGT: success for " 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.