diff options
author | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2021-10-06 10:05:47 -0400 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2021-10-06 17:54:56 -0400 |
commit | 24da489a5f5ad46bb8c7be96b3cfa939faafe108 (patch) | |
tree | 8872b8d0dbc6f68fc908464f4b46d7511b0c7461 /lib/i915/i915_drm_local.h | |
parent | ec1111356de468d175cbb1f55b2294bce115d07f (diff) |
Revert include/drm-uapi/i915_drm.h back to a drm-next one.
That was my mistake during review and merge since I had
ignored the rules documented at README.md and considered
drm-intel branches would be enough. I'm sorry.
Instead, I should had used the new lib/i915/i915_drm_local.h
as Ashutosh pointed out.
Fixes: 4d5f8bcd2e35 ("i915_drm.h sync")
Cc: Ashutosh Dixit <ashutosh.dixit@intel.com>
Cc: Alan Previn <alan.previn.teres.alexis@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Diffstat (limited to 'lib/i915/i915_drm_local.h')
-rw-r--r-- | lib/i915/i915_drm_local.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h index dd646aed..a6afdd28 100644 --- a/lib/i915/i915_drm_local.h +++ b/lib/i915/i915_drm_local.h @@ -20,6 +20,19 @@ extern "C" { * clean these up when kernel uapi headers are sync'd. */ +/* Needed for PXP */ +#define I915_GEM_CREATE_EXT_PROTECTED_CONTENT 1 +#define I915_CONTEXT_PARAM_PROTECTED_CONTENT 0xd +#define I915_PROTECTED_CONTENT_DEFAULT_SESSION 0xf + +/* Needed for PXP */ +struct drm_i915_gem_create_ext_protected_content { + /** @base: Extension link. See struct i915_user_extension. */ + struct i915_user_extension base; + /** @flags: reserved for future usage, currently MBZ */ + __u32 flags; +}; + #if defined(__cplusplus) } #endif |