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