public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] i915/perf_pmu: Flush idle work before waiting for suspend
@ 2019-08-09  6:16 Chris Wilson
  2019-08-09  6:57 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  2019-08-09 18:20 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Chris Wilson @ 2019-08-09  6:16 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev

Runtime suspend kicks in quicker if we flush any idle work that may been
accrued.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 tests/perf_pmu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/perf_pmu.c b/tests/perf_pmu.c
index d392a67d4..351090710 100644
--- a/tests/perf_pmu.c
+++ b/tests/perf_pmu.c
@@ -1417,6 +1417,7 @@ test_rc6(int gem_fd, unsigned int flags)
 		drmModeFreeResources(res);
 
 		igt_require(igt_setup_runtime_pm());
+		igt_drop_caches_set(gem_fd, DROP_IDLE);
 		igt_require(igt_wait_for_pm_status(IGT_RUNTIME_PM_STATUS_SUSPENDED));
 
 		/*
-- 
2.23.0.rc1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-09 18:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-09  6:16 [igt-dev] [PATCH i-g-t] i915/perf_pmu: Flush idle work before waiting for suspend Chris Wilson
2019-08-09  6:57 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-08-09 18:20 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox