[igt-dev] [PATCH i-g-t v13 01/16] i915_drm.h sync PXP default session
Alan Previn
alan.previn.teres.alexis at intel.com
Tue Oct 5 15:10:07 UTC 2021
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 <alan.previn.teres.alexis at intel.com>
---
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
More information about the igt-dev
mailing list