Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Arjun Melkaveri <arjun.melkaveri@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] tests/i915/gem_exec_schedule: Resolve missing context for independent subtest
Date: Mon, 30 Aug 2021 13:47:18 -0700	[thread overview]
Message-ID: <87v93mvew9.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20210830200037.11776-1-arjun.melkaveri@intel.com>

On Mon, 30 Aug 2021 13:00:37 -0700, Arjun Melkaveri wrote:
>
> Resolved missing context id in exec buf, and passing created context
> to igt spin .
> This change would fix test assertion in gem_execbuf for independent
> subtest
>
> v2: Passing original ctx id to gem_execbuf

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

> Signed-off-by: Arjun Melkaveri <arjun.melkaveri@intel.com>
> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
> Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
> ---
>  tests/i915/gem_exec_schedule.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/tests/i915/gem_exec_schedule.c b/tests/i915/gem_exec_schedule.c
> index 62d616f3..1f6f71db 100644
> --- a/tests/i915/gem_exec_schedule.c
> +++ b/tests/i915/gem_exec_schedule.c
> @@ -390,6 +390,7 @@ static void independent(int fd, const intel_ctx_t *ctx, unsigned int engine,
>			struct drm_i915_gem_execbuffer2 eb = {
>				.buffer_count = 1,
>				.buffers_ptr = to_user_pointer(&spin->obj[IGT_SPIN_BATCH]),
> +				.rsvd1 = ctx->id,
>				.flags = e->flags,
>			};
>			gem_execbuf(fd, &eb);
> --
> 2.25.1
>

  reply	other threads:[~2021-08-30 20:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-30 20:00 [igt-dev] [PATCH i-g-t] tests/i915/gem_exec_schedule: Resolve missing context for independent subtest Arjun Melkaveri
2021-08-30 20:47 ` Dixit, Ashutosh [this message]
2021-08-30 21:43 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/i915/gem_exec_schedule: Resolve missing context for independent subtest (rev3) Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2021-08-30 19:59 [igt-dev] [PATCH i-g-t] tests/i915/gem_exec_schedule: Resolve missing context for independent subtest Arjun Melkaveri
2021-08-29 20:15 Arjun Melkaveri
2021-08-30 18:43 ` Dixit, Ashutosh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v93mvew9.wl-ashutosh.dixit@intel.com \
    --to=ashutosh.dixit@intel.com \
    --cc=arjun.melkaveri@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox