From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: Dave Airlie <airlied@gmail.com>
Cc: Francois Dugast <francois.dugast@intel.com>,
Lucas De Marchi <lucas.demarchi@intel.com>,
Daniel Vetter <daniel@ffwll.ch>,
intel-xe@lists.freedesktop.org
Subject: Re: [RFC PATCH] drm/xe/uapi: Remove support for persistent exec_queues
Date: Wed, 31 Jan 2024 16:55:12 -0500 [thread overview]
Message-ID: <ZbrBwCCUnkgX7Yp_@intel.com> (raw)
In-Reply-To: <CAPM=9tx_9S3yD3A46rP_NOO_FaPHwWaPMeX2wkx8Rh4iqO8cvQ@mail.gmail.com>
On Thu, Feb 01, 2024 at 05:41:27AM +1000, Dave Airlie wrote:
> On Tue, 30 Jan 2024 at 22:52, Thomas Hellström
> <thomas.hellstrom@linux.intel.com> wrote:
> >
> > Persistent exec_queues delays explicit destruction of exec_queues
> > until they are done executing, but destruction on process exit
> > is still immediate. It turns out no UMD is relying on this
> > functionality, so remove it. If there turns out to be a use-case
> > in the future, let's re-add.
> >
> > Persistent exec_queues were never used for LR VMs
> >
> > Open: Should we renumber the exec_queue properties, or leave a hole
> > as in this patch.
>
>
> So can we have a bit of insight into how this happened? Like we just
> merged xe and it already has uapi that had no userspace?
I'm really sorry about that Dave.
In the past months I personally run an uapi clean-up removing everything
that was not used and this was a miss.
>
> Like seriously? I'm sorry Intel has all these crazy silos with
> compute, video, graphics and kernel teams, but that should be Intel's
> internal problem, can we stop exposing your org chart outside the
> company?
>
> If you can't get someone from the compute team to work in the kernel
> driver space when a new uAPI is needed, and instead powerpoint up
> uAPIs without commitments, then xe is going to end up being in the
> same hole as i915.
I guarantee to you that this this time, it was not the case. No uapi that
we have in Xe came from powerpoints. And it shouldn't had come from
internal branches as well.
I'm afraid that Xe stayed for too long out of the tree without a proper
scrutiny on the uapi, favoring fast moves to get it working.
Anyway, in this very specific case, this was a poor copy of the internal-i915.
While it shouldn't.
And it shouldn't be there in i915-internal anyway as well.
The I915_CONTEXT_PARAM_PERSISTENCE shouldn't even be part of the
i915-internal/DII's include/uapi/drm/i915_drm.h to start with.
What ever non-upstream uapi in that internal i915 should be part of a separate
header: i915_drm_prelim.h.
It was a escape there, wrongly ported over Xe
without scrutiny and then my personal escape while cleaning things up
before getting it merged.
Sorry,
Rodrigo.
>
> Dave.
next prev parent reply other threads:[~2024-01-31 21:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-30 12:52 [RFC PATCH] drm/xe/uapi: Remove support for persistent exec_queues Thomas Hellström
2024-01-30 12:55 ` ✓ CI.Patch_applied: success for " Patchwork
2024-01-30 12:55 ` ✗ CI.checkpatch: warning " Patchwork
2024-01-30 12:56 ` ✓ CI.KUnit: success " Patchwork
2024-01-30 13:03 ` ✓ CI.Build: " Patchwork
2024-01-30 13:04 ` ✓ CI.Hooks: " Patchwork
2024-01-30 13:05 ` ✓ CI.checksparse: " Patchwork
2024-01-30 13:26 ` ✓ CI.BAT: " Patchwork
2024-01-30 14:24 ` [RFC PATCH] " Lucas De Marchi
2024-01-31 21:56 ` Rodrigo Vivi
2024-01-31 19:41 ` Dave Airlie
2024-01-31 21:55 ` Rodrigo Vivi [this message]
2024-02-01 17:00 ` Niranjana Vishwanathapura
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=ZbrBwCCUnkgX7Yp_@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=airlied@gmail.com \
--cc=daniel@ffwll.ch \
--cc=francois.dugast@intel.com \
--cc=intel-xe@lists.freedesktop.org \
--cc=lucas.demarchi@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