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_ctx_shared: Resolve missing context for exec_shared_gtt
Date: Mon, 01 Nov 2021 14:18:09 -0700 [thread overview]
Message-ID: <87ilxb378u.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20211101194300.3997-1-arjun.melkaveri@intel.com>
On Mon, 01 Nov 2021 12:43:00 -0700, Arjun Melkaveri wrote:
>
> Resolved missing context id in exec buf by passing first context i.e
> ctx[0].
>
> This change would fix test assertion in gem_execbuf for
> "exec_shared_gtt" subtest.
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_ctx_shared.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/i915/gem_ctx_shared.c b/tests/i915/gem_ctx_shared.c
> index ea1b5dd1..3bf700fe 100644
> --- a/tests/i915/gem_ctx_shared.c
> +++ b/tests/i915/gem_ctx_shared.c
> @@ -277,6 +277,7 @@ static void exec_shared_gtt(int i915, const intel_ctx_cfg_t *cfg,
> scratch = gem_create(i915, 16384);
> gem_write(i915, scratch, 0, &bbe, sizeof(bbe));
> obj.handle = scratch;
> + execbuf.rsvd1 = ctx[0]->id;
> gem_execbuf(i915, &execbuf);
> obj.flags |= EXEC_OBJECT_PINNED; /* reuse this address */
> execbuf.rsvd1 = ctx[1]->id; /* and bind the second context image */
> --
> 2.25.1
>
next prev parent reply other threads:[~2021-11-01 21:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-01 19:43 [igt-dev] [PATCH i-g-t] tests/i915/gem_ctx_shared: Resolve missing context for exec_shared_gtt Arjun Melkaveri
2021-11-01 21:18 ` Dixit, Ashutosh [this message]
2021-11-01 22:25 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
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=87ilxb378u.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