From 4b57f85b31f01701584190dd2f0adbc9563562be Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 25 Jun 2018 13:27:36 +0100 Subject: lib: Convert spin batch constructor to a factory In order to make adding more options easier, expose the full set of options to the caller. Signed-off-by: Chris Wilson Cc: Tvrtko Ursulin Cc: Petri Latvala Reviewed-by: Tvrtko Ursulin --- tests/drv_missed_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/drv_missed_irq.c') diff --git a/tests/drv_missed_irq.c b/tests/drv_missed_irq.c index 791ee51f..78690c36 100644 --- a/tests/drv_missed_irq.c +++ b/tests/drv_missed_irq.c @@ -33,7 +33,7 @@ IGT_TEST_DESCRIPTION("Inject missed interrupts and make sure they are caught"); static void trigger_missed_interrupt(int fd, unsigned ring) { - igt_spin_t *spin = __igt_spin_batch_new(fd, 0, ring, 0); + igt_spin_t *spin = __igt_spin_batch_new(fd, .engine = ring); uint32_t go; int link[2]; -- cgit v1.2.3