0001
0002
0003
0004
0005
0006 #ifndef __INTEL_GGTT_GMCH_H__
0007 #define __INTEL_GGTT_GMCH_H__
0008
0009 #include "intel_gtt.h"
0010
0011
0012 #if IS_ENABLED(CONFIG_X86)
0013
0014 void intel_ggtt_gmch_flush(void);
0015 int intel_ggtt_gmch_enable_hw(struct drm_i915_private *i915);
0016 int intel_ggtt_gmch_probe(struct i915_ggtt *ggtt);
0017
0018
0019 #else
0020
0021 static inline void intel_ggtt_gmch_flush(void) { }
0022 static inline int intel_ggtt_gmch_enable_hw(struct drm_i915_private *i915) { return -ENODEV; }
0023 static inline int intel_ggtt_gmch_probe(struct i915_ggtt *ggtt) { return -ENODEV; }
0024
0025 #endif
0026
0027 #endif