diff options
author | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2022-02-24 14:02:29 -0800 |
---|---|---|
committer | Ashutosh Dixit <ashutosh.dixit@intel.com> | 2022-02-28 08:45:36 -0800 |
commit | c90e2633f9acfce3e03a5aa49ca71c2d574a72f9 (patch) | |
tree | 26252edfa693ce1467b58cdcf4334a52c186f75c /tests/i915/i915_hangman.c | |
parent | 57049558c452272b27eeb099fac07e55a924bbf9 (diff) |
lib/igt_dummyload: Drop ahnd from igt_spin_t
In 4d9396e67930 we have started storing the opts with which the spin was
created as part of igt_spin_t. The ahnd stored as part of igt_spin_t is
therefore redundant. We can get ahnd from opts.ahnd.
Cc: Zbigniew Kempczynski <zbigniew.kempczynski@intel.com>
Cc: Jasmine Newsome <jasmine.newsome@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Reviewed-by: Zbigniew KempczyĆski <zbigniew.kempczynski@intel.com>
Diffstat (limited to 'tests/i915/i915_hangman.c')
-rw-r--r-- | tests/i915/i915_hangman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i915/i915_hangman.c b/tests/i915/i915_hangman.c index 23055c27..c7d69fdd 100644 --- a/tests/i915/i915_hangman.c +++ b/tests/i915/i915_hangman.c @@ -346,7 +346,7 @@ test_engine_hang(const intel_ctx_t *ctx, /* But no other engines/clients should be affected */ igt_list_for_each_entry_safe(spin, next, &list, link) { - ahndN = spin->ahnd; + ahndN = spin->opts.ahnd; igt_assert(sync_fence_wait(spin->out_fence, 0) == -ETIME); igt_spin_end(spin); |