[igt-dev] [Intel-gfx] [PATCH i-g-t] i915/gem_eio: Relax timeout for forced resets
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Wed Oct 2 15:33:09 UTC 2019
On 02/10/2019 12:19, Chris Wilson wrote:
> It appears we cannot consistently hit our self-imposed QoS target of 2s
> for performing the reset (my theory is that is some RCU scheduling
> quirk), so relax the assertion to a measly 10s.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105957
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
> tests/i915/gem_eio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/i915/gem_eio.c b/tests/i915/gem_eio.c
> index 7adb5467f..007b9fb70 100644
> --- a/tests/i915/gem_eio.c
> +++ b/tests/i915/gem_eio.c
> @@ -82,7 +82,7 @@ static void trigger_reset(int fd)
> igt_drop_caches_set(fd, DROP_ACTIVE);
>
> /* We expect forced reset and health check to be quick. */
> - igt_assert(igt_seconds_elapsed(&ts) < 2);
> + igt_assert_lte(igt_seconds_elapsed(&ts), 10);
> }
>
> static void manual_hang(int drm_fd)
>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
Regards,
Tvrtko
More information about the igt-dev
mailing list