diff options
author | Jani Nikula <jani.nikula@intel.com> | 2020-02-27 15:44:07 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2020-03-03 16:47:03 +0100 |
commit | aff9e6f2496fc9ee5b748d2a50c9520754767021 (patch) | |
tree | 13451d92a94dcd8d70a31f8804e9396a68f889be /drivers/gpu/drm/i915/i915_drv.h | |
parent | drm/i915/vgpu: improve vgpu abstractions (diff) | |
download | linux-aff9e6f2496fc9ee5b748d2a50c9520754767021.tar.xz linux-aff9e6f2496fc9ee5b748d2a50c9520754767021.zip |
drm/i915/gvt: make intel_gvt_active internal to intel_gvt
Nobody else uses it.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200227144408.24345-2-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 5936390dd2b7..62de83a3ab8f 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -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); |