Commit aff9e6f2 authored by Jani Nikula's avatar Jani Nikula

drm/i915/gvt: make intel_gvt_active internal to intel_gvt

Nobody else uses it.
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200227144408.24345-2-jani.nikula@intel.com
parent 9e859eb9
......@@ -1672,11 +1672,6 @@ void i915_driver_remove(struct drm_i915_private *i915);
int i915_resume_switcheroo(struct drm_i915_private *i915);
int i915_suspend_switcheroo(struct drm_i915_private *i915, pm_message_t state);
static inline bool intel_gvt_active(struct drm_i915_private *dev_priv)
{
return dev_priv->gvt;
}
int i915_getparam_ioctl(struct drm_device *dev, void *data,
struct drm_file *file_priv);
......
......@@ -125,6 +125,11 @@ int intel_gvt_init(struct drm_i915_private *dev_priv)
return 0;
}
static inline bool intel_gvt_active(struct drm_i915_private *dev_priv)
{
return dev_priv->gvt;
}
/**
* intel_gvt_driver_remove - cleanup GVT components when i915 driver is
* unbinding
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment