* [PATCH igt] igt/gem_eio: Increase wakeup delay for in-flight-suspend
@ 2017-12-01 10:36 Chris Wilson
2017-12-01 12:01 ` ✗ Fi.CI.BAT: failure for igt/gem_eio: Increase wakeup delay for in-flight-suspend (rev2) Patchwork
0 siblings, 1 reply; 4+ messages in thread
From: Chris Wilson @ 2017-12-01 10:36 UTC (permalink / raw)
To: intel-gfx
For in-flight-suspend, we need to wait for the GPU hang within
i915_gem_suspend(). This will take 10-20s, which means that the standard
wakeup delay of around 15s may occur before we complete the suspend.
This causes a pm_system_wakeup(), causing dpm_suspend() to return
-EBUSY.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
---
tests/gem_eio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/gem_eio.c b/tests/gem_eio.c
index 7a6be393..2ac9f0a9 100644
--- a/tests/gem_eio.c
+++ b/tests/gem_eio.c
@@ -258,8 +258,8 @@ static void test_inflight_suspend(int fd)
igt_assert(fence[n] != -1);
}
- igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
- SUSPEND_TEST_NONE);
+ igt_set_autoresume_delay(30);
+ igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);
igt_post_hang_ring(fd, hang);
--
2.15.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 4+ messages in thread
* ✗ Fi.CI.BAT: failure for igt/gem_eio: Increase wakeup delay for in-flight-suspend (rev2)
2017-12-01 10:36 [PATCH igt] igt/gem_eio: Increase wakeup delay for in-flight-suspend Chris Wilson
@ 2017-12-01 12:01 ` Patchwork
0 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2017-12-01 12:01 UTC (permalink / raw)
To: Chris Wilson; +Cc: intel-gfx
== Series Details ==
Series: igt/gem_eio: Increase wakeup delay for in-flight-suspend (rev2)
URL : https://patchwork.freedesktop.org/series/34691/
State : failure
== Summary ==
Series 34691 revision 2 was fully merged or fully failed: no git log
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH igt] igt/gem_eio: Increase wakeup delay for in-flight-suspend
2017-11-30 15:05 [PATCH igt] igt/gem_eio: Increase wakeup delay for in-flight-suspend Chris Wilson
@ 2017-12-01 10:32 ` Mika Kuoppala
0 siblings, 0 replies; 4+ messages in thread
From: Mika Kuoppala @ 2017-12-01 10:32 UTC (permalink / raw)
To: Chris Wilson, intel-gfx
Chris Wilson <chris@chris-wilson.co.uk> writes:
> For in-flight-suspend, we need to wait for the GPU hang within
> i915_gem_suspend(). This will take 10-20s, which means that the standard
> wakeup delay of around 15s may occur before we complete the suspend.
> This causes a pm_system_wakeup(), causing dpm_suspend() to return
> -EBUSY.
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
> ---
> tests/gem_eio.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/gem_eio.c b/tests/gem_eio.c
> index 7a6be393..2ac9f0a9 100644
> --- a/tests/gem_eio.c
> +++ b/tests/gem_eio.c
> @@ -258,8 +258,8 @@ static void test_inflight_suspend(int fd)
> igt_assert(fence[n] != -1);
> }
>
> - igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
> - SUSPEND_TEST_NONE);
> + igt_set_autoresume_delay(30);
> + igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);
>
> igt_post_hang_ring(fd, hang);
post_hang_cleanup(?) ...
-Mika
>
> --
> 2.15.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH igt] igt/gem_eio: Increase wakeup delay for in-flight-suspend
@ 2017-11-30 15:05 Chris Wilson
2017-12-01 10:32 ` Mika Kuoppala
0 siblings, 1 reply; 4+ messages in thread
From: Chris Wilson @ 2017-11-30 15:05 UTC (permalink / raw)
To: intel-gfx
For in-flight-suspend, we need to wait for the GPU hang within
i915_gem_suspend(). This will take 10-20s, which means that the standard
wakeup delay of around 15s may occur before we complete the suspend.
This causes a pm_system_wakeup(), causing dpm_suspend() to return
-EBUSY.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/gem_eio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/gem_eio.c b/tests/gem_eio.c
index 7a6be393..2ac9f0a9 100644
--- a/tests/gem_eio.c
+++ b/tests/gem_eio.c
@@ -258,8 +258,8 @@ static void test_inflight_suspend(int fd)
igt_assert(fence[n] != -1);
}
- igt_system_suspend_autoresume(SUSPEND_STATE_MEM,
- SUSPEND_TEST_NONE);
+ igt_set_autoresume_delay(30);
+ igt_system_suspend_autoresume(SUSPEND_STATE_MEM, SUSPEND_TEST_NONE);
igt_post_hang_ring(fd, hang);
--
2.15.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-12-01 12:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-01 10:36 [PATCH igt] igt/gem_eio: Increase wakeup delay for in-flight-suspend Chris Wilson
2017-12-01 12:01 ` ✗ Fi.CI.BAT: failure for igt/gem_eio: Increase wakeup delay for in-flight-suspend (rev2) Patchwork
-- strict thread matches above, loose matches on Subject: below --
2017-11-30 15:05 [PATCH igt] igt/gem_eio: Increase wakeup delay for in-flight-suspend Chris Wilson
2017-12-01 10:32 ` Mika Kuoppala
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.