From: "Teres Alexis, Alan Previn" <alan.previn.teres.alexis@intel.com>
To: "Justen, Jordan L" <jordan.l.justen@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
"Landwerlin, Lionel G" <lionel.g.landwerlin@intel.com>
Cc: "aniel@ffwll.ch" <aniel@ffwll.ch>,
"ustonli@chromium.org" <ustonli@chromium.org>,
"Vivi, Rodrigo" <rodrigo.vivi@intel.com>,
"ri-devel@lists.freedesktop.org" <ri-devel@lists.freedesktop.org>
Subject: Re: [Intel-gfx] [PATCH v8 6/8] drm/i915/uapi/pxp: Add a GET_PARAM for PXP
Date: Thu, 27 Apr 2023 17:18:50 +0000 [thread overview]
Message-ID: <27483f34611239dc4a73ff832cda9abc9074a88f.camel@intel.com> (raw)
In-Reply-To: <168254855442.392286.5736829518983136908@jljusten-skl>
On Wed, 2023-04-26 at 15:35 -0700, Justen, Jordan L wrote:
> On 2023-04-26 11:17:16, Teres Alexis, Alan Previn wrote:
alan:snip
>
> > - Jordan still wants the extension query
> Yes, I do, but so far it doesn't appear that any kernel devs think
> it's a reasonable request.
>
> As I read through your emails about this pxp situation, it seems like
> a separate issue. When I encountered the 8s delay, it was on MTL, and
> apparently some firmware issue meant it was never going to work. So, I
> thought this was a case of it either being supported, or never being
> supported.
alan: this might be because of an older patch version in internal tree
- which I'm trying hard to fix to follow latest upstream - but keep getting
delays and conflicts - but thats unrelated to this upstream POV
> Now I'm seeing from your emails that in some cases it might be
> supported, but just not ready yet. In that case a status which is
> directly tied to pxp seems valuable. (But, yuck, how did we get into
> this situation? :)
alan: thanks for the go ahead on this PXP's uniquely different-issue
(and i must agree, 'yukcy' situation).
How did we get here? we are trying to debug this - its interesting to see
the same kernel with the same configs much faster on ADL vs MTL but
the MTL case is suffering because the mei-heci-parent driver is getting
loaded much later (which IS common to ADL) - this delayed parent driver
is causing the delay on the gsc-proxy component MTL. From parent load
to gsc-proxy bin+init is relatively fast (~few hundred milisecs). But I
believe it seems to only be happenning on select OS stacks (our ChromeOS
fork is definitely seeing this).
> Can you tell that pxp is in progress, but not ready yet, as a separate
> state from 'it will never work on this platform'? If so, maybe the
> status could return something like:
>
> 0: It's never going to work
> 1: It's ready to use
> 2: It's starting and should work soon
>
> I could see an argument for treating that as a case where we could
> still advertise protected content support, but if we try to use it we
> might be in for a nasty delay.
>
alan: IIRC Lionel seemed okay with any permutation that would allow it to not
get blocked. Daniele did ask for something similiar to what u mentioned above
but he said that is non-blocking. But since both you AND Daniele have mentioned
the same thing, i shall re-rev this and send that change out today.
I notice most GET_PARAMS use -ENODEV for "never gonna work" so I will stick with that.
but 1 = ready to use and 2 = starting and should work sounds good. so '0' will never
be returned - we just look for a positive value (from user space). I will also
make a PR for mesa side as soon as i get it tested. thanks for reviewing btw.
alan:snip
next prev parent reply other threads:[~2023-04-27 17:19 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-21 5:34 [Intel-gfx] [PATCH v8 0/8] drm/i915/pxp: Add MTL PXP Support Alan Previn
2023-04-21 5:34 ` [Intel-gfx] [PATCH v8 1/8] drm/i915/pxp: Add GSC-CS back-end resource init and cleanup Alan Previn
2023-04-21 5:34 ` [Intel-gfx] [PATCH v8 2/8] drm/i915/pxp: Add MTL hw-plumbing enabling for KCR operation Alan Previn
2023-04-21 5:34 ` [Intel-gfx] [PATCH v8 3/8] drm/i915/pxp: Add MTL helpers to submit Heci-Cmd-Packet to GSC Alan Previn
2023-04-21 16:09 ` Ceraolo Spurio, Daniele
2023-04-21 5:34 ` [Intel-gfx] [PATCH v8 4/8] drm/i915/pxp: Add GSC-CS backend to send GSC fw messages Alan Previn
2023-04-21 5:34 ` [Intel-gfx] [PATCH v8 5/8] drm/i915/pxp: Add ARB session creation and cleanup Alan Previn
2023-04-21 5:34 ` [Intel-gfx] [PATCH v8 6/8] drm/i915/uapi/pxp: Add a GET_PARAM for PXP Alan Previn
2023-04-26 18:17 ` Teres Alexis, Alan Previn
2023-04-26 22:35 ` Jordan Justen
2023-04-27 17:18 ` Teres Alexis, Alan Previn [this message]
2023-04-27 18:19 ` Teres Alexis, Alan Previn
2023-04-27 18:24 ` Lionel Landwerlin
2023-04-21 5:34 ` [Intel-gfx] [PATCH v8 7/8] drm/i915/pxp: On MTL, KCR enabling doesn't wait on tee component Alan Previn
2023-04-21 5:34 ` [Intel-gfx] [PATCH v8 8/8] drm/i915/pxp: Enable PXP with MTL-GSC-CS Alan Previn
2023-04-21 6:06 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/pxp: Add MTL PXP Support (rev8) Patchwork
2023-04-21 6:06 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-04-21 6:23 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-04-21 12:15 ` [Intel-gfx] ✓ Fi.CI.IGT: " 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=27483f34611239dc4a73ff832cda9abc9074a88f.camel@intel.com \
--to=alan.previn.teres.alexis@intel.com \
--cc=aniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jordan.l.justen@intel.com \
--cc=lionel.g.landwerlin@intel.com \
--cc=ri-devel@lists.freedesktop.org \
--cc=rodrigo.vivi@intel.com \
--cc=ustonli@chromium.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