Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> writes: > Make the wait for the evict kthread use an explicit timeout rather than > a handwaved jiffie value so it is consistent across all platforms. > > References: https://bugs.freedesktop.org/show_bug.cgi?id=108735 > Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> Reviewed-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxxxxxxxx> ...there is one left in intel_workarounds.c -Mika > --- > drivers/gpu/drm/i915/selftests/intel_hangcheck.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/i915/selftests/intel_hangcheck.c b/drivers/gpu/drm/i915/selftests/intel_hangcheck.c > index defe671130ab..1f76257641f2 100644 > --- a/drivers/gpu/drm/i915/selftests/intel_hangcheck.c > +++ b/drivers/gpu/drm/i915/selftests/intel_hangcheck.c > @@ -1171,7 +1171,7 @@ static int __igt_reset_evict_vma(struct drm_i915_private *i915, > struct igt_wedge_me w; > > /* The reset, even indirectly, should take less than 10ms. */ > - igt_wedge_on_timeout(&w, i915, HZ / 10 /* 100ms timeout*/) > + igt_wedge_on_timeout(&w, i915, msecs_to_jiffies(100)) > err = kthread_stop(tsk); > > put_task_struct(tsk); > -- > 2.19.1 > > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/intel-gfx _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx