[igt-dev] [PATCH i-g-t v3 12/52] tests/gem_ctx_engines: Adopt to use allocator
Dixit, Ashutosh
ashutosh.dixit at intel.com
Thu Aug 5 02:40:25 UTC 2021
On Mon, 26 Jul 2021 12:59:46 -0700, Zbigniew Kempczyński wrote:
>
> @@ -344,9 +352,11 @@ static void execute_oneforall(int i915)
> .size = sizeof(engines),
> };
> const struct intel_execution_engine2 *e;
> + uint64_t ahnd;
>
> for_each_physical_engine(i915, e) {
> param.ctx_id = gem_context_create(i915);
> + ahnd = get_reloc_ahnd(i915, param.ctx_id);
Ok, the allocator is tied to the context (and the context's vm):
Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>
More information about the igt-dev
mailing list