From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3281F6EB87 for ; Tue, 5 Oct 2021 15:14:04 +0000 (UTC) From: Alan Previn Date: Tue, 5 Oct 2021 08:10:07 -0700 Message-Id: <20211005151022.2161424-2-alan.previn.teres.alexis@intel.com> In-Reply-To: <20211005151022.2161424-1-alan.previn.teres.alexis@intel.com> References: <20211005151022.2161424-1-alan.previn.teres.alexis@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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: igt-dev@lists.freedesktop.org Cc: Alan Previn List-ID: Sync UAPI for to get I915_PROTECTED_CONTENT_DEFAULT_SESSION define value. Taken from kernel commit: commit cbbd3764b2399ad882cda98435b25144e9ea2124 ("drm/i915/pxp: Create the arbitrary session after boot.") Signed-off-by: Alan Previn --- include/drm-uapi/i915_drm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/drm-uapi/i915_drm.h b/include/drm-uapi/i915_drm.h 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; }; +/* ID of the protected content session managed by i915 when PXP is active */ +#define I915_PROTECTED_CONTENT_DEFAULT_SESSION 0xf + #if defined(__cplusplus) } #endif -- 2.25.1