1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2023 Intel Corporation 4 */ 5 6 #ifndef _I915_VGPU_H_ 7 #define _I915_VGPU_H_ 8 9 #include <linux/types.h> 10 11 struct drm_i915_private; 12 struct i915_ggtt; 13 14 static inline void intel_vgpu_detect(struct drm_i915_private *i915) 15 { 16 } 17 static inline bool intel_vgpu_active(struct drm_i915_private *i915) 18 { 19 return false; 20 } 21 static inline void intel_vgpu_register(struct drm_i915_private *i915) 22 { 23 } 24 static inline bool intel_vgpu_has_full_ppgtt(struct drm_i915_private *i915) 25 { 26 return false; 27 } 28 static inline bool intel_vgpu_has_hwsp_emulation(struct drm_i915_private *i915) 29 { 30 return false; 31 } 32 static inline bool intel_vgpu_has_huge_gtt(struct drm_i915_private *i915) 33 { 34 return false; 35 } 36 static inline int intel_vgt_balloon(struct i915_ggtt *ggtt) 37 { 38 return 0; 39 } 40 static inline void intel_vgt_deballoon(struct i915_ggtt *ggtt) 41 { 42 } 43 44 #endif /* _I915_VGPU_H_ */ 45