To turn off preemption, we now require per-engine resets.

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

diff --git a/tests/i915/sysfs_heartbeat_interval.c 
b/tests/i915/sysfs_heartbeat_interval.c
index 0ba19b263..ef131a16c 100644
--- a/tests/i915/sysfs_heartbeat_interval.c
+++ b/tests/i915/sysfs_heartbeat_interval.c
@@ -227,7 +227,7 @@ static void test_nopreempt(int i915, int engine)
         */
 
        /* Test heartbeats with forced preemption  disabled */
-       igt_sysfs_printf(engine, "preempt_timeout_ms", "%u", 0);
+       igt_require(igt_sysfs_printf(engine, "preempt_timeout_ms", "%u", 0) > 
0);
 
        igt_assert(igt_sysfs_scanf(engine, ATTR, "%u", &saved) == 1);
        igt_debug("Initial %s:%u\n", ATTR, saved);
-- 
2.25.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to