diff mbox series

drm/i915/selftests: Increase timeout for live_parallel_switch

Message ID 20220622141104.334432-1-matthew.auld@intel.com (mailing list archive)
State New, archived
Headers show
Series drm/i915/selftests: Increase timeout for live_parallel_switch | expand

Commit Message

Matthew Auld June 22, 2022, 2:11 p.m. UTC
From: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>

With GuC submission, it takes a little bit longer switching contexts
among all available engines simultaneously, when running
live_parallel_switch subtest. Increase the timeout.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/5885
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
---
 drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Matthew Auld June 22, 2022, 2:13 p.m. UTC | #1
On Wed, 22 Jun 2022 at 15:11, Matthew Auld <matthew.auld@intel.com> wrote:
>
> From: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
>
> With GuC submission, it takes a little bit longer switching contexts
> among all available engines simultaneously, when running
> live_parallel_switch subtest. Increase the timeout.
>
> Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/5885
> Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
> Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>

> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
> ---
>  drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
> index 93a67422ca3b..c6ad67b90e8a 100644
> --- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
> +++ b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
> @@ -212,7 +212,7 @@ static int __live_parallel_switch1(void *data)
>
>                         i915_request_add(rq);
>                 }
> -               if (i915_request_wait(rq, 0, HZ / 5) < 0)
> +               if (i915_request_wait(rq, 0, HZ) < 0)
>                         err = -ETIME;
>                 i915_request_put(rq);
>                 if (err)
> --
> 2.36.1
>
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
index 93a67422ca3b..c6ad67b90e8a 100644
--- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
+++ b/drivers/gpu/drm/i915/gem/selftests/i915_gem_context.c
@@ -212,7 +212,7 @@  static int __live_parallel_switch1(void *data)
 
 			i915_request_add(rq);
 		}
-		if (i915_request_wait(rq, 0, HZ / 5) < 0)
+		if (i915_request_wait(rq, 0, HZ) < 0)
 			err = -ETIME;
 		i915_request_put(rq);
 		if (err)