summaryrefslogtreecommitdiff
path: root/lib/i915/i915_drm_local.h
diff options
context:
space:
mode:
authorMatthew Brost <matthew.brost@intel.com>2021-11-11 16:24:38 -0800
committerAshutosh Dixit <ashutosh.dixit@intel.com>2021-11-11 21:23:27 -0800
commitfac14f966dd53d317fa6c95f160ebb436d04b645 (patch)
treeeb23ebc69b5f81c372c78fb090541933a5e5602a /lib/i915/i915_drm_local.h
parent1c70b17877974491273ac3fb1de93ba75309df79 (diff)
i915_drm.h sync with drm-next
Also delete PXP defines / structures from i915_drm_local.h. Taken from 806acd381960 ("Merge tag 'amd-drm-fixes-5.16-2021-11-03' of https://gitlab.freedesktop.org/agd5f/linux into drm-next") Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Diffstat (limited to 'lib/i915/i915_drm_local.h')
-rw-r--r--lib/i915/i915_drm_local.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/i915/i915_drm_local.h b/lib/i915/i915_drm_local.h
index b1f6f013..9e82c968 100644
--- a/lib/i915/i915_drm_local.h
+++ b/lib/i915/i915_drm_local.h
@@ -21,29 +21,6 @@ extern "C" {
*/
#define I915_ENGINE_CLASS_COMPUTE 4
-/* 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;
-};
-
-/*
- * Indicates the 2k user priority levels are statically mapped into 3 buckets as
- * follows:
- *
- * -1k to -1 Low priority
- * 0 Normal priority
- * 1 to 1k Highest priority
- */
-#define I915_SCHEDULER_CAP_STATIC_PRIORITY_MAP (1ul << 5)
-
#if defined(__cplusplus)
}
#endif