[igt-dev] [PATCH i-g-t] tests/i915/gem_exec_nop: Resolve missing context id in sequential test

Ch, Sai Gowtham sai.gowtham.ch at intel.com
Thu Aug 26 06:44:30 UTC 2021



> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of
> Melkaveri, Arjun
> Sent: Thursday, August 26, 2021 11:57 AM
> To: Melkaveri, Arjun <arjun.melkaveri at intel.com>; igt-
> dev at lists.freedesktop.org
> Subject: [igt-dev] [PATCH i-g-t] tests/i915/gem_exec_nop: Resolve missing
> context id in sequential test
> 
> Resolved missing context id in exec buf, for sequential test.
> This was due to context mutation changes that was implemeted in
> gem_exec_nop.
> 
> Signed-off-by: Arjun Melkaveri <arjun.melkaveri at intel.com>
> Cc: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Ashutosh Dixit <ashutosh.dixit at intel.com>
> ---
>  tests/i915/gem_exec_nop.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/i915/gem_exec_nop.c b/tests/i915/gem_exec_nop.c index
> 09a0c29e..c435335b 100644
> --- a/tests/i915/gem_exec_nop.c
> +++ b/tests/i915/gem_exec_nop.c
> @@ -749,6 +749,7 @@ static void sequential(int fd, uint32_t handle,
>  	execbuf.buffer_count = 2;
>  	execbuf.flags |= I915_EXEC_HANDLE_LUT;
>  	execbuf.flags |= I915_EXEC_NO_RELOC;
> +	execbuf.rsvd1 = ctx->id; 
>  	igt_require(__gem_execbuf(fd, &execbuf) == 0);
> 
>  	if (flags & CONTEXT) { 
> --
> 2.25.1

Acked-by: Ch Sai Gowtham <sai.gowtham.ch at intel.com>




More information about the igt-dev mailing list