Skip to content

iris-i915-protected-gem-context: Add GET_PARAM for protected context caps/creation support

With MTL onwards, creating protected contexts too early may block for a longer period. Along with MTL, GET_PARAM I915_PARAM_PXP_STATUS has been added for immediate caps checking from kernel side. Use that if available for caps.

Also use this new interface to check on platform dependency readiness if an attempted protected context creation were to fail when user explicitly requests for it before the kernel and platform dependencies were ready and print a debug message accordingly.

While at it, also update i915's drm-uapi section on GEM's protected context creation which also underwent backward compatible documentation updates.

Reference to kernel change: https://patchwork.freedesktop.org/patch/533241/?series=112647&rev=8

Signed-off-by: Alan Previn alan.previn.teres.alexis@intel.com

Merge request reports

Loading