[igt-dev] [PATCH i-g-t] tests/i915/gem_shrink: Convert to intel_ctx_t (v3)

Dixit, Ashutosh ashutosh.dixit at intel.com
Wed Jun 16 23:22:34 UTC 2021


On Wed, 16 Jun 2021 09:57:24 -0700, Jason Ekstrand wrote:
>
> @@ -185,13 +188,16 @@ static void execbufX(int fd, uint64_t alloc)
>
>		execbuf.buffers_ptr = to_user_pointer(&obj[j]);
>		execbuf.buffer_count = i + 1;
> -		execbuf.flags = engines[j % nengine];
> +		execbuf.flags = engines.engines[i % engines.nengines].flags;

Should this be [j % engines.nengines]?

Apart from this, this is:

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


More information about the igt-dev mailing list