diff options
author | Jason Ekstrand <jason@jlekstrand.net> | 2021-03-30 09:42:24 -0500 |
---|---|---|
committer | Jason Ekstrand <jason@jlekstrand.net> | 2021-06-10 11:14:51 -0500 |
commit | ad5a60896fef0ae9bec36533635f704ad3826952 (patch) | |
tree | ab362b3ab38ad8caef58156524b02733b8d7dc03 /tests/i915/perf_pmu.c | |
parent | 156d88529d0b8a23e61e2ea6d84b88bb4bf265d3 (diff) |
lib/dummyload: Rename igt_spin_factory::ctx to ctx_id
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Zbigniew KempczyĆski <zbigniew.kempczynski@intel.com>
Diffstat (limited to 'tests/i915/perf_pmu.c')
-rw-r--r-- | tests/i915/perf_pmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/i915/perf_pmu.c b/tests/i915/perf_pmu.c index 172dd161..aa297bf1 100644 --- a/tests/i915/perf_pmu.c +++ b/tests/i915/perf_pmu.c @@ -176,7 +176,7 @@ static igt_spin_t * __spin_poll(int fd, uint32_t ctx, const struct intel_execution_engine2 *e) { struct igt_spin_factory opts = { - .ctx = ctx, + .ctx_id = ctx, .engine = e->flags, }; @@ -382,7 +382,7 @@ busy_double_start(int gem_fd, const struct intel_execution_engine2 *e) spin[0] = __spin_sync(gem_fd, 0, e); usleep(500e3); spin[1] = __igt_spin_new(gem_fd, - .ctx = ctx, + .ctx_id = ctx, .engine = e->flags); /* |