Runtime suspend kicks in quicker if we flush any idle work that may been accrued. Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> --- 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 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx