From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC9ED6EB7E for ; Tue, 5 Oct 2021 19:31:34 +0000 (UTC) From: "Teres Alexis, Alan Previn" Date: Tue, 5 Oct 2021 19:31:31 +0000 Message-ID: References: <20211005151022.2161424-1-alan.previn.teres.alexis@intel.com> <20211005151022.2161424-2-alan.previn.teres.alexis@intel.com> In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [igt-dev] [PATCH i-g-t v13 01/16] i915_drm.h sync PXP default session List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: "Vivi, Rodrigo" Cc: "igt-dev@lists.freedesktop.org" List-ID: Hey Rodrigo, apologies for this upstream-newbie mistake and I truly appreci= ate you taking the time and explaining my mistake especially the pull-in of= the other non-PXP delta's too. I will respin this ASAP. ...alan -----Original Message----- From: Vivi, Rodrigo =20 Sent: Tuesday, October 5, 2021 12:15 PM To: Teres Alexis, Alan Previn Cc: igt-dev@lists.freedesktop.org Subject: Re: [igt-dev] [PATCH i-g-t v13 01/16] i915_drm.h sync PXP default = session On Tue, Oct 05, 2021 at 08:10:07AM -0700, Alan Previn wrote: > Sync UAPI for to get I915_PROTECTED_CONTENT_DEFAULT_SESSION define value. >=20 > Taken from kernel commit: > commit cbbd3764b2399ad882cda98435b25144e9ea2124 > ("drm/i915/pxp: Create the arbitrary session after boot.") This is not accurate. The i915_drm.h in this commit has more changes other = than I915_PROTECTED_CONTENT_DEFAULT_SESSION. We should combine the patches 1 and 2 of this series and make a simply i915= _drm.h sync and add some reasoning in the commit message saying that it is = because of the PXP. But the new include/drm-uapi/i915_drm.h should include = all the new api additions from i915_drm.h uapi. >=20 > Signed-off-by: Alan Previn > --- > include/drm-uapi/i915_drm.h | 3 +++ > 1 file changed, 3 insertions(+) >=20 > diff --git a/include/drm-uapi/i915_drm.h b/include/drm-uapi/i915_drm.h=20 > index b9632bb2..f4691fcc 100644 > --- a/include/drm-uapi/i915_drm.h > +++ b/include/drm-uapi/i915_drm.h > @@ -2990,6 +2990,9 @@ struct drm_i915_gem_create_ext_memory_regions { > __u64 regions; > }; > =20 > +/* ID of the protected content session managed by i915 when PXP is=20 > +active */ #define I915_PROTECTED_CONTENT_DEFAULT_SESSION 0xf > + > #if defined(__cplusplus) > } > #endif > -- > 2.25.1 >=20