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 12struct drm_i915_gem_object; 13struct intel_pxp; 14 15static 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 22static inline bool 23i915_gem_object_is_protected(const struct drm_i915_gem_object *obj) 24{ 25 return false; 26} 27 28#endif 29