[igt-dev] [PATCH i-g-t v5 53/65] tests/i915_module_load: Adopt to use allocator

Dixit, Ashutosh ashutosh.dixit at intel.com
Mon Aug 9 20:29:32 UTC 2021


On Mon, 09 Aug 2021 06:05:21 -0700, Zbigniew Kempczyński wrote:
>
> @@ -126,6 +144,9 @@ static void store_all(int i915)
>	gem_read(i915, obj[0].handle, 0, engines, nengine * sizeof(engines[0]));
>	gem_close(i915, obj[0].handle);
>	intel_ctx_destroy(i915, ctx);
> +	put_offset(ahnd, obj[0].handle);
> +	put_offset(ahnd, obj[1].handle);
> +	put_ahnd(ahnd);

Maybe skip put_offset since we are doing put_ahnd anyway? Otherwise,

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>


More information about the igt-dev mailing list