From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Matthew Brost <matthew.brost@intel.com>
Cc: <intel-xe@lists.freedesktop.org>
Subject: Re: [PATCH] drm/xe: Remove exec queue bind.fence_*
Date: Tue, 13 Feb 2024 10:16:37 -0500 [thread overview]
Message-ID: <ZcuH1V4YYtpAkcHH@intel.com> (raw)
In-Reply-To: <20240213043251.3482928-1-matthew.brost@intel.com>
On Mon, Feb 12, 2024 at 08:32:51PM -0800, Matthew Brost wrote:
> struct xe_exec_queue bind.fence_* members are unused. Remove these.
>
> Signed-off-by: Matthew Brost <matthew.brost@intel.com>
trusting more your compiler then my greps:
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> ---
> drivers/gpu/drm/xe/xe_exec_queue.c | 4 ----
> drivers/gpu/drm/xe/xe_exec_queue_types.h | 29 ++++++++----------------
> 2 files changed, 9 insertions(+), 24 deletions(-)
>
> diff --git a/drivers/gpu/drm/xe/xe_exec_queue.c b/drivers/gpu/drm/xe/xe_exec_queue.c
> index 2976635be4d3..da84ac93a559 100644
> --- a/drivers/gpu/drm/xe/xe_exec_queue.c
> +++ b/drivers/gpu/drm/xe/xe_exec_queue.c
> @@ -94,10 +94,6 @@ static struct xe_exec_queue *__xe_exec_queue_alloc(struct xe_device *xe,
> q->parallel.composite_fence_ctx = dma_fence_context_alloc(1);
> q->parallel.composite_fence_seqno = XE_FENCE_INITIAL_SEQNO;
> }
> - if (q->flags & EXEC_QUEUE_FLAG_VM) {
> - q->bind.fence_ctx = dma_fence_context_alloc(1);
> - q->bind.fence_seqno = XE_FENCE_INITIAL_SEQNO;
> - }
>
> return q;
> }
> diff --git a/drivers/gpu/drm/xe/xe_exec_queue_types.h b/drivers/gpu/drm/xe/xe_exec_queue_types.h
> index 648391961fc4..3df8571e4a07 100644
> --- a/drivers/gpu/drm/xe/xe_exec_queue_types.h
> +++ b/drivers/gpu/drm/xe/xe_exec_queue_types.h
> @@ -115,26 +115,15 @@ struct xe_exec_queue {
> struct list_head link;
> } persistent;
>
> - union {
> - /**
> - * @parallel: parallel submission state
> - */
> - struct {
> - /** @parallel.composite_fence_ctx: context composite fence */
> - u64 composite_fence_ctx;
> - /** @parallel.composite_fence_seqno: seqno for composite fence */
> - u32 composite_fence_seqno;
> - } parallel;
> - /**
> - * @bind: bind submission state
> - */
> - struct {
> - /** @bind.fence_ctx: context bind fence */
> - u64 fence_ctx;
> - /** @bind.fence_seqno: seqno for bind fence */
> - u32 fence_seqno;
> - } bind;
> - };
> + /**
> + * @parallel: parallel submission state
> + */
> + struct {
> + /** @parallel.composite_fence_ctx: context composite fence */
> + u64 composite_fence_ctx;
> + /** @parallel.composite_fence_seqno: seqno for composite fence */
> + u32 composite_fence_seqno;
> + } parallel;
>
> /** @sched_props: scheduling properties */
> struct {
> --
> 2.34.1
>
prev parent reply other threads:[~2024-02-13 15:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-13 4:32 [PATCH] drm/xe: Remove exec queue bind.fence_* Matthew Brost
2024-02-13 4:34 ` ✓ CI.Patch_applied: success for " Patchwork
2024-02-13 4:34 ` ✓ CI.checkpatch: " Patchwork
2024-02-13 4:35 ` ✓ CI.KUnit: " Patchwork
2024-02-13 4:46 ` ✓ CI.Build: " Patchwork
2024-02-13 4:46 ` ✓ CI.Hooks: " Patchwork
2024-02-13 4:47 ` ✓ CI.checksparse: " Patchwork
2024-02-13 5:24 ` ✓ CI.BAT: " Patchwork
2024-02-13 15:16 ` Rodrigo Vivi [this message]
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=ZcuH1V4YYtpAkcHH@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=matthew.brost@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.