summaryrefslogtreecommitdiff
path: root/lib/igt_dummyload.c
diff options
context:
space:
mode:
authorJasmine Newsome <jasmine.newsome@intel.com>2022-02-23 16:42:19 -0800
committerAshutosh Dixit <ashutosh.dixit@intel.com>2022-02-24 12:57:19 -0800
commit4d9396e67930df85aeec626145e02b170f6d3bcd (patch)
tree657f4716be715fd8b84e10ec793d1239f5c09235 /lib/igt_dummyload.c
parentb403d8e73c6888561eaec97835688313b0763ce9 (diff)
lib/igt_dummyload: Save spin->opts as part of the spinner
Save the opts with which the spin was created as part of the spin so that the opts are available in case they are needed. Signed-off-by: Jasmine Newsome <jasmine.newsome@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'lib/igt_dummyload.c')
-rw-r--r--lib/igt_dummyload.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/igt_dummyload.c b/lib/igt_dummyload.c
index 645db9222..0b2be154d 100644
--- a/lib/igt_dummyload.c
+++ b/lib/igt_dummyload.c
@@ -421,6 +421,7 @@ emit_recursive_batch(igt_spin_t *spin,
}
spin->cmd_precondition = *spin->condition;
+ spin->opts = *opts;
return fence_fd;
}