From: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
To: Jonathan Cavitt <jonathan.cavitt@intel.com>
Cc: igt-dev@lists.freedesktop.org, saurabhg.gupta@intel.com,
alex.zuo@intel.com, jani.saarinen@intel.com
Subject: Re: [PATCH] tests/intel/xe_exec_reset: Explicitly declare exec
Date: Mon, 14 Oct 2024 14:45:32 -0700 [thread overview]
Message-ID: <85iktu2war.wl-ashutosh.dixit@intel.com> (raw)
In-Reply-To: <20241014213937.255940-1-jonathan.cavitt@intel.com>
On Mon, 14 Oct 2024 14:39:36 -0700, Jonathan Cavitt wrote:
>
> diff --git a/tests/intel/xe_exec_reset.c b/tests/intel/xe_exec_reset.c
> index b5d5f43eab..fdfefa91cc 100644
> --- a/tests/intel/xe_exec_reset.c
> +++ b/tests/intel/xe_exec_reset.c
> @@ -628,7 +628,7 @@ static void submit_jobs(struct gt_thread_data *t)
> .engine_instance = 0,
> .gt_id = 0,
> };
> - struct drm_xe_exec exec;
> + struct drm_xe_exec exec = {};
> int ret;
>
How about
struct drm_xe_exec exec = {
.num_batch_buffer = 1,
.address = addr,
};
And delete the assignments below?
> /* GuC IDs can get exhausted */
> --
> 2.43.0
>
next prev parent reply other threads:[~2024-10-14 21:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-14 21:39 [PATCH] tests/intel/xe_exec_reset: Explicitly declare exec Jonathan Cavitt
2024-10-14 21:45 ` Dixit, Ashutosh [this message]
2024-10-14 21:50 ` Cavitt, Jonathan
-- strict thread matches above, loose matches on Subject: below --
2024-10-14 21:31 Jonathan Cavitt
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=85iktu2war.wl-ashutosh.dixit@intel.com \
--to=ashutosh.dixit@intel.com \
--cc=alex.zuo@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=jani.saarinen@intel.com \
--cc=jonathan.cavitt@intel.com \
--cc=saurabhg.gupta@intel.com \
/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