* [PATCH] drm/i915: Set up mocs tables before restarting the engines
@ 2017-11-02 13:14 Chris Wilson
2017-11-02 14:28 ` ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Chris Wilson @ 2017-11-02 13:14 UTC (permalink / raw)
To: intel-gfx
After a reset, we may immediately begin executing requests on restarting
the engines. Ergo this has to be last step with all re-initialisation
completed beforehand. The mocs setup was after we started executing the
requests; do it earlier!
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
drivers/gpu/drm/i915/i915_gem.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c
index 56df32fe5c5d..44f65c8bd254 100644
--- a/drivers/gpu/drm/i915/i915_gem.c
+++ b/drivers/gpu/drm/i915/i915_gem.c
@@ -4936,13 +4936,10 @@ int i915_gem_init_hw(struct drm_i915_private *dev_priv)
if (ret)
goto out;
- /* Need to do basic initialisation of all rings first: */
- ret = __i915_gem_restart_engines(dev_priv);
- if (ret)
- goto out;
-
intel_mocs_init_l3cc_table(dev_priv);
+ /* Only when the HW is re-initialised, can we replay the requests */
+ ret = __i915_gem_restart_engines(dev_priv);
out:
intel_uncore_forcewake_put(dev_priv, FORCEWAKE_ALL);
return ret;
--
2.15.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: Set up mocs tables before restarting the engines
2017-11-02 13:14 [PATCH] drm/i915: Set up mocs tables before restarting the engines Chris Wilson
@ 2017-11-02 14:28 ` Patchwork
2017-11-02 15:45 ` ✗ Fi.CI.IGT: warning " Patchwork
2017-11-03 7:05 ` [PATCH] " Arkadiusz Hiler
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2017-11-02 14:28 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: drm/i915: Set up mocs tables before restarting the engines
URL : https://patchwork.freedesktop.org/series/33051/
State : success
== Summary ==
Series 33051v1 drm/i915: Set up mocs tables before restarting the engines
https://patchwork.freedesktop.org/api/1.0/series/33051/revisions/1/mbox/
Test kms_cursor_legacy:
Subgroup basic-flip-before-cursor-varying-size:
skip -> PASS (fi-hsw-4770r)
Test kms_pipe_crc_basic:
Subgroup nonblocking-crc-pipe-a-frame-sequence:
dmesg-warn -> PASS (fi-skl-6700k) fdo#103546 +1
Subgroup nonblocking-crc-pipe-b:
pass -> INCOMPLETE (fi-cnl-y) fdo#102035
fdo#103546 https://bugs.freedesktop.org/show_bug.cgi?id=103546
fdo#102035 https://bugs.freedesktop.org/show_bug.cgi?id=102035
fi-bdw-5557u total:289 pass:268 dwarn:0 dfail:0 fail:0 skip:21 time:446s
fi-bdw-gvtdvm total:289 pass:265 dwarn:0 dfail:0 fail:0 skip:24 time:448s
fi-blb-e6850 total:289 pass:223 dwarn:1 dfail:0 fail:0 skip:65 time:380s
fi-bsw-n3050 total:289 pass:243 dwarn:0 dfail:0 fail:0 skip:46 time:539s
fi-bwr-2160 total:289 pass:183 dwarn:0 dfail:0 fail:0 skip:106 time:275s
fi-bxt-dsi total:289 pass:259 dwarn:0 dfail:0 fail:0 skip:30 time:513s
fi-bxt-j4205 total:289 pass:260 dwarn:0 dfail:0 fail:0 skip:29 time:502s
fi-byt-j1900 total:289 pass:253 dwarn:1 dfail:0 fail:0 skip:35 time:509s
fi-byt-n2820 total:289 pass:249 dwarn:1 dfail:0 fail:0 skip:39 time:496s
fi-cnl-y total:289 pass:210 dwarn:0 dfail:0 fail:0 skip:24
fi-elk-e7500 total:289 pass:229 dwarn:0 dfail:0 fail:0 skip:60 time:430s
fi-gdg-551 total:289 pass:178 dwarn:1 dfail:0 fail:1 skip:109 time:262s
fi-glk-1 total:289 pass:261 dwarn:0 dfail:0 fail:0 skip:28 time:585s
fi-glk-dsi total:289 pass:258 dwarn:0 dfail:0 fail:1 skip:30 time:492s
fi-hsw-4770 total:289 pass:262 dwarn:0 dfail:0 fail:0 skip:27 time:433s
fi-hsw-4770r total:289 pass:262 dwarn:0 dfail:0 fail:0 skip:27 time:426s
fi-ilk-650 total:289 pass:228 dwarn:0 dfail:0 fail:0 skip:61 time:434s
fi-ivb-3520m total:289 pass:260 dwarn:0 dfail:0 fail:0 skip:29 time:500s
fi-ivb-3770 total:289 pass:260 dwarn:0 dfail:0 fail:0 skip:29 time:465s
fi-kbl-7500u total:289 pass:263 dwarn:1 dfail:0 fail:1 skip:24 time:484s
fi-kbl-7560u total:289 pass:270 dwarn:0 dfail:0 fail:0 skip:19 time:578s
fi-kbl-7567u total:289 pass:269 dwarn:0 dfail:0 fail:0 skip:20 time:485s
fi-kbl-r total:289 pass:262 dwarn:0 dfail:0 fail:0 skip:27 time:595s
fi-pnv-d510 total:289 pass:222 dwarn:1 dfail:0 fail:0 skip:66 time:569s
fi-skl-6260u total:289 pass:269 dwarn:0 dfail:0 fail:0 skip:20 time:456s
fi-skl-6600u total:289 pass:262 dwarn:0 dfail:0 fail:0 skip:27 time:593s
fi-skl-6700hq total:289 pass:263 dwarn:0 dfail:0 fail:0 skip:26 time:648s
fi-skl-6700k total:289 pass:265 dwarn:0 dfail:0 fail:0 skip:24 time:522s
fi-skl-6770hq total:289 pass:269 dwarn:0 dfail:0 fail:0 skip:20 time:503s
fi-skl-gvtdvm total:289 pass:266 dwarn:0 dfail:0 fail:0 skip:23 time:461s
fi-snb-2520m total:289 pass:250 dwarn:0 dfail:0 fail:0 skip:39 time:573s
fi-snb-2600 total:289 pass:249 dwarn:0 dfail:0 fail:0 skip:40 time:425s
fca2506bc5d492609e3f1b6e59d667e376a1eb3f drm-tip: 2017y-11m-02d-13h-10m-58s UTC integration manifest
2a7d3ee65ca8 drm/i915: Set up mocs tables before restarting the engines
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_6928/
_______________________________________________
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: warning for drm/i915: Set up mocs tables before restarting the engines
2017-11-02 13:14 [PATCH] drm/i915: Set up mocs tables before restarting the engines Chris Wilson
2017-11-02 14:28 ` ✓ Fi.CI.BAT: success for " Patchwork
@ 2017-11-02 15:45 ` Patchwork
2017-11-03 7:05 ` [PATCH] " Arkadiusz Hiler
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2017-11-02 15:45 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: drm/i915: Set up mocs tables before restarting the engines
URL : https://patchwork.freedesktop.org/series/33051/
State : warning
== Summary ==
Test kms_busy:
Subgroup extended-modeset-hang-newfb-with-reset-render-B:
pass -> DMESG-WARN (shard-hsw)
Subgroup extended-modeset-hang-oldfb-with-reset-render-A:
dmesg-warn -> PASS (shard-hsw)
shard-hsw total:2539 pass:1432 dwarn:2 dfail:0 fail:8 skip:1097 time:9295s
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_6928/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: Set up mocs tables before restarting the engines
2017-11-02 13:14 [PATCH] drm/i915: Set up mocs tables before restarting the engines Chris Wilson
2017-11-02 14:28 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-11-02 15:45 ` ✗ Fi.CI.IGT: warning " Patchwork
@ 2017-11-03 7:05 ` Arkadiusz Hiler
2017-11-03 10:08 ` Chris Wilson
2 siblings, 1 reply; 5+ messages in thread
From: Arkadiusz Hiler @ 2017-11-03 7:05 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
On Thu, Nov 02, 2017 at 01:14:30PM +0000, Chris Wilson wrote:
> After a reset, we may immediately begin executing requests on restarting
> the engines. Ergo this has to be last step with all re-initialisation
> completed beforehand. The mocs setup was after we started executing the
> requests; do it earlier!
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
_______________________________________________
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: Set up mocs tables before restarting the engines
2017-11-03 7:05 ` [PATCH] " Arkadiusz Hiler
@ 2017-11-03 10:08 ` Chris Wilson
0 siblings, 0 replies; 5+ messages in thread
From: Chris Wilson @ 2017-11-03 10:08 UTC (permalink / raw)
To: Arkadiusz Hiler; +Cc: intel-gfx
Quoting Arkadiusz Hiler (2017-11-03 07:05:57)
> On Thu, Nov 02, 2017 at 01:14:30PM +0000, Chris Wilson wrote:
> > After a reset, we may immediately begin executing requests on restarting
> > the engines. Ergo this has to be last step with all re-initialisation
> > completed beforehand. The mocs setup was after we started executing the
> > requests; do it earlier!
> >
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Ta! Fortunately I think fallout from this would be rare enough for us to
never notice.
-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:[~2017-11-03 10:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-02 13:14 [PATCH] drm/i915: Set up mocs tables before restarting the engines Chris Wilson
2017-11-02 14:28 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-11-02 15:45 ` ✗ Fi.CI.IGT: warning " Patchwork
2017-11-03 7:05 ` [PATCH] " Arkadiusz Hiler
2017-11-03 10:08 ` Chris Wilson
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.