xref: /linux/drivers/gpu/drm/xe/compat-i915-headers/pxp/intel_pxp.h (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5 
6 #ifndef __INTEL_PXP_H__
7 #define __INTEL_PXP_H__
8 
9 #include <linux/errno.h>
10 #include <linux/types.h>
11 
12 struct drm_i915_gem_object;
13 struct intel_pxp;
14 
15 static inline int intel_pxp_key_check(struct intel_pxp *pxp,
16 				      struct drm_i915_gem_object *obj,
17 				      bool assign)
18 {
19 	return -ENODEV;
20 }
21 
22 static inline bool
23 i915_gem_object_is_protected(const struct drm_i915_gem_object *obj)
24 {
25 	return false;
26 }
27 
28 #endif
29