[igt-dev] [PATCH i-g-t v3 31/52] tests/gem_ringfill: Adopt to use allocator

Dixit, Ashutosh ashutosh.dixit at intel.com
Fri Aug 6 05:04:30 UTC 2021


On Mon, 26 Jul 2021 13:00:05 -0700, Zbigniew Kempczyński wrote:
>
> @@ -187,7 +201,7 @@ static void run_test(int fd, const intel_ctx_t *ctx, unsigned ring,
>
>	memset(&hang, 0, sizeof(hang));
>	if (flags & HANG)
> -		hang = igt_hang_ctx(fd, ctx->id, ring & ~(3<<13), 0);
> +		hang = igt_hang_ring_with_ahnd(fd, ring & ~(3<<13), ahnd);

Missing put_ahnd. With that:

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


More information about the igt-dev mailing list