| .. | .. |
|---|
| 24 | 24 | #ifndef _INTEL_GVT_H_ |
|---|
| 25 | 25 | #define _INTEL_GVT_H_ |
|---|
| 26 | 26 | |
|---|
| 27 | | -struct intel_gvt; |
|---|
| 27 | +struct drm_i915_private; |
|---|
| 28 | 28 | |
|---|
| 29 | 29 | #ifdef CONFIG_DRM_I915_GVT |
|---|
| 30 | 30 | int intel_gvt_init(struct drm_i915_private *dev_priv); |
|---|
| 31 | | -void intel_gvt_cleanup(struct drm_i915_private *dev_priv); |
|---|
| 31 | +void intel_gvt_driver_remove(struct drm_i915_private *dev_priv); |
|---|
| 32 | 32 | int intel_gvt_init_device(struct drm_i915_private *dev_priv); |
|---|
| 33 | 33 | void intel_gvt_clean_device(struct drm_i915_private *dev_priv); |
|---|
| 34 | 34 | int intel_gvt_init_host(void); |
|---|
| 35 | 35 | void intel_gvt_sanitize_options(struct drm_i915_private *dev_priv); |
|---|
| 36 | +void intel_gvt_resume(struct drm_i915_private *dev_priv); |
|---|
| 36 | 37 | #else |
|---|
| 37 | 38 | static inline int intel_gvt_init(struct drm_i915_private *dev_priv) |
|---|
| 38 | 39 | { |
|---|
| 39 | 40 | return 0; |
|---|
| 40 | 41 | } |
|---|
| 41 | | -static inline void intel_gvt_cleanup(struct drm_i915_private *dev_priv) |
|---|
| 42 | + |
|---|
| 43 | +static inline void intel_gvt_driver_remove(struct drm_i915_private *dev_priv) |
|---|
| 42 | 44 | { |
|---|
| 43 | 45 | } |
|---|
| 44 | 46 | |
|---|
| 45 | 47 | static inline void intel_gvt_sanitize_options(struct drm_i915_private *dev_priv) |
|---|
| 46 | 48 | { |
|---|
| 47 | 49 | } |
|---|
| 50 | + |
|---|
| 51 | +static inline void intel_gvt_resume(struct drm_i915_private *dev_priv) |
|---|
| 52 | +{ |
|---|
| 53 | +} |
|---|
| 48 | 54 | #endif |
|---|
| 49 | 55 | |
|---|
| 50 | 56 | #endif /* _INTEL_GVT_H_ */ |
|---|