diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-19 12:21:57 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-02-19 14:41:32 +0000 |
commit | 8f54b3c6c921275d10e33746553c40294ffa0d58 (patch) | |
tree | 60a23534ebce821cb1101964f959499f4f18bab0 /drivers | |
parent | 370d757da92f051e954e7743152e8e6c90046354 (diff) | |
download | kernel_replicant_linux-8f54b3c6c921275d10e33746553c40294ffa0d58.tar.gz kernel_replicant_linux-8f54b3c6c921275d10e33746553c40294ffa0d58.tar.bz2 kernel_replicant_linux-8f54b3c6c921275d10e33746553c40294ffa0d58.zip |
drm/i915: Trim delays for wedging
CI still reports the occasional multi-second delay for resets, in
particular along the wedge+recovery paths. As the likely, and unbounded,
delay here is from sync_rcu, use the expedited variant instead.
Testcase: igt/gem_eio/unwedge-stress
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190219122215.8941-7-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_reset.c b/drivers/gpu/drm/i915/i915_reset.c index 4df4c674223d..034b654be74c 100644 --- a/drivers/gpu/drm/i915/i915_reset.c +++ b/drivers/gpu/drm/i915/i915_reset.c @@ -830,7 +830,7 @@ static void __i915_gem_set_wedged(struct drm_i915_private *i915) * either this call here to intel_engine_write_global_seqno, or the one * in nop_submit_request. */ - synchronize_rcu(); + synchronize_rcu_expedited(); /* Mark all executing requests as skipped */ for_each_engine(engine, i915, id) |